@totaland/create-starter-kit 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/README.md +27 -3
  2. package/bin/index.js +88 -30
  3. package/package.json +1 -1
  4. package/templates/backend/.github/agents/ /360/237/216/255 planner.agent.md" +0 -92
  5. package/templates/backend/.github/agents/api-architect.agent.md +0 -41
  6. package/templates/backend/.github/agents/code-reviewer.agent.md +0 -26
  7. package/templates/backend/.github/agents/code-simplifier.agent.md +0 -41
  8. package/templates/backend/.github/agents/code-skeptic.agent.md +0 -74
  9. package/templates/backend/.github/agents/docs-specialist.agent.md +0 -25
  10. package/templates/backend/.github/agents/implementation-plan.agent.md +0 -160
  11. package/templates/backend/.github/agents/janitor.agent.md +0 -90
  12. package/templates/backend/.github/agents/ms-sql-dba.agent.md +0 -25
  13. package/templates/backend/.github/agents/plan.agent.md +0 -115
  14. package/templates/backend/.github/agents/planner.agent.md +0 -15
  15. package/templates/backend/.github/agents/playwright-tester.agent.md +0 -13
  16. package/templates/backend/.github/agents/postgresql-dba.agent.md +0 -18
  17. package/templates/backend/.github/agents/prd.agent.md +0 -202
  18. package/templates/backend/.github/agents/research-technical-spike.agent.md +0 -170
  19. package/templates/backend/.github/agents/software-engineer-agent-v1.agent.md +0 -165
  20. package/templates/backend/.github/agents/task-planner.agent.md +0 -375
  21. package/templates/backend/.github/agents/task-researcher.agent.md +0 -255
  22. package/templates/backend/.github/agents/tdd-green.agent.md +0 -60
  23. package/templates/backend/.github/agents/tdd-red.agent.md +0 -60
  24. package/templates/backend/.github/agents/tdd-refactor.agent.md +0 -85
  25. package/templates/backend/.github/agents/tech-debt-remediation-plan.agent.md +0 -50
  26. package/templates/backend/.github/agents/typescript-mcp-expert.agent.md +0 -91
  27. package/templates/backend/.github/agents/ultimate-thinking-beastmode.agent.md +0 -644
  28. package/templates/backend/.github/agents//360/237/216/255 generator.agent.md" +0 -264
  29. package/templates/backend/.github/agents//360/237/216/255 healer.agent.md" +0 -44
  30. package/templates/backend/.github/agents//360/237/216/255 pom.agent.md" +0 -308
  31. package/templates/backend/.github/instructions/a11y.instructions.md +0 -369
  32. package/templates/backend/.github/instructions/ms-sql-dba.instructions.md +0 -25
  33. package/templates/backend/.github/instructions/object-calisthenics.instructions.md +0 -302
  34. package/templates/backend/.github/instructions/performance-optimization.instructions.md +0 -420
  35. package/templates/backend/.github/instructions/playwright-python.instructions.md +0 -62
  36. package/templates/backend/.github/instructions/playwright-typescript.instructions.md +0 -86
  37. package/templates/backend/.github/instructions/security-and-owasp.instructions.md +0 -51
  38. package/templates/backend/.github/instructions/self-explanatory-code-commenting.instructions.md +0 -162
  39. package/templates/backend/.github/instructions/spec-driven-workflow-v1.instructions.md +0 -323
  40. package/templates/backend/.github/instructions/sql-sp-generation.instructions.md +0 -74
  41. package/templates/backend/.github/instructions/task-implementation.instructions.md +0 -190
  42. package/templates/backend/.github/instructions/typescript-mcp-server.instructions.md +0 -228
  43. package/templates/backend/.github/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -229
  44. package/templates/backend/.github/prompts/architecture-blueprint-generator.prompt.md +0 -321
  45. package/templates/backend/.github/prompts/breakdown-epic-arch.prompt.md +0 -65
  46. package/templates/backend/.github/prompts/breakdown-epic-pm.prompt.md +0 -57
  47. package/templates/backend/.github/prompts/breakdown-feature-implementation.prompt.md +0 -127
  48. package/templates/backend/.github/prompts/breakdown-feature-prd.prompt.md +0 -60
  49. package/templates/backend/.github/prompts/breakdown-plan.prompt.md +0 -508
  50. package/templates/backend/.github/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -293
  51. package/templates/backend/.github/prompts/create-agentsmd.prompt.md +0 -248
  52. package/templates/backend/.github/prompts/create-github-issue-feature-from-specification.prompt.md +0 -27
  53. package/templates/backend/.github/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -27
  54. package/templates/backend/.github/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
  55. package/templates/backend/.github/prompts/create-implementation-plan.prompt.md +0 -156
  56. package/templates/backend/.github/prompts/create-llms.prompt.md +0 -209
  57. package/templates/backend/.github/prompts/create-specification.prompt.md +0 -126
  58. package/templates/backend/.github/prompts/create-technical-spike.prompt.md +0 -230
  59. package/templates/backend/.github/prompts/csharp-nunit.prompt.md +0 -71
  60. package/templates/backend/.github/prompts/ef-core.prompt.md +0 -76
  61. package/templates/backend/.github/prompts/folder-structure-blueprint-generator.prompt.md +0 -404
  62. package/templates/backend/.github/prompts/gen-specs-as-issues.prompt.md +0 -165
  63. package/templates/backend/.github/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -239
  64. package/templates/backend/.github/prompts/java-junit.prompt.md +0 -64
  65. package/templates/backend/.github/prompts/memory-merger.prompt.md +0 -107
  66. package/templates/backend/.github/prompts/multi-stage-dockerfile.prompt.md +0 -46
  67. package/templates/backend/.github/prompts/playwright-automation-fill-in-form.prompt.md +0 -29
  68. package/templates/backend/.github/prompts/playwright-explore-website.prompt.md +0 -19
  69. package/templates/backend/.github/prompts/playwright-generate-test.prompt.md +0 -19
  70. package/templates/backend/.github/prompts/postgresql-code-review.prompt.md +0 -214
  71. package/templates/backend/.github/prompts/postgresql-optimization.prompt.md +0 -406
  72. package/templates/backend/.github/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
  73. package/templates/backend/.github/prompts/prompt-builder.prompt.md +0 -142
  74. package/templates/backend/.github/prompts/remember.prompt.md +0 -125
  75. package/templates/backend/.github/prompts/review-and-refactor.prompt.md +0 -15
  76. package/templates/backend/.github/prompts/sql-code-review.prompt.md +0 -303
  77. package/templates/backend/.github/prompts/sql-optimization.prompt.md +0 -298
  78. package/templates/backend/.github/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
  79. package/templates/backend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
  80. package/templates/backend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
  81. package/templates/backend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
  82. package/templates/backend/.github/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
  83. package/templates/backend/.github/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
  84. package/templates/backend/.github/prompts/typescript-mcp-server-generator.prompt.md +0 -90
  85. package/templates/backend/.github/prompts/update-implementation-plan.prompt.md +0 -157
  86. package/templates/backend/.github/prompts/update-markdown-file-index.prompt.md +0 -76
  87. package/templates/backend/Project_Folders_Structure_Blueprint.md +0 -529
  88. package/templates/backend/README.md +0 -99
  89. package/templates/backend/biome.json +0 -45
  90. package/templates/backend/drizzle.config.ts +0 -10
  91. package/templates/backend/knip.json +0 -10
  92. package/templates/backend/package.json +0 -60
  93. package/templates/backend/playwright.config.ts +0 -16
  94. package/templates/backend/pnpm-lock.yaml +0 -4240
  95. package/templates/backend/pnpm-workspace.yaml +0 -3
  96. package/templates/backend/src/features/health/controller.ts +0 -5
  97. package/templates/backend/src/features/health/health.test.ts +0 -23
  98. package/templates/backend/src/features/health/index.ts +0 -7
  99. package/templates/backend/src/features/health/schemas.ts +0 -29
  100. package/templates/backend/src/features/orders/controller.ts +0 -18
  101. package/templates/backend/src/features/orders/index.ts +0 -10
  102. package/templates/backend/src/features/orders/schemas.ts +0 -62
  103. package/templates/backend/src/index.ts +0 -43
  104. package/templates/backend/src/lib/openapi.ts +0 -25
  105. package/templates/backend/src/lib/validateRequest.test.ts +0 -84
  106. package/templates/backend/src/lib/validateRequest.ts +0 -72
  107. package/templates/backend/tsconfig.build.json +0 -10
  108. package/templates/backend/tsconfig.json +0 -30
  109. package/templates/backend/vitest.config.ts +0 -31
  110. package/templates/frontend/.env.example +0 -7
  111. package/templates/frontend/.github/agents/ /360/237/216/255 planner.agent.md" +0 -92
  112. package/templates/frontend/.github/agents/api-architect.agent.md +0 -41
  113. package/templates/frontend/.github/agents/code-reviewer.agent.md +0 -26
  114. package/templates/frontend/.github/agents/code-simplifier.agent.md +0 -41
  115. package/templates/frontend/.github/agents/code-skeptic.agent.md +0 -74
  116. package/templates/frontend/.github/agents/docs-specialist.agent.md +0 -25
  117. package/templates/frontend/.github/agents/implementation-plan.agent.md +0 -160
  118. package/templates/frontend/.github/agents/janitor.agent.md +0 -90
  119. package/templates/frontend/.github/agents/ms-sql-dba.agent.md +0 -25
  120. package/templates/frontend/.github/agents/plan.agent.md +0 -115
  121. package/templates/frontend/.github/agents/planner.agent.md +0 -15
  122. package/templates/frontend/.github/agents/playwright-tester.agent.md +0 -13
  123. package/templates/frontend/.github/agents/postgresql-dba.agent.md +0 -18
  124. package/templates/frontend/.github/agents/prd.agent.md +0 -202
  125. package/templates/frontend/.github/agents/research-technical-spike.agent.md +0 -170
  126. package/templates/frontend/.github/agents/software-engineer-agent-v1.agent.md +0 -165
  127. package/templates/frontend/.github/agents/task-planner.agent.md +0 -375
  128. package/templates/frontend/.github/agents/task-researcher.agent.md +0 -255
  129. package/templates/frontend/.github/agents/tdd-green.agent.md +0 -60
  130. package/templates/frontend/.github/agents/tdd-red.agent.md +0 -60
  131. package/templates/frontend/.github/agents/tdd-refactor.agent.md +0 -85
  132. package/templates/frontend/.github/agents/tech-debt-remediation-plan.agent.md +0 -50
  133. package/templates/frontend/.github/agents/typescript-mcp-expert.agent.md +0 -91
  134. package/templates/frontend/.github/agents/ultimate-thinking-beastmode.agent.md +0 -644
  135. package/templates/frontend/.github/agents//360/237/216/255 generator.agent.md" +0 -264
  136. package/templates/frontend/.github/agents//360/237/216/255 healer.agent.md" +0 -44
  137. package/templates/frontend/.github/agents//360/237/216/255 pom.agent.md" +0 -308
  138. package/templates/frontend/.github/instructions/a11y.instructions.md +0 -369
  139. package/templates/frontend/.github/instructions/ms-sql-dba.instructions.md +0 -25
  140. package/templates/frontend/.github/instructions/object-calisthenics.instructions.md +0 -302
  141. package/templates/frontend/.github/instructions/performance-optimization.instructions.md +0 -420
  142. package/templates/frontend/.github/instructions/playwright-python.instructions.md +0 -62
  143. package/templates/frontend/.github/instructions/playwright-typescript.instructions.md +0 -86
  144. package/templates/frontend/.github/instructions/security-and-owasp.instructions.md +0 -51
  145. package/templates/frontend/.github/instructions/self-explanatory-code-commenting.instructions.md +0 -162
  146. package/templates/frontend/.github/instructions/spec-driven-workflow-v1.instructions.md +0 -323
  147. package/templates/frontend/.github/instructions/sql-sp-generation.instructions.md +0 -74
  148. package/templates/frontend/.github/instructions/task-implementation.instructions.md +0 -190
  149. package/templates/frontend/.github/instructions/typescript-mcp-server.instructions.md +0 -228
  150. package/templates/frontend/.github/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -229
  151. package/templates/frontend/.github/prompts/architecture-blueprint-generator.prompt.md +0 -321
  152. package/templates/frontend/.github/prompts/breakdown-epic-arch.prompt.md +0 -65
  153. package/templates/frontend/.github/prompts/breakdown-epic-pm.prompt.md +0 -57
  154. package/templates/frontend/.github/prompts/breakdown-feature-implementation.prompt.md +0 -127
  155. package/templates/frontend/.github/prompts/breakdown-feature-prd.prompt.md +0 -60
  156. package/templates/frontend/.github/prompts/breakdown-plan.prompt.md +0 -508
  157. package/templates/frontend/.github/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -293
  158. package/templates/frontend/.github/prompts/create-agentsmd.prompt.md +0 -248
  159. package/templates/frontend/.github/prompts/create-github-issue-feature-from-specification.prompt.md +0 -27
  160. package/templates/frontend/.github/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -27
  161. package/templates/frontend/.github/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
  162. package/templates/frontend/.github/prompts/create-implementation-plan.prompt.md +0 -156
  163. package/templates/frontend/.github/prompts/create-llms.prompt.md +0 -209
  164. package/templates/frontend/.github/prompts/create-specification.prompt.md +0 -126
  165. package/templates/frontend/.github/prompts/create-technical-spike.prompt.md +0 -230
  166. package/templates/frontend/.github/prompts/csharp-nunit.prompt.md +0 -71
  167. package/templates/frontend/.github/prompts/ef-core.prompt.md +0 -76
  168. package/templates/frontend/.github/prompts/folder-structure-blueprint-generator.prompt.md +0 -404
  169. package/templates/frontend/.github/prompts/gen-specs-as-issues.prompt.md +0 -165
  170. package/templates/frontend/.github/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -239
  171. package/templates/frontend/.github/prompts/java-junit.prompt.md +0 -64
  172. package/templates/frontend/.github/prompts/memory-merger.prompt.md +0 -107
  173. package/templates/frontend/.github/prompts/multi-stage-dockerfile.prompt.md +0 -46
  174. package/templates/frontend/.github/prompts/playwright-automation-fill-in-form.prompt.md +0 -29
  175. package/templates/frontend/.github/prompts/playwright-explore-website.prompt.md +0 -19
  176. package/templates/frontend/.github/prompts/playwright-generate-test.prompt.md +0 -19
  177. package/templates/frontend/.github/prompts/postgresql-code-review.prompt.md +0 -214
  178. package/templates/frontend/.github/prompts/postgresql-optimization.prompt.md +0 -406
  179. package/templates/frontend/.github/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
  180. package/templates/frontend/.github/prompts/prompt-builder.prompt.md +0 -142
  181. package/templates/frontend/.github/prompts/remember.prompt.md +0 -125
  182. package/templates/frontend/.github/prompts/review-and-refactor.prompt.md +0 -15
  183. package/templates/frontend/.github/prompts/sql-code-review.prompt.md +0 -303
  184. package/templates/frontend/.github/prompts/sql-optimization.prompt.md +0 -298
  185. package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
  186. package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
  187. package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
  188. package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
  189. package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
  190. package/templates/frontend/.github/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
  191. package/templates/frontend/.github/prompts/typescript-mcp-server-generator.prompt.md +0 -90
  192. package/templates/frontend/.github/prompts/update-implementation-plan.prompt.md +0 -157
  193. package/templates/frontend/.github/prompts/update-markdown-file-index.prompt.md +0 -76
  194. package/templates/frontend/README.md +0 -199
  195. package/templates/frontend/biome.json +0 -45
  196. package/templates/frontend/components.json +0 -22
  197. package/templates/frontend/index.html +0 -13
  198. package/templates/frontend/package.json +0 -44
  199. package/templates/frontend/pnpm-lock.yaml +0 -2011
  200. package/templates/frontend/postcss.config.js +0 -6
  201. package/templates/frontend/public/vite.svg +0 -1
  202. package/templates/frontend/src/App.css +0 -42
  203. package/templates/frontend/src/App.tsx +0 -17
  204. package/templates/frontend/src/assets/react.svg +0 -1
  205. package/templates/frontend/src/components/layout/layout.component.tsx +0 -31
  206. package/templates/frontend/src/components/menu-toggle-icon.tsx +0 -53
  207. package/templates/frontend/src/components/ui/button.tsx +0 -57
  208. package/templates/frontend/src/docs/RECOMMENDED_LIBRARIES.md +0 -226
  209. package/templates/frontend/src/docs/SETUP_SUMMARY.md +0 -162
  210. package/templates/frontend/src/hooks/use-scroll.ts +0 -21
  211. package/templates/frontend/src/index.css +0 -121
  212. package/templates/frontend/src/lib/api-client.ts +0 -46
  213. package/templates/frontend/src/lib/utils.ts +0 -6
  214. package/templates/frontend/src/main.tsx +0 -30
  215. package/templates/frontend/src/pages/about/about.page.tsx +0 -50
  216. package/templates/frontend/src/pages/home/home.page.tsx +0 -43
  217. package/templates/frontend/tailwind.config.js +0 -59
  218. package/templates/frontend/tsconfig.app.json +0 -41
  219. package/templates/frontend/tsconfig.json +0 -13
  220. package/templates/frontend/tsconfig.node.json +0 -26
  221. package/templates/frontend/vite.config.ts +0 -14
@@ -1,230 +0,0 @@
1
- ---
2
- description: 'Create time-boxed technical spike documents for researching and resolving critical development decisions before implementation.'
3
- tools: ['runCommands', 'runTasks', 'edit', 'search', 'extensions', 'usages', 'vscodeAPI', 'think', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'Microsoft Docs', 'search']
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.
@@ -1,71 +0,0 @@
1
- ---
2
- tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems', 'search']
3
- description: 'Get best practices for NUnit unit testing, including data-driven tests'
4
- ---
5
-
6
- # NUnit Best Practices
7
-
8
- Your goal is to help me write effective unit tests with NUnit, covering both standard and data-driven testing approaches.
9
-
10
- ## Project Setup
11
-
12
- - Use a separate test project with naming convention `[ProjectName].Tests`
13
- - Reference Microsoft.NET.Test.Sdk, NUnit, and NUnit3TestAdapter packages
14
- - Create test classes that match the classes being tested (e.g., `CalculatorTests` for `Calculator`)
15
- - Use .NET SDK test commands: `dotnet test` for running tests
16
-
17
- ## Test Structure
18
-
19
- - Apply `[TestFixture]` attribute to test classes
20
- - Use `[Test]` attribute for test methods
21
- - Follow the Arrange-Act-Assert (AAA) pattern
22
- - Name tests using the pattern `MethodName_Scenario_ExpectedBehavior`
23
- - Use `[SetUp]` and `[TearDown]` for per-test setup and teardown
24
- - Use `[OneTimeSetUp]` and `[OneTimeTearDown]` for per-class setup and teardown
25
- - Use `[SetUpFixture]` for assembly-level setup and teardown
26
-
27
- ## Standard Tests
28
-
29
- - Keep tests focused on a single behavior
30
- - Avoid testing multiple behaviors in one test method
31
- - Use clear assertions that express intent
32
- - Include only the assertions needed to verify the test case
33
- - Make tests independent and idempotent (can run in any order)
34
- - Avoid test interdependencies
35
-
36
- ## Data-Driven Tests
37
-
38
- - Use `[TestCase]` for inline test data
39
- - Use `[TestCaseSource]` for programmatically generated test data
40
- - Use `[Values]` for simple parameter combinations
41
- - Use `[ValueSource]` for property or method-based data sources
42
- - Use `[Random]` for random numeric test values
43
- - Use `[Range]` for sequential numeric test values
44
- - Use `[Combinatorial]` or `[Pairwise]` for combining multiple parameters
45
-
46
- ## Assertions
47
-
48
- - Use `Assert.That` with constraint model (preferred NUnit style)
49
- - Use constraints like `Is.EqualTo`, `Is.SameAs`, `Contains.Item`
50
- - Use `Assert.AreEqual` for simple value equality (classic style)
51
- - Use `CollectionAssert` for collection comparisons
52
- - Use `StringAssert` for string-specific assertions
53
- - Use `Assert.Throws<T>` or `Assert.ThrowsAsync<T>` to test exceptions
54
- - Use descriptive messages in assertions for clarity on failure
55
-
56
- ## Mocking and Isolation
57
-
58
- - Consider using Moq or NSubstitute alongside NUnit
59
- - Mock dependencies to isolate units under test
60
- - Use interfaces to facilitate mocking
61
- - Consider using a DI container for complex test setups
62
-
63
- ## Test Organization
64
-
65
- - Group tests by feature or component
66
- - Use categories with `[Category("CategoryName")]`
67
- - Use `[Order]` to control test execution order when necessary
68
- - Use `[Author("DeveloperName")]` to indicate ownership
69
- - Use `[Description]` to provide additional test information
70
- - Consider `[Explicit]` for tests that shouldn't run automatically
71
- - Use `[Ignore("Reason")]` to temporarily skip tests
@@ -1,76 +0,0 @@
1
- ---
2
- mode: 'agent'
3
- tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems', 'runCommands']
4
- description: 'Get best practices for Entity Framework Core'
5
- ---
6
-
7
- # Entity Framework Core Best Practices
8
-
9
- Your goal is to help me follow best practices when working with Entity Framework Core.
10
-
11
- ## Data Context Design
12
-
13
- - Keep DbContext classes focused and cohesive
14
- - Use constructor injection for configuration options
15
- - Override OnModelCreating for fluent API configuration
16
- - Separate entity configurations using IEntityTypeConfiguration
17
- - Consider using DbContextFactory pattern for console apps or tests
18
-
19
- ## Entity Design
20
-
21
- - Use meaningful primary keys (consider natural vs surrogate keys)
22
- - Implement proper relationships (one-to-one, one-to-many, many-to-many)
23
- - Use data annotations or fluent API for constraints and validations
24
- - Implement appropriate navigational properties
25
- - Consider using owned entity types for value objects
26
-
27
- ## Performance
28
-
29
- - Use AsNoTracking() for read-only queries
30
- - Implement pagination for large result sets with Skip() and Take()
31
- - Use Include() to eager load related entities when needed
32
- - Consider projection (Select) to retrieve only required fields
33
- - Use compiled queries for frequently executed queries
34
- - Avoid N+1 query problems by properly including related data
35
-
36
- ## Migrations
37
-
38
- - Create small, focused migrations
39
- - Name migrations descriptively
40
- - Verify migration SQL scripts before applying to production
41
- - Consider using migration bundles for deployment
42
- - Add data seeding through migrations when appropriate
43
-
44
- ## Querying
45
-
46
- - Use IQueryable judiciously and understand when queries execute
47
- - Prefer strongly-typed LINQ queries over raw SQL
48
- - Use appropriate query operators (Where, OrderBy, GroupBy)
49
- - Consider database functions for complex operations
50
- - Implement specifications pattern for reusable queries
51
-
52
- ## Change Tracking & Saving
53
-
54
- - Use appropriate change tracking strategies
55
- - Batch your SaveChanges() calls
56
- - Implement concurrency control for multi-user scenarios
57
- - Consider using transactions for multiple operations
58
- - Use appropriate DbContext lifetimes (scoped for web apps)
59
-
60
- ## Security
61
-
62
- - Avoid SQL injection by using parameterized queries
63
- - Implement appropriate data access permissions
64
- - Be careful with raw SQL queries
65
- - Consider data encryption for sensitive information
66
- - Use migrations to manage database user permissions
67
-
68
- ## Testing
69
-
70
- - Use in-memory database provider for unit tests
71
- - Create separate testing contexts with SQLite for integration tests
72
- - Mock DbContext and DbSet for pure unit tests
73
- - Test migrations in isolated environments
74
- - Consider snapshot testing for model changes
75
-
76
- When reviewing my EF Core code, identify issues and suggest improvements that follow these best practices.