@mohammadhprp/system-prompt 0.12.2 → 0.12.4
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.
- package/framework/commands/README.md +1 -1
- package/framework/commands/review.md +1 -1
- package/framework/mcps/README.md +0 -1
- package/framework/plugins/ponytail/README.md +0 -1
- package/framework/plugins/ponytail/capabilities.md +1 -1
- package/framework/references/standards/api.md +0 -1
- package/framework/references/standards/architecture.md +0 -1
- package/framework/references/standards/database.md +0 -1
- package/framework/references/standards/debugging.md +0 -1
- package/framework/references/standards/documentation.md +0 -1
- package/framework/references/standards/logging.md +0 -1
- package/framework/references/standards/naming.md +0 -1
- package/framework/references/standards/observability.md +0 -1
- package/framework/references/standards/performance.md +0 -1
- package/framework/references/standards/pull-requests.md +0 -1
- package/framework/references/standards/security.md +0 -1
- package/framework/references/standards/testing.md +0 -1
- package/framework/skills/README.md +16 -12
- package/framework/skills/architect/SKILL.md +83 -0
- package/framework/skills/architect/examples.md +5 -0
- package/framework/skills/architect/references/design-red-flags.md +33 -0
- package/framework/skills/architect/references/rationale-template.md +35 -0
- package/framework/skills/architect/references/runner-prompt.md +20 -0
- package/framework/skills/arena/SKILL.md +71 -0
- package/framework/skills/arena/examples.md +5 -0
- package/framework/skills/bro/SKILL.md +7 -0
- package/framework/skills/bro/examples.md +5 -0
- package/framework/skills/changelog/SKILL.md +41 -0
- package/framework/skills/changelog/examples.md +5 -0
- package/framework/skills/commit/SKILL.md +28 -0
- package/framework/skills/commit/examples.md +5 -0
- package/framework/skills/how/SKILL.md +135 -0
- package/framework/skills/how/examples.md +5 -0
- package/framework/skills/how/references/critic-prompt.md +59 -0
- package/framework/skills/how/references/critique-rubric.md +58 -0
- package/framework/skills/how/references/explainer-prompt.md +55 -0
- package/framework/skills/how/references/explorer-prompt.md +52 -0
- package/framework/skills/improve/SKILL.md +1 -3
- package/framework/skills/improve/examples.md +1 -1
- package/framework/skills/laravel-best-practices/SKILL.md +56 -216
- package/framework/skills/laravel-best-practices/references/architecture.md +1 -1
- package/framework/skills/laravel-best-practices/references/checklist.md +139 -0
- package/framework/skills/laravel-best-practices/references/eloquent.md +4 -2
- package/framework/skills/laravel-best-practices/references/infer-conventions.md +97 -0
- package/framework/skills/laravel-best-practices/references/pest-testing.md +47 -18
- package/framework/skills/laravel-best-practices/references/security.md +1 -1
- package/framework/skills/laravel-best-practices/references/style.md +1 -1
- package/framework/skills/laravel-best-practices/references/tailwindcss.md +0 -1
- package/framework/skills/merge-request/SKILL.md +40 -0
- package/framework/skills/merge-request/examples.md +5 -0
- package/framework/skills/pull-request/SKILL.md +31 -0
- package/framework/skills/pull-request/examples.md +5 -0
- package/framework/skills/release/SKILL.md +30 -0
- package/framework/skills/release/examples.md +5 -0
- package/framework/skills/review/SKILL.md +18 -0
- package/framework/skills/review/examples.md +5 -0
- package/framework/skills/tdd/SKILL.md +44 -0
- package/framework/skills/tdd/examples.md +5 -0
- package/framework/skills/unslop/SKILL.md +81 -0
- package/framework/skills/unslop/examples.md +5 -0
- package/framework/skills/why/SKILL.md +230 -0
- package/framework/skills/why/examples.md +5 -0
- package/framework/skills/why/references/epistemics.md +144 -0
- package/framework/skills/why/references/investigator-prompt.md +103 -0
- package/framework/skills/why/references/source-playbook.md +17 -0
- package/framework/skills/why/references/sources/code-archaeology.md +88 -0
- package/framework/skills/why/references/sources/databricks.md +70 -0
- package/framework/skills/why/references/sources/datadog.md +99 -0
- package/framework/skills/why/references/sources/incident-postmortem.md +15 -0
- package/framework/skills/why/references/sources/linear.md +48 -0
- package/framework/skills/why/references/sources/notion.md +55 -0
- package/framework/skills/why/references/sources/sentry.md +100 -0
- package/framework/skills/why/references/sources/slack.md +54 -0
- package/framework/skills/why/references/synthesizer-prompt.md +135 -0
- package/package.json +1 -1
- package/src/catalog.js +13 -12
- package/framework/mcps/notion-mcp/README.md +0 -57
- package/framework/mcps/notion-mcp/capabilities.md +0 -118
- package/framework/mcps/notion-mcp/configs/opencode.json +0 -9
- package/framework/mcps/notion-mcp/install.md +0 -70
- package/framework/mcps/notion-mcp/troubleshooting.md +0 -95
- package/framework/skills/brainstorming/SKILL.md +0 -159
- package/framework/skills/brainstorming/examples.md +0 -49
- package/framework/skills/brainstorming/scripts/frame-template.html +0 -213
- package/framework/skills/brainstorming/scripts/helper.js +0 -167
- package/framework/skills/brainstorming/scripts/server.cjs +0 -723
- package/framework/skills/brainstorming/scripts/start-server.sh +0 -209
- package/framework/skills/brainstorming/scripts/stop-server.sh +0 -120
- package/framework/skills/brainstorming/visual-companion.md +0 -291
- package/framework/skills/code-review/SKILL.md +0 -72
- package/framework/skills/code-review/examples.md +0 -31
- package/framework/skills/codenavi/SKILL.md +0 -306
- package/framework/skills/codenavi/examples.md +0 -33
- package/framework/skills/codenavi/references/coding-principles.md +0 -143
- package/framework/skills/codenavi/references/notebook-spec.md +0 -171
- package/framework/skills/create-adr/SKILL.md +0 -429
- package/framework/skills/create-adr/examples.md +0 -35
- package/framework/skills/design/SKILL.md +0 -399
- package/framework/skills/design/examples.md +0 -34
- package/framework/skills/great-interface/SKILL.md +0 -43
- package/framework/skills/great-interface/references/animations.md +0 -205
- package/framework/skills/great-interface/references/better-accessibility.md +0 -106
- package/framework/skills/great-interface/references/better-colors.md +0 -100
- package/framework/skills/great-interface/references/better-interface.md +0 -132
- package/framework/skills/great-interface/references/better-layout.md +0 -76
- package/framework/skills/great-interface/references/better-typography.md +0 -157
- package/framework/skills/great-interface/references/better-ui.md +0 -107
- package/framework/skills/great-interface/references/better-writing.md +0 -109
- package/framework/skills/great-interface/references/choosing-fonts.md +0 -64
- package/framework/skills/great-interface/references/color-formats.md +0 -90
- package/framework/skills/great-interface/references/color-usage.md +0 -118
- package/framework/skills/great-interface/references/contrast.md +0 -79
- package/framework/skills/great-interface/references/css-cheat-sheet.md +0 -65
- package/framework/skills/great-interface/references/details-and-accessibility.md +0 -119
- package/framework/skills/great-interface/references/enter-exit.md +0 -147
- package/framework/skills/great-interface/references/explain-interface.md +0 -126
- package/framework/skills/great-interface/references/find-the-effect.md +0 -94
- package/framework/skills/great-interface/references/focus-and-keyboard.md +0 -131
- package/framework/skills/great-interface/references/forms.md +0 -84
- package/framework/skills/great-interface/references/from-an-image.md +0 -55
- package/framework/skills/great-interface/references/grouping-and-alignment.md +0 -123
- package/framework/skills/great-interface/references/hit-areas.md +0 -94
- package/framework/skills/great-interface/references/icon-transitions.md +0 -102
- package/framework/skills/great-interface/references/icons.md +0 -110
- package/framework/skills/great-interface/references/interface-review.md +0 -148
- package/framework/skills/great-interface/references/motion-and-zoom.md +0 -79
- package/framework/skills/great-interface/references/no-browser.md +0 -73
- package/framework/skills/great-interface/references/palette-generation.md +0 -104
- package/framework/skills/great-interface/references/palette-structure.md +0 -76
- package/framework/skills/great-interface/references/performance.md +0 -88
- package/framework/skills/great-interface/references/picker.md +0 -76
- package/framework/skills/great-interface/references/read-the-system.md +0 -178
- package/framework/skills/great-interface/references/removed-signals.md +0 -38
- package/framework/skills/great-interface/references/review-format.md +0 -46
- package/framework/skills/great-interface/references/scope-resolution.md +0 -88
- package/framework/skills/great-interface/references/screen-readers.md +0 -101
- package/framework/skills/great-interface/references/semantics-and-aria.md +0 -84
- package/framework/skills/great-interface/references/spacing-and-adaptivity.md +0 -159
- package/framework/skills/great-interface/references/spacing-and-sizing.md +0 -121
- package/framework/skills/great-interface/references/surfaces.md +0 -219
- package/framework/skills/great-interface/references/token-naming.md +0 -97
- package/framework/skills/great-interface/references/variable-fonts-and-opentype.md +0 -105
- package/framework/skills/great-interface/references/variant.md +0 -104
- package/framework/skills/great-interface/references/wrapping-and-punctuation.md +0 -55
- package/framework/skills/learning-opportunities/SKILL.md +0 -140
- package/framework/skills/learning-opportunities/examples.md +0 -34
- package/framework/skills/learning-opportunities/references/PRINCIPLES.md +0 -42
- package/framework/skills/notion-mcp/SKILL.md +0 -57
- package/framework/skills/notion-mcp/examples.md +0 -31
- package/framework/skills/notion-mcp/references/comments.md +0 -112
- package/framework/skills/notion-mcp/references/databases.md +0 -193
- package/framework/skills/notion-mcp/references/pages.md +0 -235
- package/framework/skills/spec-driven-eval/SKILL.md +0 -341
- package/framework/skills/spec-driven-eval/examples.md +0 -35
- package/framework/skills/spec-driven-eval/references/quickstart.md +0 -118
- package/framework/skills/spec-driven-eval/references/reference.md +0 -295
- package/framework/skills/technical-design-doc-creator/README.md +0 -411
- package/framework/skills/technical-design-doc-creator/SKILL.md +0 -1484
- package/framework/skills/technical-design-doc-creator/examples.md +0 -35
- package/framework/skills/web-design-guidelines/SKILL.md +0 -65
- package/framework/skills/web-design-guidelines/examples.md +0 -32
- package/framework/skills/web-design-guidelines/references/guideline.md +0 -174
|
@@ -1,411 +0,0 @@
|
|
|
1
|
-
# Technical Design Doc Creator
|
|
2
|
-
|
|
3
|
-
A skill for AI coding agents that helps create comprehensive Technical Design Documents (TDDs) following industry standards.
|
|
4
|
-
|
|
5
|
-
## What It Does
|
|
6
|
-
|
|
7
|
-
This skill guides AI agents to create well-structured Technical Design Documents that include:
|
|
8
|
-
|
|
9
|
-
- **Mandatory sections**: Context, Problem Statement, Scope, Technical Solution, Risks, Implementation Plan
|
|
10
|
-
- **Critical sections**: Security (for payments/auth), Monitoring, Rollback Plan, Testing Strategy
|
|
11
|
-
- **Optional sections**: Success Metrics, Glossary, Alternatives Considered, Dependencies, Performance Requirements, and more
|
|
12
|
-
|
|
13
|
-
The skill automatically adapts to:
|
|
14
|
-
|
|
15
|
-
- **Project size**: Small (< 1 week), Medium (1-4 weeks), Large (> 1 month)
|
|
16
|
-
- **Project type**: Integration, Feature, Refactor, Infrastructure, Payment, Auth, Data migration
|
|
17
|
-
- **User's language**: Automatically generates TDD in Portuguese, English, or Spanish based on your request
|
|
18
|
-
|
|
19
|
-
## How to Use
|
|
20
|
-
|
|
21
|
-
### Basic Usage
|
|
22
|
-
|
|
23
|
-
Simply ask the AI agent to create a TDD:
|
|
24
|
-
|
|
25
|
-
**English:**
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
Create a TDD for Stripe payment integration
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
**Portuguese:**
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
Crie um TDD para integração com Stripe
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
**Spanish:**
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
Crea un TDD para integración con Stripe
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Interactive Workflow
|
|
44
|
-
|
|
45
|
-
The skill will guide you through an interactive process:
|
|
46
|
-
|
|
47
|
-
1. **Initial Questions**: Project name, size, type, and context clarity
|
|
48
|
-
2. **Mandatory Information**: Problem statement, scope, technical approach
|
|
49
|
-
3. **Critical Sections**: Security, monitoring, rollback (if applicable)
|
|
50
|
-
4. **Optional Sections**: Success metrics, glossary, alternatives, etc.
|
|
51
|
-
|
|
52
|
-
### Examples
|
|
53
|
-
|
|
54
|
-
#### Example 1: Payment Integration
|
|
55
|
-
|
|
56
|
-
**Your Request:**
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
Create a TDD for integrating Stripe payments into our subscription system
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
**What Happens:**
|
|
63
|
-
|
|
64
|
-
1. Agent asks about project size and type
|
|
65
|
-
2. Agent requests: problem statement, scope, technical approach
|
|
66
|
-
3. Agent identifies this is a payment system → **Security section becomes MANDATORY**
|
|
67
|
-
4. Agent asks for: security requirements, monitoring metrics, rollback plan
|
|
68
|
-
5. Agent generates comprehensive TDD with all required sections
|
|
69
|
-
|
|
70
|
-
**Result:** A complete TDD with:
|
|
71
|
-
|
|
72
|
-
- Context and problem statement
|
|
73
|
-
- In-scope/out-of-scope features
|
|
74
|
-
- Architecture diagram
|
|
75
|
-
- API contracts
|
|
76
|
-
- Security considerations (PCI DSS compliance, encryption, PII handling)
|
|
77
|
-
- Testing strategy
|
|
78
|
-
- Monitoring & observability
|
|
79
|
-
- Rollback plan
|
|
80
|
-
- Implementation timeline
|
|
81
|
-
|
|
82
|
-
#### Example 2: Simple Feature
|
|
83
|
-
|
|
84
|
-
**Your Request:**
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
Write a design doc for adding user profile pictures
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
**What Happens:**
|
|
91
|
-
|
|
92
|
-
1. Agent identifies this as a small feature
|
|
93
|
-
2. Agent asks for basic information
|
|
94
|
-
3. Agent generates streamlined TDD with essential sections only
|
|
95
|
-
|
|
96
|
-
**Result:** A focused TDD with:
|
|
97
|
-
|
|
98
|
-
- Context
|
|
99
|
-
- Problem statement
|
|
100
|
-
- Scope (in/out)
|
|
101
|
-
- Technical solution (file upload, storage, API endpoints)
|
|
102
|
-
- Risks
|
|
103
|
-
- Implementation plan
|
|
104
|
-
- Testing strategy
|
|
105
|
-
|
|
106
|
-
#### Example 3: Migration Project
|
|
107
|
-
|
|
108
|
-
**Your Request:**
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
Crie um TDD para migração do banco de dados PostgreSQL para MongoDB
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
**What Happens:**
|
|
115
|
-
|
|
116
|
-
1. Agent detects Portuguese language → generates TDD in Portuguese
|
|
117
|
-
2. Agent identifies this as a migration project
|
|
118
|
-
3. Agent requests: migration strategy, data mapping, rollback plan
|
|
119
|
-
4. Agent offers migration plan section
|
|
120
|
-
|
|
121
|
-
**Result:** A TDD in Portuguese with:
|
|
122
|
-
|
|
123
|
-
- Contexto (Context)
|
|
124
|
-
- Definição do Problema (Problem Statement)
|
|
125
|
-
- Escopo (Scope)
|
|
126
|
-
- Solução Técnica (Technical Solution)
|
|
127
|
-
- Plano de Migração (Migration Plan)
|
|
128
|
-
- Plano de Rollback (Rollback Plan)
|
|
129
|
-
- Estratégia de Testes (Testing Strategy)
|
|
130
|
-
|
|
131
|
-
## What to Expect
|
|
132
|
-
|
|
133
|
-
### The Agent Will Ask Questions
|
|
134
|
-
|
|
135
|
-
The skill is designed to gather complete information. Expect questions like:
|
|
136
|
-
|
|
137
|
-
**For Problem Statement:**
|
|
138
|
-
|
|
139
|
-
- What problem are we solving?
|
|
140
|
-
- Why is this important now?
|
|
141
|
-
- What happens if we don't solve it?
|
|
142
|
-
|
|
143
|
-
**For Scope:**
|
|
144
|
-
|
|
145
|
-
- What WILL be delivered in V1?
|
|
146
|
-
- What will NOT be included (out of scope)?
|
|
147
|
-
|
|
148
|
-
**For Technical Approach:**
|
|
149
|
-
|
|
150
|
-
- What are the main components?
|
|
151
|
-
- How does data flow through the system?
|
|
152
|
-
- What APIs will be created/modified?
|
|
153
|
-
|
|
154
|
-
**For Payment/Auth Projects:**
|
|
155
|
-
|
|
156
|
-
- How will you handle authentication?
|
|
157
|
-
- What encryption will be used?
|
|
158
|
-
- What PII is collected?
|
|
159
|
-
- Any compliance requirements (GDPR, PCI DSS)?
|
|
160
|
-
|
|
161
|
-
**For Production Systems:**
|
|
162
|
-
|
|
163
|
-
- How will you monitor this?
|
|
164
|
-
- What metrics matter?
|
|
165
|
-
- How will you rollback if something fails?
|
|
166
|
-
|
|
167
|
-
### The Generated TDD
|
|
168
|
-
|
|
169
|
-
The TDD will include:
|
|
170
|
-
|
|
171
|
-
1. **Header & Metadata**: Tech Lead, Team, Epic link, Status, Dates
|
|
172
|
-
2. **Context**: Background, domain, stakeholders
|
|
173
|
-
3. **Problem Statement**: Specific problems with quantified impact
|
|
174
|
-
4. **Scope**: Clear in-scope and out-of-scope items
|
|
175
|
-
5. **Technical Solution**: Architecture, data flow, APIs, database changes
|
|
176
|
-
6. **Risks**: Risk matrix with impact, probability, and mitigation
|
|
177
|
-
7. **Implementation Plan**: Phased breakdown with estimates
|
|
178
|
-
8. **Security** (if applicable): Authentication, encryption, compliance
|
|
179
|
-
9. **Testing Strategy**: Unit, integration, E2E test plans
|
|
180
|
-
10. **Monitoring & Observability**: Metrics, alerts, dashboards
|
|
181
|
-
11. **Rollback Plan**: Triggers and steps for reverting changes
|
|
182
|
-
12. **Optional sections**: Success metrics, glossary, alternatives, dependencies, etc.
|
|
183
|
-
|
|
184
|
-
## Tips for Best Results
|
|
185
|
-
|
|
186
|
-
### 1. Provide Context Early
|
|
187
|
-
|
|
188
|
-
Instead of:
|
|
189
|
-
|
|
190
|
-
```
|
|
191
|
-
Create a TDD for Stripe
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
Try:
|
|
195
|
-
|
|
196
|
-
```
|
|
197
|
-
Create a TDD for integrating Stripe payments. We need to support subscriptions,
|
|
198
|
-
handle webhooks, and comply with PCI DSS. This is for our SaaS product.
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
### 2. Be Specific About Scope
|
|
202
|
-
|
|
203
|
-
The agent will ask, but you can provide upfront:
|
|
204
|
-
|
|
205
|
-
```
|
|
206
|
-
Create a TDD for user authentication. In scope: email/password, JWT tokens,
|
|
207
|
-
password reset. Out of scope: OAuth, 2FA, social login (those are V2).
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
### 3. Mention Project Size
|
|
211
|
-
|
|
212
|
-
```
|
|
213
|
-
Create a TDD for the database migration project. This is a large project
|
|
214
|
-
(expected 2 months).
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
### 4. Specify Critical Requirements
|
|
218
|
-
|
|
219
|
-
For payment/auth systems, mention security requirements:
|
|
220
|
-
|
|
221
|
-
```
|
|
222
|
-
Create a TDD for Stripe integration. We need PCI DSS compliance, webhook
|
|
223
|
-
signature validation, and encrypted storage of payment method tokens.
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### 5. Use Your Language
|
|
227
|
-
|
|
228
|
-
The skill automatically detects your language. Just write naturally:
|
|
229
|
-
|
|
230
|
-
- **English**: "Create a TDD for..."
|
|
231
|
-
- **Portuguese**: "Crie um TDD para..."
|
|
232
|
-
- **Spanish**: "Crea un TDD para..."
|
|
233
|
-
|
|
234
|
-
## Language Support
|
|
235
|
-
|
|
236
|
-
The skill supports multiple languages:
|
|
237
|
-
|
|
238
|
-
| Language | Example Trigger |
|
|
239
|
-
| ---------- | ----------------------------------------- |
|
|
240
|
-
| English | "Create a TDD for Stripe integration" |
|
|
241
|
-
| Portuguese | "Crie um TDD para integração com Stripe" |
|
|
242
|
-
| Spanish | "Crea un TDD para integración con Stripe" |
|
|
243
|
-
|
|
244
|
-
All section headers and content are automatically translated to match your language.
|
|
245
|
-
|
|
246
|
-
## Integration with Other Skills
|
|
247
|
-
|
|
248
|
-
### Confluence Publishing
|
|
249
|
-
|
|
250
|
-
After generating a TDD, the agent will offer to publish it to Confluence:
|
|
251
|
-
|
|
252
|
-
```
|
|
253
|
-
Would you like me to publish this TDD to Confluence?
|
|
254
|
-
- I can create a new page in your space
|
|
255
|
-
- Or update an existing page
|
|
256
|
-
```
|
|
257
|
-
|
|
258
|
-
### Jira Integration
|
|
259
|
-
|
|
260
|
-
The TDD includes a metadata section for Epic/Ticket links. You can manually add these or ask the agent to help create Jira tickets.
|
|
261
|
-
|
|
262
|
-
## What Makes This Skill Different
|
|
263
|
-
|
|
264
|
-
### 1. Industry Standards
|
|
265
|
-
|
|
266
|
-
Follows patterns from:
|
|
267
|
-
|
|
268
|
-
- Google Design Docs
|
|
269
|
-
- Amazon PR-FAQ (Working Backwards)
|
|
270
|
-
- RFC Pattern
|
|
271
|
-
- ADR (Architecture Decision Records)
|
|
272
|
-
- SRE Book (Monitoring, Rollback, SLOs)
|
|
273
|
-
- PCI DSS & OWASP (Security)
|
|
274
|
-
|
|
275
|
-
### 2. Architecture-Focused, Not Implementation
|
|
276
|
-
|
|
277
|
-
The TDD documents **decisions and contracts**, not code:
|
|
278
|
-
|
|
279
|
-
✅ **Includes**: API contracts, data schemas, architecture diagrams, strategies
|
|
280
|
-
❌ **Avoids**: CLI commands, code snippets, framework-specific implementation
|
|
281
|
-
|
|
282
|
-
### 3. Adaptive to Project Size
|
|
283
|
-
|
|
284
|
-
- **Small projects**: Essential sections only (7-9 sections)
|
|
285
|
-
- **Medium projects**: Mandatory + critical sections (11-13 sections)
|
|
286
|
-
- **Large projects**: All sections (up to 20 sections)
|
|
287
|
-
|
|
288
|
-
### 4. Mandatory Sections Enforcement
|
|
289
|
-
|
|
290
|
-
The agent will **insist** on completing mandatory sections before finalizing the TDD. You can't skip:
|
|
291
|
-
|
|
292
|
-
- Problem Statement
|
|
293
|
-
- Scope
|
|
294
|
-
- Technical Solution
|
|
295
|
-
- Risks
|
|
296
|
-
- Implementation Plan
|
|
297
|
-
|
|
298
|
-
### 5. Critical Sections for Specific Project Types
|
|
299
|
-
|
|
300
|
-
- **Payment/Auth**: Security section is MANDATORY
|
|
301
|
-
- **Production**: Monitoring and Rollback are MANDATORY
|
|
302
|
-
- **Integration**: Dependencies and Security are highly recommended
|
|
303
|
-
|
|
304
|
-
## Common Use Cases
|
|
305
|
-
|
|
306
|
-
### ✅ Good Use Cases
|
|
307
|
-
|
|
308
|
-
- New feature development
|
|
309
|
-
- External API integration
|
|
310
|
-
- System migration or refactoring
|
|
311
|
-
- Infrastructure changes
|
|
312
|
-
- Payment/billing system design
|
|
313
|
-
- Authentication/authorization system
|
|
314
|
-
- Data processing pipelines
|
|
315
|
-
|
|
316
|
-
### ❌ Not Ideal For
|
|
317
|
-
|
|
318
|
-
- Bug fixes (too small)
|
|
319
|
-
- Code refactoring without architectural changes
|
|
320
|
-
- Documentation updates
|
|
321
|
-
- Simple configuration changes
|
|
322
|
-
|
|
323
|
-
## Example Output Structure
|
|
324
|
-
|
|
325
|
-
```
|
|
326
|
-
# TDD - [Project Name]
|
|
327
|
-
|
|
328
|
-
## Metadata
|
|
329
|
-
- Tech Lead: @Name
|
|
330
|
-
- Team: Name1, Name2
|
|
331
|
-
- Status: Draft
|
|
332
|
-
- Created: 2026-02-04
|
|
333
|
-
|
|
334
|
-
## Context
|
|
335
|
-
[Background and domain description]
|
|
336
|
-
|
|
337
|
-
## Problem Statement & Motivation
|
|
338
|
-
[Specific problems with impact]
|
|
339
|
-
|
|
340
|
-
## Scope
|
|
341
|
-
### ✅ In Scope
|
|
342
|
-
[What will be delivered]
|
|
343
|
-
|
|
344
|
-
### ❌ Out of Scope
|
|
345
|
-
[What won't be included]
|
|
346
|
-
|
|
347
|
-
## Technical Solution
|
|
348
|
-
[Architecture, APIs, data flow, database changes]
|
|
349
|
-
|
|
350
|
-
## Risks
|
|
351
|
-
[Risk matrix with mitigation]
|
|
352
|
-
|
|
353
|
-
## Implementation Plan
|
|
354
|
-
[Phased breakdown with estimates]
|
|
355
|
-
|
|
356
|
-
## Security Considerations
|
|
357
|
-
[Authentication, encryption, compliance]
|
|
358
|
-
|
|
359
|
-
## Testing Strategy
|
|
360
|
-
[Unit, integration, E2E tests]
|
|
361
|
-
|
|
362
|
-
## Monitoring & Observability
|
|
363
|
-
[Metrics, alerts, dashboards]
|
|
364
|
-
|
|
365
|
-
## Rollback Plan
|
|
366
|
-
[Triggers and steps]
|
|
367
|
-
|
|
368
|
-
[Additional optional sections...]
|
|
369
|
-
```
|
|
370
|
-
|
|
371
|
-
## Troubleshooting
|
|
372
|
-
|
|
373
|
-
### The Agent Keeps Asking Questions
|
|
374
|
-
|
|
375
|
-
**This is normal!** The skill is designed to gather complete information. Answer the questions to get a comprehensive TDD.
|
|
376
|
-
|
|
377
|
-
### I Want to Skip a Section
|
|
378
|
-
|
|
379
|
-
Mandatory sections cannot be skipped. For optional sections, you can say:
|
|
380
|
-
|
|
381
|
-
```
|
|
382
|
-
Skip the Alternatives Considered section for now
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
### The TDD is Too Detailed
|
|
386
|
-
|
|
387
|
-
For small projects, specify the size:
|
|
388
|
-
|
|
389
|
-
```
|
|
390
|
-
This is a small project (< 1 week), keep it simple
|
|
391
|
-
```
|
|
392
|
-
|
|
393
|
-
### The TDD is Missing Something
|
|
394
|
-
|
|
395
|
-
Tell the agent what's missing:
|
|
396
|
-
|
|
397
|
-
```
|
|
398
|
-
Add a section on performance requirements
|
|
399
|
-
```
|
|
400
|
-
|
|
401
|
-
## Next Steps After Creating a TDD
|
|
402
|
-
|
|
403
|
-
1. **Review**: Check all sections are complete
|
|
404
|
-
2. **Share**: Get feedback from team members
|
|
405
|
-
3. **Approve**: Get sign-off from stakeholders
|
|
406
|
-
4. **Implement**: Use the TDD as a guide during development
|
|
407
|
-
5. **Update**: Keep the TDD updated as the project evolves
|
|
408
|
-
|
|
409
|
-
## Support
|
|
410
|
-
|
|
411
|
-
For issues or questions about this skill, refer to the main [agent-skills repository](https://github.com/tech-leads-club/agent-skills).
|