1
---
2
name: create-technical-spike
3
description: 'Create time-boxed technical spike documents for researching and resolving critical development decisions before implementation.'
4
---
5
6
# Create Technical Spike Document
7
8
Create time-boxed technical spike documents for researching critical questions that must be answered before development can proceed. Each spike focuses on a specific technical decision with clear deliverables and timelines.
9
10
## Document Structure
11
12
Create individual files in `${input:FolderPath|docs/spikes}` directory. Name each file using the pattern: `[category]-[short-description]-spike.md` (e.g., `api-copilot-integration-spike.md`, `performance-realtime-audio-spike.md`).
13
14
```md
15
---
16
title: "${input:SpikeTitle}"
17
category: "${input:Category|Technical}"
18
status: "🔴 Not Started"
19
priority: "${input:Priority|High}"
20
timebox: "${input:Timebox|1 week}"
21
created: [YYYY-MM-DD]
22
updated: [YYYY-MM-DD]
23
owner: "${input:Owner}"
24
tags: ["technical-spike", "${input:Category|technical}", "research"]
25
---
26
27
# ${input:SpikeTitle}
28
29
## Summary
30
31
**Spike Objective:** [Clear, specific question or decision that needs resolution]
32
33
**Why This Matters:** [Impact on development/architecture decisions]
34
35
**Timebox:** [How much time allocated to this spike]
36
37
**Decision Deadline:** [When this must be resolved to avoid blocking development]
38
39
## Research Question(s)
40
41
**Primary Question:** [Main technical question that needs answering]
42
43
**Secondary Questions:**
44
45
- [Related question 1]
46
- [Related question 2]
47
- [Related question 3]
48
49
## Investigation Plan
50
51
### Research Tasks
52
53
- [ ] [Specific research task 1]
54
- [ ] [Specific research task 2]
55
- [ ] [Specific research task 3]
56
- [ ] [Create proof of concept/prototype]
57
- [ ] [Document findings and recommendations]
58
59
### Success Criteria
60
61
**This spike is complete when:**
62
63
- [ ] [Specific criteria 1]
64
- [ ] [Specific criteria 2]
65
- [ ] [Clear recommendation documented]
66
- [ ] [Proof of concept completed (if applicable)]
67
68
## Technical Context
69
70
**Related Components:** [List system components affected by this decision]
71
72
**Dependencies:** [What other spikes or decisions depend on resolving this]
73
74
**Constraints:** [Known limitations or requirements that affect the solution]
75
76
## Research Findings
77
78
### Investigation Results
79
80
[Document research findings, test results, and evidence gathered]
81
82
### Prototype/Testing Notes
83
84
[Results from any prototypes, spikes, or technical experiments]
85
86
### External Resources
87
88
- [Link to relevant documentation]
89
- [Link to API references]
90
- [Link to community discussions]
91
- [Link to examples/tutorials]
92
93
## Decision
94
95
### Recommendation
96
97
[Clear recommendation based on research findings]
98
99
### Rationale
100
101
[Why this approach was chosen over alternatives]
102
103
### Implementation Notes
104
105
[Key considerations for implementation]
106
107
### Follow-up Actions
108
109
- [ ] [Action item 1]
110
- [ ] [Action item 2]
111
- [ ] [Update architecture documents]
112
- [ ] [Create implementation tasks]
113
114
## Status History
115
116
| Date | Status | Notes |
117
| ------ | -------------- | -------------------------- |
118
| [Date] | 🔴 Not Started | Spike created and scoped |
119
| [Date] | 🟡 In Progress | Research commenced |
120
| [Date] | 🟢 Complete | [Resolution summary] |
121
122
---
123
124
_Last updated: [Date] by [Name]_
125
```
126
127
## Categories for Technical Spikes
128
129
### API Integration
130
131
- Third-party API capabilities and limitations
132
- Integration patterns and authentication
133
- Rate limits and performance characteristics
134
135
### Architecture & Design
136
137
- System architecture decisions
138
- Design pattern applicability
139
- Component interaction models
140
141
### Performance & Scalability
142
143
- Performance requirements and constraints
144
- Scalability bottlenecks and solutions
145
- Resource utilization patterns
146
147
### Platform & Infrastructure
148
149
- Platform capabilities and limitations
150
- Infrastructure requirements
151
- Deployment and hosting considerations
152
153
### Security & Compliance
154
155
- Security requirements and implementations
156
- Compliance constraints
157
- Authentication and authorization approaches
158
159
### User Experience
160
161
- User interaction patterns
162
- Accessibility requirements
163
- Interface design decisions
164
165
## File Naming Conventions
166
167
Use descriptive, kebab-case names that indicate the category and specific unknown:
168
169
**API/Integration Examples:**
170
171
- `api-copilot-chat-integration-spike.md`
172
- `api-azure-speech-realtime-spike.md`
173
- `api-vscode-extension-capabilities-spike.md`
174
175
**Performance Examples:**
176
177
- `performance-audio-processing-latency-spike.md`
178
- `performance-extension-host-limitations-spike.md`
179
- `performance-webrtc-reliability-spike.md`
180
181
**Architecture Examples:**
182
183
- `architecture-voice-pipeline-design-spike.md`
184
- `architecture-state-management-spike.md`
185
- `architecture-error-handling-strategy-spike.md`
186
187
## Best Practices for AI Agents
188
189
1. **One Question Per Spike:** Each document focuses on a single technical decision or research question
190
191
2. **Time-Boxed Research:** Define specific time limits and deliverables for each spike
192
193
3. **Evidence-Based Decisions:** Require concrete evidence (tests, prototypes, documentation) before marking as complete
194
195
4. **Clear Recommendations:** Document specific recommendations and rationale for implementation
196
197
5. **Dependency Tracking:** Identify how spikes relate to each other and impact project decisions
198
199
6. **Outcome-Focused:** Every spike must result in an actionable decision or recommendation
200
201
## Research Strategy
202
203
### Phase 1: Information Gathering
204
205
1. **Search existing documentation** using search/fetch tools
206
2. **Analyze codebase** for existing patterns and constraints
207
3. **Research external resources** (APIs, libraries, examples)
208
209
### Phase 2: Validation & Testing
210
211
1. **Create focused prototypes** to test specific hypotheses
212
2. **Run targeted experiments** to validate assumptions
213
3. **Document test results** with supporting evidence
214
215
### Phase 3: Decision & Documentation
216
217
1. **Synthesize findings** into clear recommendations
218
2. **Document implementation guidance** for development team
219
3. **Create follow-up tasks** for implementation
220
221
## Tools Usage
222
223
- **search/searchResults:** Research existing solutions and documentation
224
- **fetch/githubRepo:** Analyze external APIs, libraries, and examples
225
- **codebase:** Understand existing system constraints and patterns
226
- **runTasks:** Execute prototypes and validation tests
227
- **editFiles:** Update research progress and findings
228
- **vscodeAPI:** Test VS Code extension capabilities and limitations
229
230
Focus on time-boxed research that resolves critical technical decisions and unblocks development progress.
231