tech-spike
技術検証(Tech Spike)ワークフロー。ライブラリ選定やアーキテクチャ判断の前に最小限の実験コードで技術的妥当性を検証。使用タイミング:(1) 複数の技術選択肢がある場合(ライブラリA vs B)(2) 新しいライブラリ・技術の学習コストが高い場合(3) パフォーマンス・互換性の懸念がある場合(4) 既存システムとの統合リスクがある場合(5) 「技術検証」「ライブラリ調査」「スパイク」リクエスト使用しない場合: 技術スタック確定済み、既知のパターン、単純なCRUD操作
When & Why to Use This Skill
This Claude skill automates the 'Tech Spike' workflow, enabling developers to validate technical feasibility through minimal experimental code and documentation research. It streamlines architectural decision-making by providing evidence-based comparisons of libraries and frameworks while identifying potential integration risks early in the development cycle.
Use Cases
- Comparing multiple technical options: Evaluating competing libraries or frameworks (e.g., Library A vs. B) to determine the best fit for specific project requirements.
- Risk mitigation for new technologies: Testing high-learning-curve or experimental tools to assess performance, compatibility, and integration hurdles before full-scale implementation.
- Architectural validation: Creating minimal proof-of-concept code to verify if a proposed design can successfully integrate with existing legacy systems.
- Documentation-driven research: Leveraging specialized tools like Context7 to query library documentation and extract best practices for specific implementation patterns.
- Performance and compatibility checks: Running targeted experiments to identify potential bottlenecks or version conflicts in a proposed tech stack.
| name | tech-spike |
|---|---|
| description | | |
| 使用しない場合 | 技術スタック確定済み、既知のパターン、単純なCRUD操作 |
| allowed-tools | Read, WebSearch, WebFetch, mcp__plugin_context7_context7__resolve-library-id, mcp__plugin_context7_context7__query-docs, Bash(git:*), Bash(mkdir:*) |
技術検証(Tech Spike)
目的
設計判断の前に最小限の実験コードで技術的妥当性を検証し、設計精度を向上させます。
いつ実行するか
以下のいずれかに該当する場合、技術検証を実行します:
- 複数の技術選択肢がある(例: ライブラリA vs B)
- 新しいライブラリ・技術の学習コストが高い
- パフォーマンス・互換性の懸念がある
- 設計判断に実験的検証が必要
- 既存システムとの統合リスクがある
いつスキップするか
- 技術スタックが確定している
- 既知のパターンで実装可能
- 単純なCRUD操作のみ
- リスクが低く、後戻りコストが小さい
ワークフロー
Context7統合
ライブラリ調査にContext7を使用:
# Step 1: ライブラリIDを解決
# MCPツール: mcp__plugin_context7_context7__resolve-library-id
# - libraryName: "Next.js"
# - query: "Server Componentsのデータフェッチパターン"
# Step 2: ドキュメント検索
# MCPツール: mcp__plugin_context7_context7__query-docs
# - libraryId: "/vercel/next.js"
# - query: "Server Components data fetching patterns"
成果物
spike/results.md- 検証結果と推奨技術spike/experiment-*.py- 実験コード(オプション)
テンプレート
- results.md: templates/results-template.md