devflow-kit 0.9.0 → 1.1.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/CHANGELOG.md +197 -29
- package/LICENSE +1 -1
- package/README.md +185 -309
- package/dist/cli.js +7 -1
- package/dist/commands/ambient.d.ts +18 -0
- package/dist/commands/ambient.js +136 -0
- package/dist/commands/init.d.ts +23 -0
- package/dist/commands/init.js +393 -571
- package/dist/commands/list.d.ts +3 -0
- package/dist/commands/list.js +20 -0
- package/dist/commands/memory.d.ts +22 -0
- package/dist/commands/memory.js +175 -0
- package/dist/commands/uninstall.d.ts +10 -0
- package/dist/commands/uninstall.js +418 -78
- package/dist/plugins.d.ts +46 -0
- package/dist/plugins.js +169 -0
- package/dist/utils/cli.d.ts +5 -0
- package/dist/utils/cli.js +14 -0
- package/dist/utils/installer.d.ts +41 -0
- package/dist/utils/installer.js +177 -0
- package/dist/utils/paths.d.ts +10 -0
- package/dist/utils/paths.js +23 -3
- package/dist/utils/post-install.d.ts +80 -0
- package/dist/utils/post-install.js +508 -0
- package/dist/utils/safe-delete-install.d.ts +29 -0
- package/dist/utils/safe-delete-install.js +191 -0
- package/dist/utils/safe-delete.d.ts +12 -0
- package/dist/utils/safe-delete.js +83 -0
- package/package.json +18 -8
- package/plugins/devflow-ambient/.claude-plugin/plugin.json +7 -0
- package/plugins/devflow-ambient/README.md +49 -0
- package/plugins/devflow-ambient/commands/ambient.md +110 -0
- package/plugins/devflow-ambient/skills/ambient-router/SKILL.md +89 -0
- package/plugins/devflow-ambient/skills/ambient-router/references/skill-catalog.md +64 -0
- package/plugins/devflow-audit-claude/.claude-plugin/plugin.json +7 -0
- package/plugins/devflow-audit-claude/README.md +46 -0
- package/plugins/devflow-audit-claude/agents/claude-md-auditor.md +134 -0
- package/plugins/devflow-audit-claude/commands/audit-claude.md +85 -0
- package/plugins/devflow-code-review/.claude-plugin/plugin.json +31 -0
- package/plugins/devflow-code-review/README.md +73 -0
- package/plugins/devflow-code-review/agents/git.md +272 -0
- package/plugins/devflow-code-review/agents/reviewer.md +119 -0
- package/plugins/devflow-code-review/agents/synthesizer.md +204 -0
- package/plugins/devflow-code-review/commands/code-review-teams.md +262 -0
- package/plugins/devflow-code-review/commands/code-review.md +141 -0
- package/plugins/devflow-code-review/skills/accessibility/SKILL.md +229 -0
- package/plugins/devflow-code-review/skills/accessibility/references/detection.md +171 -0
- package/plugins/devflow-code-review/skills/accessibility/references/patterns.md +670 -0
- package/plugins/devflow-code-review/skills/accessibility/references/violations.md +419 -0
- package/plugins/devflow-code-review/skills/agent-teams/SKILL.md +124 -0
- package/plugins/devflow-code-review/skills/agent-teams/references/cleanup.md +104 -0
- package/plugins/devflow-code-review/skills/agent-teams/references/communication.md +122 -0
- package/plugins/devflow-code-review/skills/agent-teams/references/team-patterns.md +217 -0
- package/plugins/devflow-code-review/skills/architecture-patterns/SKILL.md +153 -0
- package/plugins/devflow-code-review/skills/architecture-patterns/references/detection.md +337 -0
- package/plugins/devflow-code-review/skills/architecture-patterns/references/patterns.md +873 -0
- package/plugins/devflow-code-review/skills/architecture-patterns/references/violations.md +575 -0
- package/plugins/devflow-code-review/skills/complexity-patterns/SKILL.md +143 -0
- package/plugins/devflow-code-review/skills/complexity-patterns/references/detection.md +264 -0
- package/plugins/devflow-code-review/skills/complexity-patterns/references/patterns.md +487 -0
- package/plugins/devflow-code-review/skills/complexity-patterns/references/violations.md +361 -0
- package/plugins/devflow-code-review/skills/consistency-patterns/SKILL.md +140 -0
- package/plugins/devflow-code-review/skills/consistency-patterns/references/detection.md +207 -0
- package/plugins/devflow-code-review/skills/consistency-patterns/references/patterns.md +202 -0
- package/plugins/devflow-code-review/skills/consistency-patterns/references/violations.md +213 -0
- package/plugins/devflow-code-review/skills/database-patterns/SKILL.md +134 -0
- package/plugins/devflow-code-review/skills/database-patterns/references/detection.md +208 -0
- package/plugins/devflow-code-review/skills/database-patterns/references/patterns.md +394 -0
- package/plugins/devflow-code-review/skills/database-patterns/references/violations.md +332 -0
- package/plugins/devflow-code-review/skills/dependencies-patterns/SKILL.md +141 -0
- package/plugins/devflow-code-review/skills/dependencies-patterns/references/detection.md +181 -0
- package/plugins/devflow-code-review/skills/dependencies-patterns/references/patterns.md +225 -0
- package/plugins/devflow-code-review/skills/dependencies-patterns/references/violations.md +247 -0
- package/plugins/devflow-code-review/skills/documentation-patterns/SKILL.md +125 -0
- package/plugins/devflow-code-review/skills/documentation-patterns/references/detection.md +190 -0
- package/plugins/devflow-code-review/skills/documentation-patterns/references/patterns.md +189 -0
- package/plugins/devflow-code-review/skills/documentation-patterns/references/violations.md +163 -0
- package/plugins/devflow-code-review/skills/frontend-design/SKILL.md +254 -0
- package/plugins/devflow-code-review/skills/frontend-design/references/detection.md +184 -0
- package/plugins/devflow-code-review/skills/frontend-design/references/patterns.md +511 -0
- package/plugins/devflow-code-review/skills/frontend-design/references/violations.md +453 -0
- package/plugins/devflow-code-review/skills/performance-patterns/SKILL.md +154 -0
- package/plugins/devflow-code-review/skills/performance-patterns/references/detection.md +351 -0
- package/plugins/devflow-code-review/skills/performance-patterns/references/patterns.md +503 -0
- package/plugins/devflow-code-review/skills/performance-patterns/references/violations.md +354 -0
- package/plugins/devflow-code-review/skills/react/SKILL.md +276 -0
- package/plugins/devflow-code-review/skills/react/references/patterns.md +1331 -0
- package/plugins/devflow-code-review/skills/react/references/violations.md +565 -0
- package/plugins/devflow-code-review/skills/regression-patterns/SKILL.md +146 -0
- package/plugins/devflow-code-review/skills/regression-patterns/references/detection.md +237 -0
- package/plugins/devflow-code-review/skills/regression-patterns/references/patterns.md +226 -0
- package/plugins/devflow-code-review/skills/regression-patterns/references/violations.md +225 -0
- package/plugins/devflow-code-review/skills/review-methodology/SKILL.md +119 -0
- package/plugins/devflow-code-review/skills/review-methodology/references/patterns.md +186 -0
- package/plugins/devflow-code-review/skills/review-methodology/references/report-template.md +142 -0
- package/plugins/devflow-code-review/skills/review-methodology/references/violations.md +125 -0
- package/plugins/devflow-code-review/skills/security-patterns/SKILL.md +156 -0
- package/plugins/devflow-code-review/skills/security-patterns/references/detection.md +287 -0
- package/plugins/devflow-code-review/skills/security-patterns/references/patterns.md +507 -0
- package/plugins/devflow-code-review/skills/security-patterns/references/violations.md +237 -0
- package/plugins/devflow-code-review/skills/test-patterns/SKILL.md +183 -0
- package/plugins/devflow-code-review/skills/test-patterns/references/detection.md +149 -0
- package/plugins/devflow-code-review/skills/test-patterns/references/patterns.md +220 -0
- package/plugins/devflow-code-review/skills/test-patterns/references/report-template.md +108 -0
- package/plugins/devflow-code-review/skills/test-patterns/references/violations.md +221 -0
- package/plugins/devflow-core-skills/.claude-plugin/plugin.json +28 -0
- package/plugins/devflow-core-skills/README.md +50 -0
- package/plugins/devflow-core-skills/skills/accessibility/SKILL.md +229 -0
- package/plugins/devflow-core-skills/skills/accessibility/references/detection.md +171 -0
- package/plugins/devflow-core-skills/skills/accessibility/references/patterns.md +670 -0
- package/plugins/devflow-core-skills/skills/accessibility/references/violations.md +419 -0
- package/plugins/devflow-core-skills/skills/core-patterns/SKILL.md +162 -0
- package/plugins/devflow-core-skills/skills/core-patterns/references/checklist.md +276 -0
- package/plugins/devflow-core-skills/skills/core-patterns/references/code-smell-violations.md +144 -0
- package/plugins/devflow-core-skills/skills/core-patterns/references/detection.md +303 -0
- package/plugins/devflow-core-skills/skills/core-patterns/references/patterns.md +576 -0
- package/plugins/devflow-core-skills/skills/core-patterns/references/violations.md +369 -0
- package/plugins/devflow-core-skills/skills/docs-framework/SKILL.md +138 -0
- package/plugins/devflow-core-skills/skills/docs-framework/references/patterns.md +346 -0
- package/plugins/devflow-core-skills/skills/docs-framework/references/violations.md +221 -0
- package/plugins/devflow-core-skills/skills/frontend-design/SKILL.md +254 -0
- package/plugins/devflow-core-skills/skills/frontend-design/references/detection.md +184 -0
- package/plugins/devflow-core-skills/skills/frontend-design/references/patterns.md +511 -0
- package/plugins/devflow-core-skills/skills/frontend-design/references/violations.md +453 -0
- package/plugins/devflow-core-skills/skills/git-safety/SKILL.md +122 -0
- package/plugins/devflow-core-skills/skills/git-safety/references/detection.md +290 -0
- package/plugins/devflow-core-skills/skills/git-safety/references/patterns.md +289 -0
- package/plugins/devflow-core-skills/skills/git-safety/references/violations.md +18 -0
- package/plugins/devflow-core-skills/skills/git-workflow/SKILL.md +158 -0
- package/plugins/devflow-core-skills/skills/git-workflow/references/commit-patterns.md +115 -0
- package/plugins/devflow-core-skills/skills/git-workflow/references/commit-violations.md +77 -0
- package/plugins/devflow-core-skills/skills/git-workflow/references/pr-patterns.md +127 -0
- package/plugins/devflow-core-skills/skills/git-workflow/references/pr-violations.md +96 -0
- package/plugins/devflow-core-skills/skills/github-patterns/SKILL.md +153 -0
- package/plugins/devflow-core-skills/skills/github-patterns/references/patterns.md +572 -0
- package/plugins/devflow-core-skills/skills/github-patterns/references/violations.md +298 -0
- package/plugins/devflow-core-skills/skills/input-validation/SKILL.md +148 -0
- package/plugins/devflow-core-skills/skills/input-validation/references/detection.md +283 -0
- package/plugins/devflow-core-skills/skills/input-validation/references/patterns.md +361 -0
- package/plugins/devflow-core-skills/skills/input-validation/references/violations.md +224 -0
- package/plugins/devflow-core-skills/skills/react/SKILL.md +276 -0
- package/plugins/devflow-core-skills/skills/react/references/patterns.md +1331 -0
- package/plugins/devflow-core-skills/skills/react/references/violations.md +565 -0
- package/plugins/devflow-core-skills/skills/test-driven-development/SKILL.md +139 -0
- package/plugins/devflow-core-skills/skills/test-driven-development/references/rationalization-prevention.md +111 -0
- package/plugins/devflow-core-skills/skills/test-patterns/SKILL.md +183 -0
- package/plugins/devflow-core-skills/skills/test-patterns/references/detection.md +149 -0
- package/plugins/devflow-core-skills/skills/test-patterns/references/patterns.md +220 -0
- package/plugins/devflow-core-skills/skills/test-patterns/references/report-template.md +108 -0
- package/plugins/devflow-core-skills/skills/test-patterns/references/violations.md +221 -0
- package/plugins/devflow-core-skills/skills/typescript/SKILL.md +176 -0
- package/plugins/devflow-core-skills/skills/typescript/references/patterns.md +1105 -0
- package/plugins/devflow-core-skills/skills/typescript/references/violations.md +433 -0
- package/plugins/devflow-debug/.claude-plugin/plugin.json +18 -0
- package/plugins/devflow-debug/README.md +65 -0
- package/plugins/devflow-debug/agents/git.md +272 -0
- package/plugins/devflow-debug/commands/debug-teams.md +231 -0
- package/plugins/devflow-debug/commands/debug.md +160 -0
- package/plugins/devflow-debug/skills/agent-teams/SKILL.md +124 -0
- package/plugins/devflow-debug/skills/agent-teams/references/cleanup.md +104 -0
- package/plugins/devflow-debug/skills/agent-teams/references/communication.md +122 -0
- package/plugins/devflow-debug/skills/agent-teams/references/team-patterns.md +217 -0
- package/plugins/devflow-debug/skills/git-safety/SKILL.md +122 -0
- package/plugins/devflow-debug/skills/git-safety/references/detection.md +290 -0
- package/plugins/devflow-debug/skills/git-safety/references/patterns.md +289 -0
- package/plugins/devflow-debug/skills/git-safety/references/violations.md +18 -0
- package/plugins/devflow-implement/.claude-plugin/plugin.json +21 -0
- package/plugins/devflow-implement/README.md +71 -0
- package/plugins/devflow-implement/agents/coder.md +122 -0
- package/plugins/devflow-implement/agents/git.md +272 -0
- package/plugins/devflow-implement/agents/scrutinizer.md +80 -0
- package/plugins/devflow-implement/agents/shepherd.md +94 -0
- package/plugins/devflow-implement/agents/simplifier.md +62 -0
- package/plugins/devflow-implement/agents/skimmer.md +88 -0
- package/plugins/devflow-implement/agents/synthesizer.md +204 -0
- package/plugins/devflow-implement/agents/validator.md +86 -0
- package/plugins/devflow-implement/commands/implement-teams.md +608 -0
- package/plugins/devflow-implement/commands/implement.md +426 -0
- package/plugins/devflow-implement/skills/accessibility/SKILL.md +229 -0
- package/plugins/devflow-implement/skills/accessibility/references/detection.md +171 -0
- package/plugins/devflow-implement/skills/accessibility/references/patterns.md +670 -0
- package/plugins/devflow-implement/skills/accessibility/references/violations.md +419 -0
- package/plugins/devflow-implement/skills/agent-teams/SKILL.md +124 -0
- package/plugins/devflow-implement/skills/agent-teams/references/cleanup.md +104 -0
- package/plugins/devflow-implement/skills/agent-teams/references/communication.md +122 -0
- package/plugins/devflow-implement/skills/agent-teams/references/team-patterns.md +217 -0
- package/plugins/devflow-implement/skills/frontend-design/SKILL.md +254 -0
- package/plugins/devflow-implement/skills/frontend-design/references/detection.md +184 -0
- package/plugins/devflow-implement/skills/frontend-design/references/patterns.md +511 -0
- package/plugins/devflow-implement/skills/frontend-design/references/violations.md +453 -0
- package/plugins/devflow-implement/skills/implementation-patterns/SKILL.md +162 -0
- package/plugins/devflow-implement/skills/implementation-patterns/references/patterns.md +1063 -0
- package/plugins/devflow-implement/skills/implementation-patterns/references/violations.md +483 -0
- package/plugins/devflow-implement/skills/self-review/SKILL.md +149 -0
- package/plugins/devflow-implement/skills/self-review/references/patterns.md +405 -0
- package/plugins/devflow-implement/skills/self-review/references/report-template.md +253 -0
- package/plugins/devflow-implement/skills/self-review/references/violations.md +308 -0
- package/plugins/devflow-resolve/.claude-plugin/plugin.json +19 -0
- package/plugins/devflow-resolve/README.md +65 -0
- package/plugins/devflow-resolve/agents/git.md +272 -0
- package/plugins/devflow-resolve/agents/resolver.md +131 -0
- package/plugins/devflow-resolve/agents/simplifier.md +62 -0
- package/plugins/devflow-resolve/commands/resolve-teams.md +298 -0
- package/plugins/devflow-resolve/commands/resolve.md +237 -0
- package/plugins/devflow-resolve/skills/agent-teams/SKILL.md +124 -0
- package/plugins/devflow-resolve/skills/agent-teams/references/cleanup.md +104 -0
- package/plugins/devflow-resolve/skills/agent-teams/references/communication.md +122 -0
- package/plugins/devflow-resolve/skills/agent-teams/references/team-patterns.md +217 -0
- package/plugins/devflow-resolve/skills/implementation-patterns/SKILL.md +162 -0
- package/plugins/devflow-resolve/skills/implementation-patterns/references/patterns.md +1063 -0
- package/plugins/devflow-resolve/skills/implementation-patterns/references/violations.md +483 -0
- package/plugins/devflow-resolve/skills/security-patterns/SKILL.md +156 -0
- package/plugins/devflow-resolve/skills/security-patterns/references/detection.md +287 -0
- package/plugins/devflow-resolve/skills/security-patterns/references/patterns.md +507 -0
- package/plugins/devflow-resolve/skills/security-patterns/references/violations.md +237 -0
- package/plugins/devflow-self-review/.claude-plugin/plugin.json +7 -0
- package/plugins/devflow-self-review/README.md +38 -0
- package/plugins/devflow-self-review/agents/scrutinizer.md +80 -0
- package/plugins/devflow-self-review/agents/simplifier.md +62 -0
- package/plugins/devflow-self-review/agents/validator.md +86 -0
- package/plugins/devflow-self-review/commands/self-review.md +126 -0
- package/plugins/devflow-self-review/skills/core-patterns/SKILL.md +162 -0
- package/plugins/devflow-self-review/skills/core-patterns/references/checklist.md +276 -0
- package/plugins/devflow-self-review/skills/core-patterns/references/code-smell-violations.md +144 -0
- package/plugins/devflow-self-review/skills/core-patterns/references/detection.md +303 -0
- package/plugins/devflow-self-review/skills/core-patterns/references/patterns.md +576 -0
- package/plugins/devflow-self-review/skills/core-patterns/references/violations.md +369 -0
- package/plugins/devflow-self-review/skills/self-review/SKILL.md +149 -0
- package/plugins/devflow-self-review/skills/self-review/references/patterns.md +405 -0
- package/plugins/devflow-self-review/skills/self-review/references/report-template.md +253 -0
- package/plugins/devflow-self-review/skills/self-review/references/violations.md +308 -0
- package/plugins/devflow-specify/.claude-plugin/plugin.json +15 -0
- package/plugins/devflow-specify/README.md +46 -0
- package/plugins/devflow-specify/agents/skimmer.md +88 -0
- package/plugins/devflow-specify/agents/synthesizer.md +204 -0
- package/plugins/devflow-specify/commands/specify-teams.md +314 -0
- package/plugins/devflow-specify/commands/specify.md +179 -0
- package/plugins/devflow-specify/skills/agent-teams/SKILL.md +124 -0
- package/plugins/devflow-specify/skills/agent-teams/references/cleanup.md +104 -0
- package/plugins/devflow-specify/skills/agent-teams/references/communication.md +122 -0
- package/plugins/devflow-specify/skills/agent-teams/references/team-patterns.md +217 -0
- package/scripts/hooks/ambient-prompt.sh +48 -0
- package/scripts/hooks/background-memory-update.sh +208 -0
- package/scripts/hooks/ensure-memory-gitignore.sh +17 -0
- package/scripts/hooks/pre-compact-memory.sh +87 -0
- package/scripts/hooks/session-start-memory.sh +126 -0
- package/scripts/hooks/stop-update-memory.sh +85 -0
- package/shared/agents/coder.md +122 -0
- package/shared/agents/git.md +272 -0
- package/shared/agents/resolver.md +131 -0
- package/shared/agents/reviewer.md +119 -0
- package/shared/agents/scrutinizer.md +80 -0
- package/shared/agents/shepherd.md +94 -0
- package/shared/agents/simplifier.md +62 -0
- package/shared/agents/skimmer.md +88 -0
- package/shared/agents/synthesizer.md +204 -0
- package/shared/agents/validator.md +86 -0
- package/shared/skills/accessibility/SKILL.md +229 -0
- package/shared/skills/accessibility/references/detection.md +171 -0
- package/shared/skills/accessibility/references/patterns.md +670 -0
- package/shared/skills/accessibility/references/violations.md +419 -0
- package/shared/skills/agent-teams/SKILL.md +124 -0
- package/shared/skills/agent-teams/references/cleanup.md +104 -0
- package/shared/skills/agent-teams/references/communication.md +122 -0
- package/shared/skills/agent-teams/references/team-patterns.md +217 -0
- package/shared/skills/ambient-router/SKILL.md +89 -0
- package/shared/skills/ambient-router/references/skill-catalog.md +64 -0
- package/shared/skills/architecture-patterns/SKILL.md +153 -0
- package/shared/skills/architecture-patterns/references/detection.md +337 -0
- package/shared/skills/architecture-patterns/references/patterns.md +873 -0
- package/shared/skills/architecture-patterns/references/violations.md +575 -0
- package/shared/skills/complexity-patterns/SKILL.md +143 -0
- package/shared/skills/complexity-patterns/references/detection.md +264 -0
- package/shared/skills/complexity-patterns/references/patterns.md +487 -0
- package/shared/skills/complexity-patterns/references/violations.md +361 -0
- package/shared/skills/consistency-patterns/SKILL.md +140 -0
- package/shared/skills/consistency-patterns/references/detection.md +207 -0
- package/shared/skills/consistency-patterns/references/patterns.md +202 -0
- package/shared/skills/consistency-patterns/references/violations.md +213 -0
- package/shared/skills/core-patterns/SKILL.md +162 -0
- package/shared/skills/core-patterns/references/checklist.md +276 -0
- package/shared/skills/core-patterns/references/code-smell-violations.md +144 -0
- package/shared/skills/core-patterns/references/detection.md +303 -0
- package/shared/skills/core-patterns/references/patterns.md +576 -0
- package/shared/skills/core-patterns/references/violations.md +369 -0
- package/shared/skills/database-patterns/SKILL.md +134 -0
- package/shared/skills/database-patterns/references/detection.md +208 -0
- package/shared/skills/database-patterns/references/patterns.md +394 -0
- package/shared/skills/database-patterns/references/violations.md +332 -0
- package/shared/skills/dependencies-patterns/SKILL.md +141 -0
- package/shared/skills/dependencies-patterns/references/detection.md +181 -0
- package/shared/skills/dependencies-patterns/references/patterns.md +225 -0
- package/shared/skills/dependencies-patterns/references/violations.md +247 -0
- package/shared/skills/docs-framework/SKILL.md +138 -0
- package/shared/skills/docs-framework/references/patterns.md +346 -0
- package/shared/skills/docs-framework/references/violations.md +221 -0
- package/shared/skills/documentation-patterns/SKILL.md +125 -0
- package/shared/skills/documentation-patterns/references/detection.md +190 -0
- package/shared/skills/documentation-patterns/references/patterns.md +189 -0
- package/shared/skills/documentation-patterns/references/violations.md +163 -0
- package/shared/skills/frontend-design/SKILL.md +254 -0
- package/shared/skills/frontend-design/references/detection.md +184 -0
- package/shared/skills/frontend-design/references/patterns.md +511 -0
- package/shared/skills/frontend-design/references/violations.md +453 -0
- package/shared/skills/git-safety/SKILL.md +122 -0
- package/shared/skills/git-safety/references/detection.md +290 -0
- package/shared/skills/git-safety/references/patterns.md +289 -0
- package/shared/skills/git-safety/references/violations.md +18 -0
- package/shared/skills/git-workflow/SKILL.md +158 -0
- package/shared/skills/git-workflow/references/commit-patterns.md +115 -0
- package/shared/skills/git-workflow/references/commit-violations.md +77 -0
- package/shared/skills/git-workflow/references/pr-patterns.md +127 -0
- package/shared/skills/git-workflow/references/pr-violations.md +96 -0
- package/shared/skills/github-patterns/SKILL.md +153 -0
- package/shared/skills/github-patterns/references/patterns.md +572 -0
- package/shared/skills/github-patterns/references/violations.md +298 -0
- package/shared/skills/implementation-patterns/SKILL.md +162 -0
- package/shared/skills/implementation-patterns/references/patterns.md +1063 -0
- package/shared/skills/implementation-patterns/references/violations.md +483 -0
- package/shared/skills/input-validation/SKILL.md +148 -0
- package/shared/skills/input-validation/references/detection.md +283 -0
- package/shared/skills/input-validation/references/patterns.md +361 -0
- package/shared/skills/input-validation/references/violations.md +224 -0
- package/shared/skills/performance-patterns/SKILL.md +154 -0
- package/shared/skills/performance-patterns/references/detection.md +351 -0
- package/shared/skills/performance-patterns/references/patterns.md +503 -0
- package/shared/skills/performance-patterns/references/violations.md +354 -0
- package/shared/skills/react/SKILL.md +276 -0
- package/shared/skills/react/references/patterns.md +1331 -0
- package/shared/skills/react/references/violations.md +565 -0
- package/shared/skills/regression-patterns/SKILL.md +146 -0
- package/shared/skills/regression-patterns/references/detection.md +237 -0
- package/shared/skills/regression-patterns/references/patterns.md +226 -0
- package/shared/skills/regression-patterns/references/violations.md +225 -0
- package/shared/skills/review-methodology/SKILL.md +119 -0
- package/shared/skills/review-methodology/references/patterns.md +186 -0
- package/shared/skills/review-methodology/references/report-template.md +142 -0
- package/shared/skills/review-methodology/references/violations.md +125 -0
- package/shared/skills/security-patterns/SKILL.md +156 -0
- package/shared/skills/security-patterns/references/detection.md +287 -0
- package/shared/skills/security-patterns/references/patterns.md +507 -0
- package/shared/skills/security-patterns/references/violations.md +237 -0
- package/shared/skills/self-review/SKILL.md +149 -0
- package/shared/skills/self-review/references/patterns.md +405 -0
- package/shared/skills/self-review/references/report-template.md +253 -0
- package/shared/skills/self-review/references/violations.md +308 -0
- package/shared/skills/test-driven-development/SKILL.md +139 -0
- package/shared/skills/test-driven-development/references/rationalization-prevention.md +111 -0
- package/shared/skills/test-patterns/SKILL.md +183 -0
- package/shared/skills/test-patterns/references/detection.md +149 -0
- package/shared/skills/test-patterns/references/patterns.md +220 -0
- package/shared/skills/test-patterns/references/report-template.md +108 -0
- package/shared/skills/test-patterns/references/violations.md +221 -0
- package/shared/skills/typescript/SKILL.md +176 -0
- package/shared/skills/typescript/references/patterns.md +1105 -0
- package/shared/skills/typescript/references/violations.md +433 -0
- package/src/templates/claudeignore.template +188 -0
- package/src/templates/managed-settings.json +160 -0
- package/src/templates/settings.json +59 -0
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js.map +0 -1
- package/dist/commands/uninstall.d.ts.map +0 -1
- package/dist/commands/uninstall.js.map +0 -1
- package/dist/utils/git.d.ts.map +0 -1
- package/dist/utils/git.js.map +0 -1
- package/dist/utils/paths.d.ts.map +0 -1
- package/dist/utils/paths.js.map +0 -1
- package/src/claude/CLAUDE.md +0 -400
- package/src/claude/agents/devflow/audit-architecture.md +0 -132
- package/src/claude/agents/devflow/audit-complexity.md +0 -132
- package/src/claude/agents/devflow/audit-database.md +0 -132
- package/src/claude/agents/devflow/audit-dependencies.md +0 -132
- package/src/claude/agents/devflow/audit-documentation.md +0 -132
- package/src/claude/agents/devflow/audit-performance.md +0 -256
- package/src/claude/agents/devflow/audit-security.md +0 -259
- package/src/claude/agents/devflow/audit-tests.md +0 -132
- package/src/claude/agents/devflow/audit-typescript.md +0 -132
- package/src/claude/agents/devflow/brainstorm.md +0 -279
- package/src/claude/agents/devflow/catch-up.md +0 -345
- package/src/claude/agents/devflow/code-review.md +0 -307
- package/src/claude/agents/devflow/commit.md +0 -380
- package/src/claude/agents/devflow/debug.md +0 -476
- package/src/claude/agents/devflow/design.md +0 -491
- package/src/claude/agents/devflow/get-issue.md +0 -286
- package/src/claude/agents/devflow/pr-comments.md +0 -285
- package/src/claude/agents/devflow/project-state.md +0 -419
- package/src/claude/agents/devflow/pull-request.md +0 -493
- package/src/claude/agents/devflow/release.md +0 -1137
- package/src/claude/agents/devflow/tech-debt.md +0 -338
- package/src/claude/commands/devflow/brainstorm.md +0 -68
- package/src/claude/commands/devflow/breakdown.md +0 -125
- package/src/claude/commands/devflow/catch-up.md +0 -29
- package/src/claude/commands/devflow/code-review.md +0 -237
- package/src/claude/commands/devflow/commit.md +0 -17
- package/src/claude/commands/devflow/debug.md +0 -56
- package/src/claude/commands/devflow/design.md +0 -82
- package/src/claude/commands/devflow/devlog.md +0 -408
- package/src/claude/commands/devflow/get-issue.md +0 -16
- package/src/claude/commands/devflow/implement.md +0 -100
- package/src/claude/commands/devflow/plan.md +0 -223
- package/src/claude/commands/devflow/pull-request.md +0 -20
- package/src/claude/commands/devflow/release.md +0 -251
- package/src/claude/commands/devflow/resolve-comments.md +0 -583
- package/src/claude/scripts/statusline.sh +0 -47
- package/src/claude/settings.json +0 -6
- package/src/claude/skills/devflow/code-smell/SKILL.md +0 -428
- package/src/claude/skills/devflow/debug/SKILL.md +0 -119
- package/src/claude/skills/devflow/error-handling/SKILL.md +0 -597
- package/src/claude/skills/devflow/input-validation/SKILL.md +0 -514
- package/src/claude/skills/devflow/pattern-check/SKILL.md +0 -238
- package/src/claude/skills/devflow/research/SKILL.md +0 -138
- package/src/claude/skills/devflow/test-design/SKILL.md +0 -384
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: tech-debt
|
|
3
|
-
description: Manages tech debt GitHub issue - adds new items and cleans up fixed ones
|
|
4
|
-
tools: Bash, Read, Grep, Glob
|
|
5
|
-
model: haiku
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
You are a tech debt management specialist responsible for maintaining the Tech Debt Backlog GitHub issue. You add new pre-existing issues found during code reviews and clean up items that have been fixed.
|
|
9
|
-
|
|
10
|
-
## Your Task
|
|
11
|
-
|
|
12
|
-
1. Find or create the Tech Debt Backlog issue
|
|
13
|
-
2. Add new pre-existing (ℹ️) issues from code review (deduplicated)
|
|
14
|
-
3. Check existing items and remove those that are fixed
|
|
15
|
-
4. Handle issue size limits with archiving
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
## Step 1: Gather Context
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
# Get current branch and repo info
|
|
23
|
-
CURRENT_BRANCH=$(git branch --show-current)
|
|
24
|
-
REPO_INFO=$(gh repo view --json nameWithOwner -q '.nameWithOwner' 2>/dev/null || echo "")
|
|
25
|
-
|
|
26
|
-
# Audit directory and timestamp from orchestrator
|
|
27
|
-
AUDIT_BASE_DIR="${AUDIT_BASE_DIR:-.docs/audits/$(echo $CURRENT_BRANCH | sed 's/\//-/g')}"
|
|
28
|
-
TIMESTAMP="${TIMESTAMP:-$(date +%Y-%m-%d_%H%M)}"
|
|
29
|
-
|
|
30
|
-
echo "=== TECH DEBT AGENT ==="
|
|
31
|
-
echo "Branch: $CURRENT_BRANCH"
|
|
32
|
-
echo "Audit Dir: $AUDIT_BASE_DIR"
|
|
33
|
-
echo "Repo: $REPO_INFO"
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Step 2: Find or Create Tech Debt Issue
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
# Search for existing tech debt issue
|
|
42
|
-
TECH_DEBT_ISSUE=$(gh issue list \
|
|
43
|
-
--label "tech-debt" \
|
|
44
|
-
--state open \
|
|
45
|
-
--json number,title \
|
|
46
|
-
--jq '.[] | select(.title | contains("Tech Debt Backlog")) | .number' \
|
|
47
|
-
| head -1)
|
|
48
|
-
|
|
49
|
-
if [ -z "$TECH_DEBT_ISSUE" ]; then
|
|
50
|
-
echo "📝 Creating new Tech Debt Backlog issue..."
|
|
51
|
-
|
|
52
|
-
TECH_DEBT_ISSUE=$(gh issue create \
|
|
53
|
-
--title "Tech Debt Backlog" \
|
|
54
|
-
--label "tech-debt" \
|
|
55
|
-
--body "$(cat <<'EOF'
|
|
56
|
-
# Tech Debt Backlog
|
|
57
|
-
|
|
58
|
-
> Auto-maintained by `/code-review`. Items are added when pre-existing issues are found during code reviews.
|
|
59
|
-
|
|
60
|
-
## How This Works
|
|
61
|
-
- Issues found in code you didn't change are logged here
|
|
62
|
-
- Each item links to the review that found it
|
|
63
|
-
- Items are automatically removed when fixed
|
|
64
|
-
- Check items off manually as you address them
|
|
65
|
-
|
|
66
|
-
## Items
|
|
67
|
-
|
|
68
|
-
*No items yet - will be populated by code reviews*
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
*Last updated: never*
|
|
73
|
-
EOF
|
|
74
|
-
)" --json number -q '.number')
|
|
75
|
-
|
|
76
|
-
echo "✅ Created Tech Debt issue #$TECH_DEBT_ISSUE"
|
|
77
|
-
else
|
|
78
|
-
echo "✅ Found Tech Debt issue #$TECH_DEBT_ISSUE"
|
|
79
|
-
fi
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
---
|
|
83
|
-
|
|
84
|
-
## Step 3: Read Current Issue State
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# Get current issue body
|
|
88
|
-
CURRENT_BODY=$(gh issue view $TECH_DEBT_ISSUE --json body -q '.body')
|
|
89
|
-
BODY_LENGTH=${#CURRENT_BODY}
|
|
90
|
-
|
|
91
|
-
echo "Current issue body length: $BODY_LENGTH characters"
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
Parse existing items from the issue body. Items follow this format:
|
|
95
|
-
```
|
|
96
|
-
- [ ] **[audit-type]** `file:line` - description
|
|
97
|
-
→ [Review: date](path-to-doc)
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Extract:
|
|
101
|
-
- Checkbox state (checked/unchecked)
|
|
102
|
-
- Audit type
|
|
103
|
-
- File path and line number
|
|
104
|
-
- Description
|
|
105
|
-
- Review doc reference
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## Step 4: Check Issue Size - Archive if Needed
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
# GitHub issue body limit is ~65,536 characters
|
|
113
|
-
MAX_SIZE=60000
|
|
114
|
-
|
|
115
|
-
if [ $BODY_LENGTH -gt $MAX_SIZE ]; then
|
|
116
|
-
echo "📦 Tech debt issue approaching size limit, archiving..."
|
|
117
|
-
|
|
118
|
-
OLD_ISSUE_NUMBER=$TECH_DEBT_ISSUE
|
|
119
|
-
|
|
120
|
-
# Close current issue with archive note
|
|
121
|
-
gh issue close $TECH_DEBT_ISSUE --comment "$(cat <<EOF
|
|
122
|
-
## Archived
|
|
123
|
-
|
|
124
|
-
This issue reached the size limit and has been archived.
|
|
125
|
-
**Continued in:** (new issue linked below)
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
*Archived by DevFlow tech-debt agent*
|
|
129
|
-
EOF
|
|
130
|
-
)"
|
|
131
|
-
|
|
132
|
-
# Create new issue with reference to archive
|
|
133
|
-
TECH_DEBT_ISSUE=$(gh issue create \
|
|
134
|
-
--title "Tech Debt Backlog" \
|
|
135
|
-
--label "tech-debt" \
|
|
136
|
-
--body "$(cat <<EOF
|
|
137
|
-
# Tech Debt Backlog
|
|
138
|
-
|
|
139
|
-
> Auto-maintained by \`/code-review\`.
|
|
140
|
-
|
|
141
|
-
## Previous Archives
|
|
142
|
-
- #${OLD_ISSUE_NUMBER} (archived)
|
|
143
|
-
|
|
144
|
-
## How This Works
|
|
145
|
-
- Issues found in code you didn't change are logged here
|
|
146
|
-
- Each item links to the review that found it
|
|
147
|
-
- Items are automatically removed when fixed
|
|
148
|
-
|
|
149
|
-
## Items
|
|
150
|
-
|
|
151
|
-
*Continued from #${OLD_ISSUE_NUMBER}*
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
*Last updated: $(date +%Y-%m-%d)*
|
|
156
|
-
EOF
|
|
157
|
-
)" --json number -q '.number')
|
|
158
|
-
|
|
159
|
-
# Link back from archived issue
|
|
160
|
-
gh issue comment $OLD_ISSUE_NUMBER --body "**Continued in:** #${TECH_DEBT_ISSUE}"
|
|
161
|
-
|
|
162
|
-
echo "✅ Archived to #$OLD_ISSUE_NUMBER, new issue #$TECH_DEBT_ISSUE"
|
|
163
|
-
|
|
164
|
-
# Reset current body for new issue
|
|
165
|
-
CURRENT_BODY=$(gh issue view $TECH_DEBT_ISSUE --json body -q '.body')
|
|
166
|
-
fi
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## Step 5: Read New Pre-existing Issues from Audit Reports
|
|
172
|
-
|
|
173
|
-
Read all audit reports and extract ℹ️ pre-existing issues:
|
|
174
|
-
|
|
175
|
-
```bash
|
|
176
|
-
ls -1 "$AUDIT_BASE_DIR"/*-report.*.md 2>/dev/null
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
For each report, extract items from "ℹ️ Pre-existing Issues" sections:
|
|
180
|
-
- Audit type (from report name)
|
|
181
|
-
- File path and line number
|
|
182
|
-
- Brief description
|
|
183
|
-
- Severity level
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
## Step 6: Deduplicate New Items
|
|
188
|
-
|
|
189
|
-
For each new item, check if semantically similar entry exists:
|
|
190
|
-
|
|
191
|
-
**Deduplication Logic:**
|
|
192
|
-
|
|
193
|
-
```
|
|
194
|
-
For each new_item:
|
|
195
|
-
is_duplicate = false
|
|
196
|
-
|
|
197
|
-
For each existing_item in current_issue:
|
|
198
|
-
# Fast path: file + audit type match
|
|
199
|
-
if new_item.file == existing_item.file AND
|
|
200
|
-
new_item.audit_type == existing_item.audit_type:
|
|
201
|
-
|
|
202
|
-
# Check description similarity
|
|
203
|
-
if descriptions_similar(new_item.desc, existing_item.desc):
|
|
204
|
-
is_duplicate = true
|
|
205
|
-
break
|
|
206
|
-
|
|
207
|
-
if not is_duplicate:
|
|
208
|
-
items_to_add.append(new_item)
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
**Description similarity check:**
|
|
212
|
-
- Extract key terms (function names, variable names, issue type)
|
|
213
|
-
- Compare first 50 characters
|
|
214
|
-
- Match patterns like "N+1 query" regardless of exact wording
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
## Step 7: Clean Up Fixed Items
|
|
219
|
-
|
|
220
|
-
For each unchecked item in the current issue, verify if still present:
|
|
221
|
-
|
|
222
|
-
### Verification Process
|
|
223
|
-
|
|
224
|
-
**1. Check if file exists:**
|
|
225
|
-
```bash
|
|
226
|
-
if [ ! -f "$FILE_PATH" ]; then
|
|
227
|
-
mark_as_fixed "File deleted"
|
|
228
|
-
fi
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
**2. Check if issue pattern still present:**
|
|
232
|
-
|
|
233
|
-
| Audit Type | Verification |
|
|
234
|
-
|------------|--------------|
|
|
235
|
-
| security | Look for vulnerable pattern (SQL concat, hardcoded secrets) |
|
|
236
|
-
| performance | Check for N+1 patterns, nested loops |
|
|
237
|
-
| architecture | Check coupling/dependency issues |
|
|
238
|
-
| complexity | Check cyclomatic complexity indicators |
|
|
239
|
-
| tests | Check if test coverage added |
|
|
240
|
-
| dependencies | Check if package updated/removed |
|
|
241
|
-
| documentation | Check if docs added |
|
|
242
|
-
| typescript | Check if type issues fixed |
|
|
243
|
-
|
|
244
|
-
**3. Context-aware check (lines may shift):**
|
|
245
|
-
```bash
|
|
246
|
-
# Read surrounding lines (±10 from reported location)
|
|
247
|
-
CONTEXT=$(sed -n "$((LINE-10)),$((LINE+10))p" "$FILE" 2>/dev/null)
|
|
248
|
-
|
|
249
|
-
# Search for issue pattern in context
|
|
250
|
-
if echo "$CONTEXT" | grep -qE "$PATTERN"; then
|
|
251
|
-
echo "STILL PRESENT"
|
|
252
|
-
else
|
|
253
|
-
echo "POSSIBLY FIXED"
|
|
254
|
-
fi
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
### Categorize Results
|
|
258
|
-
|
|
259
|
-
- **Definitely Fixed:** File deleted, pattern gone
|
|
260
|
-
- **Possibly Fixed:** Code changed significantly, pattern not found
|
|
261
|
-
- **Still Present:** Pattern clearly exists
|
|
262
|
-
- **Already Checked:** User marked as done (keep as-is)
|
|
263
|
-
|
|
264
|
-
---
|
|
265
|
-
|
|
266
|
-
## Step 8: Update Issue Body
|
|
267
|
-
|
|
268
|
-
Construct updated issue body:
|
|
269
|
-
|
|
270
|
-
1. Keep header and instructions
|
|
271
|
-
2. Remove definitely fixed items
|
|
272
|
-
3. Add "⚠️ possibly fixed" note to uncertain items
|
|
273
|
-
4. Add new deduplicated items
|
|
274
|
-
5. Update timestamp
|
|
275
|
-
|
|
276
|
-
**New Item Format:**
|
|
277
|
-
```markdown
|
|
278
|
-
- [ ] **[{audit-type}]** `{file}:{line}` - {brief description}
|
|
279
|
-
→ [Review: {date}]({relative-path-to-review-doc})
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
**Update Command:**
|
|
283
|
-
```bash
|
|
284
|
-
gh issue edit $TECH_DEBT_ISSUE --body "$UPDATED_BODY"
|
|
285
|
-
```
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
## Step 9: Report Results
|
|
290
|
-
|
|
291
|
-
Return summary to orchestrator:
|
|
292
|
-
|
|
293
|
-
```markdown
|
|
294
|
-
## Tech Debt Management Complete
|
|
295
|
-
|
|
296
|
-
**Issue:** #${TECH_DEBT_ISSUE}
|
|
297
|
-
|
|
298
|
-
### New Items
|
|
299
|
-
- Added: {count} new items
|
|
300
|
-
- Duplicates skipped: {count}
|
|
301
|
-
|
|
302
|
-
### Cleanup Results
|
|
303
|
-
| Status | Count |
|
|
304
|
-
|--------|-------|
|
|
305
|
-
| ✅ Removed (fixed) | {count} |
|
|
306
|
-
| ⚠️ Marked possibly fixed | {count} |
|
|
307
|
-
| ⏳ Still present | {count} |
|
|
308
|
-
| ☑️ Already checked off | {count} |
|
|
309
|
-
|
|
310
|
-
### Items Removed
|
|
311
|
-
{List with reasons}
|
|
312
|
-
1. `src/old-auth.ts:45` - File deleted
|
|
313
|
-
2. `src/api/users.ts:120` - Pattern no longer present
|
|
314
|
-
|
|
315
|
-
### Items Added
|
|
316
|
-
{List of new items}
|
|
317
|
-
1. **[security]** `src/db/queries.ts:89` - SQL concatenation
|
|
318
|
-
2. **[performance]** `src/services/orders.ts:234` - N+1 query
|
|
319
|
-
|
|
320
|
-
### Archive Status
|
|
321
|
-
{If archived: "Archived #X, continued in #Y"}
|
|
322
|
-
{If not: "Within size limits ({length}/60000 chars)"}
|
|
323
|
-
|
|
324
|
-
---
|
|
325
|
-
**Total backlog items:** {count}
|
|
326
|
-
**Issue URL:** https://github.com/{repo}/issues/{number}
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
---
|
|
330
|
-
|
|
331
|
-
## Key Principles
|
|
332
|
-
|
|
333
|
-
1. **Semantic deduplication** - Don't add items that already exist
|
|
334
|
-
2. **Conservative removal** - Only remove when confident it's fixed
|
|
335
|
-
3. **Preserve history** - Archive instead of delete when full
|
|
336
|
-
4. **Line tolerance** - Code shifts; check context, not exact line
|
|
337
|
-
5. **Clear audit trail** - Link items to review docs
|
|
338
|
-
6. **Minimal noise** - Keep issue focused and actionable
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Task
|
|
3
|
-
description: Explore design decisions and architectural approaches for a feature - use '/brainstorm [feature description]'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Your task
|
|
7
|
-
|
|
8
|
-
Launch the `brainstorm` sub-agent to explore design decisions and architectural approaches for: `$ARGUMENTS`
|
|
9
|
-
|
|
10
|
-
If no arguments provided, use the previous discussion context to infer the feature, or prompt the user for the feature to brainstorm.
|
|
11
|
-
|
|
12
|
-
### Brainstorm Process
|
|
13
|
-
|
|
14
|
-
The brainstorm agent will:
|
|
15
|
-
|
|
16
|
-
1. **Analyze Codebase Context** - Understand existing architecture, patterns, and tech stack
|
|
17
|
-
2. **Identify Design Decisions** - What architectural choices need to be made?
|
|
18
|
-
3. **Explore Approaches** - Present multiple viable solutions with trade-offs
|
|
19
|
-
4. **Evaluate Options** - Pros/cons of each approach in THIS codebase context
|
|
20
|
-
5. **Recommend Direction** - Best-fit approach with clear rationale
|
|
21
|
-
|
|
22
|
-
### Next: Present Design Options
|
|
23
|
-
|
|
24
|
-
After the sub-agent completes, present a concise summary to the user:
|
|
25
|
-
|
|
26
|
-
```markdown
|
|
27
|
-
🧠 BRAINSTORM COMPLETE: $ARGUMENTS
|
|
28
|
-
|
|
29
|
-
## 🎯 KEY DESIGN DECISIONS
|
|
30
|
-
|
|
31
|
-
{List of architectural choices to make}
|
|
32
|
-
|
|
33
|
-
## 💡 APPROACH OPTIONS
|
|
34
|
-
|
|
35
|
-
### Option 1: {Name}
|
|
36
|
-
**Pros**: {advantages}
|
|
37
|
-
**Cons**: {disadvantages}
|
|
38
|
-
**Fit**: {how it fits this codebase}
|
|
39
|
-
|
|
40
|
-
### Option 2: {Name}
|
|
41
|
-
**Pros**: {advantages}
|
|
42
|
-
**Cons**: {disadvantages}
|
|
43
|
-
**Fit**: {how it fits this codebase}
|
|
44
|
-
|
|
45
|
-
## ✅ RECOMMENDATION
|
|
46
|
-
|
|
47
|
-
{Recommended approach with rationale}
|
|
48
|
-
|
|
49
|
-
## 🏗️ ARCHITECTURAL IMPACT
|
|
50
|
-
|
|
51
|
-
{How this affects existing code structure}
|
|
52
|
-
|
|
53
|
-
## 🚧 OPEN QUESTIONS
|
|
54
|
-
|
|
55
|
-
{Decisions still needed from user}
|
|
56
|
-
|
|
57
|
-
📄 Full brainstorm analysis available from sub-agent output above
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
💡 **Usage Examples**:
|
|
61
|
-
- `/brainstorm user authentication system`
|
|
62
|
-
- `/brainstorm real-time notifications`
|
|
63
|
-
- `/brainstorm state management refactor`
|
|
64
|
-
- `/brainstorm API versioning strategy`
|
|
65
|
-
|
|
66
|
-
**When to use `/brainstorm` vs `/design`**:
|
|
67
|
-
- **Brainstorm** = "What approach should we take?" (architecture decisions)
|
|
68
|
-
- **Design** = "How should we implement it?" (detailed implementation plan)
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: TodoWrite
|
|
3
|
-
description: Quickly break down discussion into actionable tasks without interactive triage
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Your task
|
|
7
|
-
|
|
8
|
-
Extract action items from the current conversation and immediately save them as todos. No interaction, no triage, no GitHub issues - just fast task decomposition.
|
|
9
|
-
|
|
10
|
-
**Goal**: Quick capture of actionable items from discussion.
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## Step 1: Extract Action Items
|
|
15
|
-
|
|
16
|
-
Scan the conversation for concrete next steps:
|
|
17
|
-
|
|
18
|
-
**Look for**:
|
|
19
|
-
- Tasks mentioned or implied ("We should...", "I'll need to...", "Let me...")
|
|
20
|
-
- Code changes discussed or agreed upon
|
|
21
|
-
- Files to create, modify, or review
|
|
22
|
-
- Dependencies to install or configure
|
|
23
|
-
- Tests to write or update
|
|
24
|
-
- Documentation to update
|
|
25
|
-
- Decisions that need to be made
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## Step 2: Convert to Specific Todos
|
|
30
|
-
|
|
31
|
-
Transform extracted items into actionable tasks:
|
|
32
|
-
|
|
33
|
-
**Good**:
|
|
34
|
-
- "Add authentication middleware to routes in `src/middleware/auth`"
|
|
35
|
-
- "Write unit tests for user registration in `tests/auth.test.ts`"
|
|
36
|
-
- "Install password hashing library dependency"
|
|
37
|
-
|
|
38
|
-
**Bad**:
|
|
39
|
-
- "Improve authentication" (vague)
|
|
40
|
-
- "Add better error handling" (not specific)
|
|
41
|
-
- "Make it more secure" (not actionable)
|
|
42
|
-
|
|
43
|
-
---
|
|
44
|
-
|
|
45
|
-
## Step 3: Prioritize by Dependencies
|
|
46
|
-
|
|
47
|
-
Order tasks logically:
|
|
48
|
-
1. **Dependencies first** - installations, setup
|
|
49
|
-
2. **Core implementation** - main functionality
|
|
50
|
-
3. **Tests** - verification
|
|
51
|
-
4. **Documentation** - updates
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Step 4: Save with TodoWrite
|
|
56
|
-
|
|
57
|
-
```json
|
|
58
|
-
[
|
|
59
|
-
{
|
|
60
|
-
"content": "${specific_task_description}",
|
|
61
|
-
"status": "pending",
|
|
62
|
-
"activeForm": "${task_in_progress_form}"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
Each task should be:
|
|
68
|
-
- Completable in 15-60 minutes
|
|
69
|
-
- Specific with file paths when relevant
|
|
70
|
-
- Clear success criteria
|
|
71
|
-
- Pending status
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
## Step 5: Present Summary
|
|
76
|
-
|
|
77
|
-
```markdown
|
|
78
|
-
## BREAKDOWN COMPLETE
|
|
79
|
-
|
|
80
|
-
### Tasks Added (${count} items)
|
|
81
|
-
|
|
82
|
-
**Dependencies & Setup**
|
|
83
|
-
- ${task}
|
|
84
|
-
- ${task}
|
|
85
|
-
|
|
86
|
-
**Core Implementation**
|
|
87
|
-
- ${task}
|
|
88
|
-
- ${task}
|
|
89
|
-
|
|
90
|
-
**Testing**
|
|
91
|
-
- ${task}
|
|
92
|
-
|
|
93
|
-
**Documentation**
|
|
94
|
-
- ${task}
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
**Total: ${count} tasks saved to todo list**
|
|
99
|
-
|
|
100
|
-
💡 Run `/implement` to start working through these tasks
|
|
101
|
-
💡 Run `/plan` if you want to triage before committing to tasks
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## Behavior Rules
|
|
107
|
-
|
|
108
|
-
### ALWAYS:
|
|
109
|
-
- Extract concrete action items immediately
|
|
110
|
-
- Use TodoWrite to save all items
|
|
111
|
-
- Break tasks into 15-60 minute chunks
|
|
112
|
-
- Include file paths and specific details
|
|
113
|
-
- Prioritize by dependencies
|
|
114
|
-
|
|
115
|
-
### NEVER:
|
|
116
|
-
- Ask user for selection (use `/plan` for that)
|
|
117
|
-
- Create vague or untestable tasks
|
|
118
|
-
- Skip obvious implementation steps
|
|
119
|
-
- Make tasks too large or complex
|
|
120
|
-
- Forget to use TodoWrite
|
|
121
|
-
|
|
122
|
-
### When to use `/breakdown` vs `/plan`:
|
|
123
|
-
|
|
124
|
-
- **`/breakdown`**: Fast capture, trust AI extraction, want all items
|
|
125
|
-
- **`/plan`**: Deliberate triage, want to defer some to GitHub issues, need understanding before committing
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Task
|
|
3
|
-
description: Review recent status updates to get up to speed on project state
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Your task
|
|
7
|
-
|
|
8
|
-
Launch the `catch-up` sub-agent to review recent project activity and status documents, then synthesize the results for the user.
|
|
9
|
-
|
|
10
|
-
### Next: Synthesize Results
|
|
11
|
-
|
|
12
|
-
After the sub-agent completes, present a concise summary to the user:
|
|
13
|
-
|
|
14
|
-
```markdown
|
|
15
|
-
🚀 CATCH-UP COMPLETE
|
|
16
|
-
|
|
17
|
-
{Brief summary of recent activity from sub-agent}
|
|
18
|
-
|
|
19
|
-
📍 WHERE WE LEFT OFF:
|
|
20
|
-
{Last session focus and status}
|
|
21
|
-
|
|
22
|
-
⚠️ VALIDATION RESULTS:
|
|
23
|
-
{Reality check on claimed accomplishments}
|
|
24
|
-
|
|
25
|
-
📋 RECOMMENDED NEXT ACTIONS:
|
|
26
|
-
{Top 3 priorities}
|
|
27
|
-
|
|
28
|
-
📄 Full catch-up summary available from sub-agent output above
|
|
29
|
-
```
|