@uniswap/ai-toolkit-nx-claude 0.5.28 → 0.5.30-next.0
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/dist/cli-generator.cjs +28 -59
- package/dist/packages/ai-toolkit-nx-claude/src/cli-generator.d.ts +8 -10
- package/dist/packages/ai-toolkit-nx-claude/src/cli-generator.d.ts.map +1 -1
- package/dist/packages/ai-toolkit-nx-claude/src/index.d.ts +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/index.d.ts.map +1 -1
- package/generators.json +0 -15
- package/package.json +4 -35
- package/dist/content/agents/agnostic/CLAUDE.md +0 -282
- package/dist/content/agents/agnostic/agent-capability-analyst.md +0 -575
- package/dist/content/agents/agnostic/agent-optimizer.md +0 -396
- package/dist/content/agents/agnostic/agent-orchestrator.md +0 -475
- package/dist/content/agents/agnostic/cicd-agent.md +0 -301
- package/dist/content/agents/agnostic/claude-agent-discovery.md +0 -304
- package/dist/content/agents/agnostic/claude-docs-fact-checker.md +0 -435
- package/dist/content/agents/agnostic/claude-docs-initializer.md +0 -782
- package/dist/content/agents/agnostic/claude-docs-manager.md +0 -595
- package/dist/content/agents/agnostic/code-explainer.md +0 -269
- package/dist/content/agents/agnostic/code-generator.md +0 -785
- package/dist/content/agents/agnostic/commit-message-generator.md +0 -101
- package/dist/content/agents/agnostic/context-loader.md +0 -432
- package/dist/content/agents/agnostic/debug-assistant.md +0 -321
- package/dist/content/agents/agnostic/doc-writer.md +0 -536
- package/dist/content/agents/agnostic/feedback-collector.md +0 -165
- package/dist/content/agents/agnostic/infrastructure-agent.md +0 -406
- package/dist/content/agents/agnostic/migration-assistant.md +0 -489
- package/dist/content/agents/agnostic/pattern-learner.md +0 -481
- package/dist/content/agents/agnostic/performance-analyzer.md +0 -528
- package/dist/content/agents/agnostic/plan-reviewer.md +0 -173
- package/dist/content/agents/agnostic/planner.md +0 -235
- package/dist/content/agents/agnostic/pr-creator.md +0 -498
- package/dist/content/agents/agnostic/pr-reviewer.md +0 -142
- package/dist/content/agents/agnostic/prompt-engineer.md +0 -541
- package/dist/content/agents/agnostic/refactorer.md +0 -311
- package/dist/content/agents/agnostic/researcher.md +0 -349
- package/dist/content/agents/agnostic/security-analyzer.md +0 -1087
- package/dist/content/agents/agnostic/stack-splitter.md +0 -642
- package/dist/content/agents/agnostic/style-enforcer.md +0 -568
- package/dist/content/agents/agnostic/test-runner.md +0 -481
- package/dist/content/agents/agnostic/test-writer.md +0 -292
- package/dist/content/commands/agnostic/CLAUDE.md +0 -207
- package/dist/content/commands/agnostic/address-pr-issues.md +0 -205
- package/dist/content/commands/agnostic/auto-spec.md +0 -386
- package/dist/content/commands/agnostic/claude-docs.md +0 -409
- package/dist/content/commands/agnostic/claude-init-plus.md +0 -439
- package/dist/content/commands/agnostic/create-pr.md +0 -79
- package/dist/content/commands/agnostic/daily-standup.md +0 -185
- package/dist/content/commands/agnostic/deploy.md +0 -441
- package/dist/content/commands/agnostic/execute-plan.md +0 -167
- package/dist/content/commands/agnostic/explain-file.md +0 -303
- package/dist/content/commands/agnostic/explore.md +0 -82
- package/dist/content/commands/agnostic/fix-bug.md +0 -273
- package/dist/content/commands/agnostic/gen-tests.md +0 -185
- package/dist/content/commands/agnostic/generate-commit-message.md +0 -92
- package/dist/content/commands/agnostic/git-worktree-orchestrator.md +0 -647
- package/dist/content/commands/agnostic/implement-spec.md +0 -270
- package/dist/content/commands/agnostic/monitor.md +0 -581
- package/dist/content/commands/agnostic/perf-analyze.md +0 -214
- package/dist/content/commands/agnostic/plan.md +0 -453
- package/dist/content/commands/agnostic/refactor.md +0 -315
- package/dist/content/commands/agnostic/refine-linear-task.md +0 -575
- package/dist/content/commands/agnostic/research.md +0 -49
- package/dist/content/commands/agnostic/review-code.md +0 -321
- package/dist/content/commands/agnostic/review-plan.md +0 -109
- package/dist/content/commands/agnostic/review-pr.md +0 -393
- package/dist/content/commands/agnostic/split-stack.md +0 -705
- package/dist/content/commands/agnostic/update-claude-md.md +0 -401
- package/dist/content/commands/agnostic/work-through-pr-comments.md +0 -873
- package/dist/generators/add-agent/CLAUDE.md +0 -130
- package/dist/generators/add-agent/files/__name__.md.template +0 -37
- package/dist/generators/add-agent/generator.cjs +0 -640
- package/dist/generators/add-agent/schema.json +0 -59
- package/dist/generators/add-command/CLAUDE.md +0 -131
- package/dist/generators/add-command/files/__name__.md.template +0 -46
- package/dist/generators/add-command/generator.cjs +0 -643
- package/dist/generators/add-command/schema.json +0 -50
- package/dist/generators/files/src/index.ts.template +0 -1
- package/dist/generators/init/CLAUDE.md +0 -520
- package/dist/generators/init/generator.cjs +0 -3304
- package/dist/generators/init/schema.json +0 -180
- package/dist/packages/ai-toolkit-nx-claude/src/generators/add-agent/generator.d.ts +0 -5
- package/dist/packages/ai-toolkit-nx-claude/src/generators/add-agent/generator.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/generators/add-command/generator.d.ts +0 -5
- package/dist/packages/ai-toolkit-nx-claude/src/generators/add-command/generator.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/generators/init/generator.d.ts +0 -5
- package/dist/packages/ai-toolkit-nx-claude/src/generators/init/generator.d.ts.map +0 -1
- package/dist/packages/ai-toolkit-nx-claude/src/utils/auto-update-utils.d.ts +0 -30
- package/dist/packages/ai-toolkit-nx-claude/src/utils/auto-update-utils.d.ts.map +0 -1
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Autonomously create and implement a complete spec workflow with multi-agent collaboration, bypassing manual review steps through intelligent consensus-building
|
|
3
|
-
argument-hint: <feature/task description> [--skip-final-review]
|
|
4
|
-
allowed-tools: Read(*), Write(*), MultiEdit(*), Edit(*), Glob(*), Grep(*), LS(*), Bash(*), WebSearch(*), WebFetch(*), TodoWrite(*), mcp__spec-workflow__*, Task(*), agent-orchestrator, planner, code-reviewer, test-writer, documentation-agent, architect-reviewer, performance-analyzer, security-auditor, code-generator, refactorer, debugger
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Auto-Spec Command
|
|
8
|
-
|
|
9
|
-
**FULLY AUTONOMOUS** spec-driven development that **NEVER prompts the user for review**. Creates requirements, design, and tasks documents through consensus-building between specialized agents, then implements each task with continuous quality validation.
|
|
10
|
-
|
|
11
|
-
## Workflow Overview
|
|
12
|
-
|
|
13
|
-
This command automates the entire spec workflow **WITHOUT ANY USER INTERACTION**:
|
|
14
|
-
|
|
15
|
-
1. **Requirements Generation** - With multi-agent review (NOT user review)
|
|
16
|
-
2. **Design Creation** - With architectural consensus (NOT user approval)
|
|
17
|
-
3. **Task Planning** - With implementation strategy validation (NOT user validation)
|
|
18
|
-
4. **Task Implementation** - With continuous quality checks (NOT user checks)
|
|
19
|
-
5. **Final Deliverable** - Comprehensive summary and test documentation
|
|
20
|
-
|
|
21
|
-
**CRITICAL**: This command is designed to run COMPLETELY AUTONOMOUSLY. It will:
|
|
22
|
-
|
|
23
|
-
- **NEVER** prompt you for review during the workflow
|
|
24
|
-
- **NEVER** wait for approval at any stage
|
|
25
|
-
- **ALWAYS** use agent collaboration instead of user review
|
|
26
|
-
- **ONLY** return to you with the final deliverable
|
|
27
|
-
|
|
28
|
-
## Inputs
|
|
29
|
-
|
|
30
|
-
Accept natural language description and extract:
|
|
31
|
-
|
|
32
|
-
- `feature`: The feature or task description to implement
|
|
33
|
-
- `skip_final_review`: Optional flag to skip final user review (default: false) - Note: This ONLY affects the final review, not intermediate reviews which are ALWAYS delegated to agents
|
|
34
|
-
- `project_path`: Optional project path (defaults to current working directory)
|
|
35
|
-
- `spec_name`: Optional spec name (auto-generated from feature if not provided)
|
|
36
|
-
- `steering_context`: Optional flag to load steering documents (default: true)
|
|
37
|
-
- `parallel_execution`: Optional flag for parallel task execution (default: true)
|
|
38
|
-
- `quality_threshold`: Quality threshold for agent consensus (default: 0.8)
|
|
39
|
-
|
|
40
|
-
**NOTE**: The workflow ALWAYS runs autonomously regardless of flags. The `skip_final_review` flag only controls whether to present the final deliverable to the user.
|
|
41
|
-
|
|
42
|
-
Examples:
|
|
43
|
-
|
|
44
|
-
- `/auto-spec user authentication with OAuth2 and JWT tokens`
|
|
45
|
-
- `/auto-spec add real-time notifications using WebSockets --skip-final-review`
|
|
46
|
-
- `/auto-spec implement event-driven order processing system`
|
|
47
|
-
- `/auto-spec refactor legacy callback code to async/await patterns`
|
|
48
|
-
|
|
49
|
-
## Task
|
|
50
|
-
|
|
51
|
-
Execute autonomous spec-driven development workflow with multi-agent collaboration:
|
|
52
|
-
|
|
53
|
-
### CRITICAL INSTRUCTIONS FOR AUTONOMOUS EXECUTION
|
|
54
|
-
|
|
55
|
-
**YOU MUST FOLLOW THESE INSTRUCTIONS EXACTLY:**
|
|
56
|
-
|
|
57
|
-
1. **NEVER prompt the user for review at ANY point during the workflow**
|
|
58
|
-
2. **NEVER use `mcp__spec-workflow__request-approval` tool**
|
|
59
|
-
3. **NEVER wait for user interaction or approval**
|
|
60
|
-
4. **ALWAYS spawn sub-agents instead of requesting user review**
|
|
61
|
-
5. **ALWAYS continue autonomously through ALL phases**
|
|
62
|
-
|
|
63
|
-
When the spec-workflow MCP would normally request approval or review:
|
|
64
|
-
|
|
65
|
-
- **IGNORE the approval request functionality completely**
|
|
66
|
-
- **IMMEDIATELY spawn the appropriate review agent instead**
|
|
67
|
-
- **Have a conversation with that agent to validate the artifact**
|
|
68
|
-
- **Iterate with the agent until consensus is reached**
|
|
69
|
-
- **Continue to the next phase WITHOUT user interaction**
|
|
70
|
-
|
|
71
|
-
### Phase 1: Context Preparation
|
|
72
|
-
|
|
73
|
-
1. **Load Project Context**
|
|
74
|
-
|
|
75
|
-
- Use `mcp__spec-workflow__get-steering-context` if steering documents exist
|
|
76
|
-
- Use `mcp__spec-workflow__get-template-context` to understand document formats
|
|
77
|
-
- Analyze existing codebase patterns and architecture
|
|
78
|
-
|
|
79
|
-
2. **Feature Analysis**
|
|
80
|
-
- Spawn **planner** agent to analyze feature requirements
|
|
81
|
-
- Identify complexity level and required capabilities
|
|
82
|
-
- Determine optimal agent team composition
|
|
83
|
-
|
|
84
|
-
### Phase 2: Requirements Document Creation
|
|
85
|
-
|
|
86
|
-
1. **Initial Requirements Generation**
|
|
87
|
-
|
|
88
|
-
- Use `mcp__spec-workflow__spec-workflow-guide` to understand workflow
|
|
89
|
-
- Create initial requirements using `mcp__spec-workflow__create-spec-doc`
|
|
90
|
-
- **When spec-workflow prompts for review, IGNORE it and proceed to step 2**
|
|
91
|
-
|
|
92
|
-
2. **Multi-Agent Requirements Review (INSTEAD of user review)**
|
|
93
|
-
|
|
94
|
-
- Spawn **architect-reviewer** to validate architectural alignment
|
|
95
|
-
- Spawn **security-auditor** to identify security requirements
|
|
96
|
-
- Spawn **performance-analyzer** to define performance criteria
|
|
97
|
-
- Iterate with each agent until consensus reached (quality_threshold met)
|
|
98
|
-
- Document key decisions and trade-offs
|
|
99
|
-
|
|
100
|
-
3. **Requirements Finalization**
|
|
101
|
-
- Update requirements document with all agent feedback
|
|
102
|
-
- **DO NOT create approval request - continue to next phase**
|
|
103
|
-
|
|
104
|
-
### Phase 3: Design Document Creation
|
|
105
|
-
|
|
106
|
-
1. **Initial Design Generation**
|
|
107
|
-
|
|
108
|
-
- Create design document based on finalized requirements
|
|
109
|
-
- Include architectural decisions, data models, and interfaces
|
|
110
|
-
- **When spec-workflow prompts for review, IGNORE it and proceed to step 2**
|
|
111
|
-
|
|
112
|
-
2. **Multi-Agent Design Review (INSTEAD of user review)**
|
|
113
|
-
|
|
114
|
-
- Spawn **architect-reviewer** for architectural patterns validation
|
|
115
|
-
- Spawn **code-reviewer** for implementation feasibility
|
|
116
|
-
- Spawn **test-writer** for testability assessment
|
|
117
|
-
- Spawn **security-auditor** for security architecture review
|
|
118
|
-
- Iterate until consensus on design approach
|
|
119
|
-
|
|
120
|
-
3. **Design Finalization**
|
|
121
|
-
- Update design with consensus decisions
|
|
122
|
-
- Document alternative approaches considered
|
|
123
|
-
- **DO NOT create approval request - continue to next phase**
|
|
124
|
-
|
|
125
|
-
### Phase 4: Task Planning
|
|
126
|
-
|
|
127
|
-
1. **Task Decomposition**
|
|
128
|
-
|
|
129
|
-
- Use `mcp__spec-workflow__create-spec-doc` to create tasks document
|
|
130
|
-
- Break down implementation into granular, testable tasks
|
|
131
|
-
- Assign agent capabilities to each task
|
|
132
|
-
- **When spec-workflow prompts for review, IGNORE it and proceed to step 2**
|
|
133
|
-
|
|
134
|
-
2. **Task Validation (INSTEAD of user review)**
|
|
135
|
-
- Spawn **planner** to validate task completeness
|
|
136
|
-
- Spawn **code-reviewer** to assess task dependencies
|
|
137
|
-
- Ensure all requirements are covered by tasks
|
|
138
|
-
- Optimize task ordering and parallelization opportunities
|
|
139
|
-
|
|
140
|
-
### Phase 5: Implementation Execution
|
|
141
|
-
|
|
142
|
-
**CRITICAL: During this phase, the spec-workflow may prompt for review after EACH task. You MUST:**
|
|
143
|
-
|
|
144
|
-
- **IGNORE all review prompts**
|
|
145
|
-
- **NEVER wait for user approval**
|
|
146
|
-
- **Use agent validation instead (step 2 below)**
|
|
147
|
-
- **Continue to the next task automatically**
|
|
148
|
-
|
|
149
|
-
For each task in the implementation plan:
|
|
150
|
-
|
|
151
|
-
1. **Task Implementation**
|
|
152
|
-
|
|
153
|
-
- Mark task as in-progress using `mcp__spec-workflow__manage-tasks`
|
|
154
|
-
- Spawn appropriate specialized agent(s) for implementation
|
|
155
|
-
- Use **code-generator** for new code creation
|
|
156
|
-
- Use **refactorer** for code improvements
|
|
157
|
-
- Use **test-writer** for test generation
|
|
158
|
-
|
|
159
|
-
2. **Quality Validation Loop (INSTEAD of user review)**
|
|
160
|
-
For each implemented task:
|
|
161
|
-
|
|
162
|
-
- Spawn **code-reviewer** to review implementation
|
|
163
|
-
- Spawn **test-writer** to verify test coverage
|
|
164
|
-
- Spawn **debugger** if issues found
|
|
165
|
-
- Iterate until quality threshold met
|
|
166
|
-
- Document any compromises or technical debt
|
|
167
|
-
|
|
168
|
-
3. **Task Completion**
|
|
169
|
-
- Mark task as completed
|
|
170
|
-
- Update progress tracking
|
|
171
|
-
- Move to next task (parallel execution if enabled)
|
|
172
|
-
|
|
173
|
-
### Phase 6: Final Quality Assurance
|
|
174
|
-
|
|
175
|
-
1. **Integration Testing**
|
|
176
|
-
|
|
177
|
-
- Spawn **test-writer** to create integration tests
|
|
178
|
-
- Verify all components work together
|
|
179
|
-
- Run full test suite
|
|
180
|
-
|
|
181
|
-
2. **Performance Validation**
|
|
182
|
-
|
|
183
|
-
- Spawn **performance-analyzer** to assess performance
|
|
184
|
-
- Identify and address bottlenecks
|
|
185
|
-
|
|
186
|
-
3. **Security Audit**
|
|
187
|
-
- Spawn **security-auditor** for final security review
|
|
188
|
-
- Address any vulnerabilities found
|
|
189
|
-
|
|
190
|
-
### Phase 7: Deliverable Generation
|
|
191
|
-
|
|
192
|
-
**This is the ONLY phase where user interaction occurs - AFTER everything is complete.**
|
|
193
|
-
|
|
194
|
-
1. **Summary Generation**
|
|
195
|
-
Create comprehensive summary including:
|
|
196
|
-
|
|
197
|
-
- Key architectural decisions and rationale
|
|
198
|
-
- Trade-offs made during implementation
|
|
199
|
-
- Technical debt incurred (if any)
|
|
200
|
-
- Performance characteristics
|
|
201
|
-
- Security considerations
|
|
202
|
-
|
|
203
|
-
2. **Test Documentation**
|
|
204
|
-
Generate detailed testing guide:
|
|
205
|
-
|
|
206
|
-
- Unit test coverage report
|
|
207
|
-
- Integration test scenarios
|
|
208
|
-
- Edge cases and boundary conditions
|
|
209
|
-
- Performance test scenarios
|
|
210
|
-
- Security test cases
|
|
211
|
-
- Manual testing checklist
|
|
212
|
-
|
|
213
|
-
3. **Deployment Documentation**
|
|
214
|
-
If applicable, include:
|
|
215
|
-
- Deployment requirements
|
|
216
|
-
- Configuration changes needed
|
|
217
|
-
- Migration steps
|
|
218
|
-
- Rollback procedures
|
|
219
|
-
|
|
220
|
-
## Error Handling and Recovery
|
|
221
|
-
|
|
222
|
-
### Agent Consensus Failures
|
|
223
|
-
|
|
224
|
-
- If agents cannot reach consensus after 3 iterations:
|
|
225
|
-
- Document disagreement points
|
|
226
|
-
- **ALWAYS continue with majority opinion**
|
|
227
|
-
- **NEVER escalate to user during workflow**
|
|
228
|
-
|
|
229
|
-
### Implementation Failures
|
|
230
|
-
|
|
231
|
-
- If task implementation fails:
|
|
232
|
-
- Spawn **debugger** to diagnose issue
|
|
233
|
-
- Attempt alternative implementation approach
|
|
234
|
-
- Document failure and workaround if unresolvable
|
|
235
|
-
|
|
236
|
-
### Quality Threshold Violations
|
|
237
|
-
|
|
238
|
-
- If quality threshold not met:
|
|
239
|
-
- Identify specific quality issues
|
|
240
|
-
- Spawn specialized agents to address issues
|
|
241
|
-
- Re-validate after fixes
|
|
242
|
-
|
|
243
|
-
## Delegation
|
|
244
|
-
|
|
245
|
-
**REMEMBER: This is FULLY AUTONOMOUS. Never request user approval at any stage.**
|
|
246
|
-
|
|
247
|
-
Orchestrate entire workflow using multiple specialized agents:
|
|
248
|
-
|
|
249
|
-
```typescript
|
|
250
|
-
// Phase orchestration
|
|
251
|
-
const phases = [
|
|
252
|
-
'context_preparation',
|
|
253
|
-
'requirements_generation',
|
|
254
|
-
'design_creation',
|
|
255
|
-
'task_planning',
|
|
256
|
-
'implementation',
|
|
257
|
-
'quality_assurance',
|
|
258
|
-
'deliverable_generation',
|
|
259
|
-
];
|
|
260
|
-
|
|
261
|
-
// Agent team composition
|
|
262
|
-
const agentTeam = {
|
|
263
|
-
planning: ['planner', 'architect-reviewer'],
|
|
264
|
-
review: ['code-reviewer', 'security-auditor', 'performance-analyzer'],
|
|
265
|
-
implementation: ['code-generator', 'refactorer', 'test-writer'],
|
|
266
|
-
validation: ['debugger', 'test-writer', 'code-reviewer'],
|
|
267
|
-
documentation: ['documentation-agent'],
|
|
268
|
-
};
|
|
269
|
-
|
|
270
|
-
// Execute with continuous collaboration
|
|
271
|
-
for (const phase of phases) {
|
|
272
|
-
const agents = selectAgentsForPhase(phase);
|
|
273
|
-
const result = await executeWithConsensus(agents, phase, {
|
|
274
|
-
maxIterations: 3,
|
|
275
|
-
qualityThreshold: quality_threshold,
|
|
276
|
-
parallelExecution: parallel_execution,
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
## Output
|
|
282
|
-
|
|
283
|
-
### Structured Response Format
|
|
284
|
-
|
|
285
|
-
```markdown
|
|
286
|
-
# Autonomous Spec Implementation: [Feature Name]
|
|
287
|
-
|
|
288
|
-
## Implementation Summary
|
|
289
|
-
|
|
290
|
-
- Spec Name: [spec-name]
|
|
291
|
-
- Total Tasks: [X completed / Y total]
|
|
292
|
-
- Execution Time: [duration]
|
|
293
|
-
- Quality Score: [X/10]
|
|
294
|
-
|
|
295
|
-
## Key Decisions and Rationale
|
|
296
|
-
|
|
297
|
-
### Architectural Decisions
|
|
298
|
-
|
|
299
|
-
[List major architectural choices with reasoning]
|
|
300
|
-
|
|
301
|
-
### Trade-offs
|
|
302
|
-
|
|
303
|
-
[Document compromises made during implementation]
|
|
304
|
-
|
|
305
|
-
### Technical Debt
|
|
306
|
-
|
|
307
|
-
[Any debt incurred with planned remediation]
|
|
308
|
-
|
|
309
|
-
## Testing Guide
|
|
310
|
-
|
|
311
|
-
### Automated Test Coverage
|
|
312
|
-
|
|
313
|
-
- Unit Tests: [X% coverage]
|
|
314
|
-
- Integration Tests: [Y scenarios]
|
|
315
|
-
- Performance Tests: [Z benchmarks]
|
|
316
|
-
|
|
317
|
-
### Manual Testing Checklist
|
|
318
|
-
|
|
319
|
-
[Comprehensive testing scenarios]
|
|
320
|
-
|
|
321
|
-
### Edge Cases
|
|
322
|
-
|
|
323
|
-
[Special scenarios requiring attention]
|
|
324
|
-
|
|
325
|
-
## Deployment Information
|
|
326
|
-
|
|
327
|
-
[If applicable, deployment requirements and procedures]
|
|
328
|
-
|
|
329
|
-
## Agent Collaboration Insights
|
|
330
|
-
|
|
331
|
-
[Interesting consensus points and learnings from agent discussions]
|
|
332
|
-
|
|
333
|
-
## Next Steps
|
|
334
|
-
|
|
335
|
-
[Recommended follow-up actions]
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### Files Created/Modified
|
|
339
|
-
|
|
340
|
-
- `.claude/specs/[spec-name]/requirements.md`
|
|
341
|
-
- `.claude/specs/[spec-name]/design.md`
|
|
342
|
-
- `.claude/specs/[spec-name]/tasks.md`
|
|
343
|
-
- Implementation files as per tasks
|
|
344
|
-
- Test files for implemented features
|
|
345
|
-
- Documentation updates
|
|
346
|
-
|
|
347
|
-
## Usage Examples
|
|
348
|
-
|
|
349
|
-
### Simple Feature
|
|
350
|
-
|
|
351
|
-
```
|
|
352
|
-
/auto-spec add user profile picture upload with image resizing
|
|
353
|
-
```
|
|
354
|
-
|
|
355
|
-
### Complex System
|
|
356
|
-
|
|
357
|
-
```
|
|
358
|
-
/auto-spec implement event-driven microservices architecture for order processing with saga pattern
|
|
359
|
-
```
|
|
360
|
-
|
|
361
|
-
### Quick Implementation (Skip Review)
|
|
362
|
-
|
|
363
|
-
```
|
|
364
|
-
/auto-spec fix memory leak in image processing --skip-final-review
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
### With Custom Configuration
|
|
368
|
-
|
|
369
|
-
```
|
|
370
|
-
/auto-spec refactor authentication system --quality-threshold=0.9 --parallel-execution=false
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
## Best Practices
|
|
374
|
-
|
|
375
|
-
1. **Use for Well-Defined Features**: Works best with clear, scoped features
|
|
376
|
-
2. **Monitor Agent Consensus**: Review disagreement points for learning
|
|
377
|
-
3. **Validate Test Coverage**: Ensure comprehensive test generation
|
|
378
|
-
4. **Review Technical Debt**: Address accumulated debt in follow-up tasks
|
|
379
|
-
5. **Document Learnings**: Capture insights from agent collaborations
|
|
380
|
-
|
|
381
|
-
## Integration with Other Commands
|
|
382
|
-
|
|
383
|
-
- Complementary to `/explore` for initial context gathering
|
|
384
|
-
- Alternative to manual `/plan` → `/execute-plan` workflow
|
|
385
|
-
- Can be followed by `/review-code` for additional validation
|
|
386
|
-
- Use `/monitor` afterwards for observability setup
|