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,223 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: AskUserQuestion, TodoWrite, Bash
|
|
3
|
-
description: Triage issues from discussion - implement now, defer to GitHub issue, or skip
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Your task
|
|
7
|
-
|
|
8
|
-
Triage issues and decisions from the current conversation. For each item, help user understand it and decide: implement now, defer to GitHub issue, or skip entirely. Convert "now" decisions into actionable todos.
|
|
9
|
-
|
|
10
|
-
**Goal**: Deliberate decision-making on each issue, not batch selection.
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## Step 1: Extract Issues from Conversation
|
|
15
|
-
|
|
16
|
-
Scan the conversation for:
|
|
17
|
-
- **Technical issues** found in code review
|
|
18
|
-
- **Design decisions** that need to be made
|
|
19
|
-
- **Bugs or vulnerabilities** discovered
|
|
20
|
-
- **Refactoring opportunities** discussed
|
|
21
|
-
- **Missing features** or incomplete implementations
|
|
22
|
-
- **Technical debt** identified
|
|
23
|
-
- **Questions or uncertainties** raised
|
|
24
|
-
|
|
25
|
-
For each item, note:
|
|
26
|
-
- What is it?
|
|
27
|
-
- Why does it matter?
|
|
28
|
-
- Severity/impact (Critical, High, Medium, Low)
|
|
29
|
-
|
|
30
|
-
Group similar or trivial items together for batch triage.
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
## Step 2: Triage Each Issue
|
|
35
|
-
|
|
36
|
-
Present issues one at a time (or in small batches for similar items):
|
|
37
|
-
|
|
38
|
-
```markdown
|
|
39
|
-
## Issue ${n}/${total}: ${short_title}
|
|
40
|
-
|
|
41
|
-
**What**: ${clear_explanation}
|
|
42
|
-
|
|
43
|
-
**Why it matters**: ${impact_and_consequences}
|
|
44
|
-
|
|
45
|
-
**Severity**: ${Critical|High|Medium|Low}
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Then ask using `AskUserQuestion`:
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
header: "Issue ${n}"
|
|
52
|
-
question: "What do you want to do with: ${short_title}?"
|
|
53
|
-
multiSelect: false
|
|
54
|
-
options: [
|
|
55
|
-
{
|
|
56
|
-
label: "Implement now",
|
|
57
|
-
description: "Add to current implementation tasks"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
label: "Create GitHub issue",
|
|
61
|
-
description: "Defer to later - will create and lock issue"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
label: "Skip entirely",
|
|
65
|
-
description: "Not relevant or not worth tracking"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Batch similar issues** when appropriate:
|
|
71
|
-
```
|
|
72
|
-
header: "Simple fixes"
|
|
73
|
-
question: "These 3 similar issues (typos, formatting, minor cleanup) - handle them together?"
|
|
74
|
-
options: [
|
|
75
|
-
{ label: "Implement all now", description: "Add all to current tasks" },
|
|
76
|
-
{ label: "Create single GitHub issue", description: "Group into one deferred issue" },
|
|
77
|
-
{ label: "Skip all", description: "Not worth the effort" }
|
|
78
|
-
]
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
**Handle emerging clarifications**: If user's response raises new questions or reveals misunderstandings, address them immediately before continuing triage.
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## Step 3: Create GitHub Issues for Deferred Items
|
|
86
|
-
|
|
87
|
-
For each "Create GitHub issue" decision, use `Bash` to create the issue:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
gh issue create \
|
|
91
|
-
--title "${issue_title}" \
|
|
92
|
-
--body "$(cat <<'EOF'
|
|
93
|
-
## Context
|
|
94
|
-
|
|
95
|
-
${why_this_was_identified}
|
|
96
|
-
|
|
97
|
-
## Issue Details
|
|
98
|
-
|
|
99
|
-
${clear_description_of_the_issue}
|
|
100
|
-
|
|
101
|
-
## Suggested Approach
|
|
102
|
-
|
|
103
|
-
${potential_solution_if_discussed}
|
|
104
|
-
|
|
105
|
-
## Severity
|
|
106
|
-
|
|
107
|
-
${Critical|High|Medium|Low}
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
*Created during triage session. Review before implementation.*
|
|
112
|
-
EOF
|
|
113
|
-
)" \
|
|
114
|
-
--label "${appropriate_labels}"
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Then lock the issue (no reason required):
|
|
118
|
-
|
|
119
|
-
```bash
|
|
120
|
-
gh issue lock ${issue_number}
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
Track created issues for final summary.
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
## Step 4: Convert "Now" Items to Actionable Todos
|
|
128
|
-
|
|
129
|
-
For all items marked "Implement now":
|
|
130
|
-
|
|
131
|
-
1. **Break down** into specific, actionable tasks
|
|
132
|
-
2. **Order** by dependencies and priority
|
|
133
|
-
3. **Estimate** complexity (simple: 15min, medium: 30min, complex: 1hr+)
|
|
134
|
-
|
|
135
|
-
Good task breakdown:
|
|
136
|
-
- ✅ "Fix SQL injection in `src/db/users.ts:45` - use parameterized queries"
|
|
137
|
-
- ✅ "Add input validation for email field in registration endpoint"
|
|
138
|
-
- ✅ "Refactor `UserService` to use Result types instead of throwing"
|
|
139
|
-
|
|
140
|
-
Bad task breakdown:
|
|
141
|
-
- ❌ "Fix security issues" (too vague)
|
|
142
|
-
- ❌ "Improve error handling" (not specific)
|
|
143
|
-
|
|
144
|
-
---
|
|
145
|
-
|
|
146
|
-
## Step 5: Save Todos with TodoWrite
|
|
147
|
-
|
|
148
|
-
Use `TodoWrite` to save actionable tasks:
|
|
149
|
-
|
|
150
|
-
```json
|
|
151
|
-
[
|
|
152
|
-
{
|
|
153
|
-
"content": "${specific_task_description}",
|
|
154
|
-
"status": "pending",
|
|
155
|
-
"activeForm": "${task_in_progress_form}"
|
|
156
|
-
}
|
|
157
|
-
]
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
Each task should be:
|
|
161
|
-
- Completable in 15-60 minutes
|
|
162
|
-
- Clear success criteria
|
|
163
|
-
- Include file paths when relevant
|
|
164
|
-
- Ordered by dependencies
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
## Step 6: Final Summary
|
|
169
|
-
|
|
170
|
-
```markdown
|
|
171
|
-
## TRIAGE COMPLETE
|
|
172
|
-
|
|
173
|
-
### Implementing Now (${count} items → ${task_count} tasks)
|
|
174
|
-
|
|
175
|
-
${For each "now" item:}
|
|
176
|
-
- **${issue_title}**
|
|
177
|
-
- ${brief_description}
|
|
178
|
-
- Tasks: ${list_of_specific_todos}
|
|
179
|
-
|
|
180
|
-
### Deferred to GitHub Issues (${count} items)
|
|
181
|
-
|
|
182
|
-
${For each deferred item:}
|
|
183
|
-
- **${issue_title}** → Issue #${number}
|
|
184
|
-
- ${brief_description}
|
|
185
|
-
- Severity: ${severity}
|
|
186
|
-
- [View issue](${issue_url})
|
|
187
|
-
|
|
188
|
-
### Skipped (${count} items)
|
|
189
|
-
|
|
190
|
-
${For each skipped item:}
|
|
191
|
-
- ${issue_title} - ${reason_user_gave_or_inferred}
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
**Next Steps**:
|
|
196
|
-
- ${task_count} tasks saved to todo list
|
|
197
|
-
- ${issue_count} GitHub issues created and locked
|
|
198
|
-
- Run `/implement` to start working through tasks
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
## Behavior Rules
|
|
204
|
-
|
|
205
|
-
### ALWAYS:
|
|
206
|
-
- Explain each issue clearly before asking for decision
|
|
207
|
-
- Create actual GitHub issues via `gh` CLI
|
|
208
|
-
- Lock created issues immediately
|
|
209
|
-
- Break "now" items into specific, actionable todos
|
|
210
|
-
- Track all decisions for final summary
|
|
211
|
-
- Address clarifications that arise during triage
|
|
212
|
-
|
|
213
|
-
### NEVER:
|
|
214
|
-
- Present all issues as a batch selection list
|
|
215
|
-
- Skip the understanding phase
|
|
216
|
-
- Create vague or unactionable todos
|
|
217
|
-
- Forget to lock GitHub issues
|
|
218
|
-
- Ignore user questions that arise during triage
|
|
219
|
-
|
|
220
|
-
### Handle Edge Cases:
|
|
221
|
-
- **No issues found**: "I didn't identify any issues to triage from this conversation. Did I miss something?"
|
|
222
|
-
- **gh CLI not available**: Warn user, offer to output issue text for manual creation
|
|
223
|
-
- **User wants to reconsider**: Allow changing previous decisions before final save
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Task
|
|
3
|
-
description: Create pull request with comprehensive analysis and smart description generation
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Your task
|
|
7
|
-
|
|
8
|
-
Launch the `pull-request` sub-agent to create a PR from the current branch.
|
|
9
|
-
|
|
10
|
-
Pass `$ARGUMENTS` to the sub-agent (may contain base branch and/or `--draft` flag).
|
|
11
|
-
|
|
12
|
-
The agent will:
|
|
13
|
-
1. Detect current branch and base branch (auto-detect if not specified)
|
|
14
|
-
2. Run pre-flight checks (commits exist, no existing PR, branch pushed)
|
|
15
|
-
3. Analyze commits and code changes
|
|
16
|
-
4. Generate PR title and comprehensive description
|
|
17
|
-
5. Create the PR using `gh pr create`
|
|
18
|
-
6. Return the PR URL
|
|
19
|
-
|
|
20
|
-
Trust the agent's judgment. It handles all validation and creation.
|
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Automated release workflow with version management and publishing
|
|
3
|
-
allowed-tools: Task, Bash, Read, Write, Edit, Grep, Glob
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
## Your Task
|
|
7
|
-
|
|
8
|
-
Orchestrate a complete release workflow using the release sub-agent. This command guides you through creating a professional release with version management, changelog generation, building, testing, and publishing.
|
|
9
|
-
|
|
10
|
-
**Workflow**: User input → Release agent automation → User confirmations at critical steps
|
|
11
|
-
|
|
12
|
-
### Step 1: Determine Release Type
|
|
13
|
-
|
|
14
|
-
First, ask the user what type of release they want to create:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
echo "🚀 DEVFLOW RELEASE AUTOMATION"
|
|
18
|
-
echo ""
|
|
19
|
-
echo "This will guide you through creating a new release."
|
|
20
|
-
echo ""
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Present options to the user:
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
What type of release do you want to create?
|
|
27
|
-
|
|
28
|
-
1. **patch** - Bug fixes and maintenance (0.1.2 → 0.1.3)
|
|
29
|
-
2. **minor** - New features, backwards compatible (0.1.2 → 0.2.0)
|
|
30
|
-
3. **major** - Breaking changes (0.1.2 → 1.0.0)
|
|
31
|
-
4. **custom** - Specify exact version (e.g., 2.0.0-beta.1)
|
|
32
|
-
5. **analyze** - Analyze changes and get recommendation first
|
|
33
|
-
|
|
34
|
-
Please specify the release type (patch/minor/major/custom/analyze):
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Step 2: Launch Release Agent
|
|
38
|
-
|
|
39
|
-
Once the user provides input, launch the release sub-agent with the appropriate prompt:
|
|
40
|
-
|
|
41
|
-
**If user chose "analyze"**:
|
|
42
|
-
```
|
|
43
|
-
Invoke the release sub-agent with this prompt:
|
|
44
|
-
|
|
45
|
-
"Analyze the current repository state and recent commits. Execute through Step 3 (Determine New Version) and provide a recommendation for the version bump type. Show:
|
|
46
|
-
- Current version
|
|
47
|
-
- Commits since last release
|
|
48
|
-
- Breaking changes, features, and fixes detected
|
|
49
|
-
- Recommended version bump with reasoning
|
|
50
|
-
|
|
51
|
-
Stop and wait for user decision before proceeding with the release."
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
**If user chose "patch", "minor", or "major"**:
|
|
55
|
-
```
|
|
56
|
-
Invoke the release sub-agent with this prompt:
|
|
57
|
-
|
|
58
|
-
"Create a {bump_type} release. Follow the complete release workflow:
|
|
59
|
-
1. Detect project type and configuration
|
|
60
|
-
2. Verify clean working directory
|
|
61
|
-
3. Analyze recent changes since last release
|
|
62
|
-
4. Calculate new version as {bump_type} bump
|
|
63
|
-
5. Generate changelog entry from commits
|
|
64
|
-
6. Update version files
|
|
65
|
-
7. Build project (if applicable)
|
|
66
|
-
8. Run tests (if applicable)
|
|
67
|
-
|
|
68
|
-
STOP before Step 8 (Commit Version Bump) and show me:
|
|
69
|
-
- Current version → New version
|
|
70
|
-
- Generated changelog entry
|
|
71
|
-
- Files that will be modified
|
|
72
|
-
- Build/test results
|
|
73
|
-
|
|
74
|
-
Wait for my confirmation before proceeding with commit, push, publish, and tagging."
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
**If user chose "custom"**:
|
|
78
|
-
```
|
|
79
|
-
Ask user: "Please specify the exact version number (e.g., 2.0.0-beta.1):"
|
|
80
|
-
|
|
81
|
-
Then invoke the release sub-agent with this prompt:
|
|
82
|
-
|
|
83
|
-
"Create a release with custom version {specified_version}. Follow the complete release workflow:
|
|
84
|
-
1. Detect project type and configuration
|
|
85
|
-
2. Verify clean working directory
|
|
86
|
-
3. Analyze recent changes since last release
|
|
87
|
-
4. Use the specified version: {specified_version}
|
|
88
|
-
5. Generate changelog entry from commits
|
|
89
|
-
6. Update version files
|
|
90
|
-
7. Build project (if applicable)
|
|
91
|
-
8. Run tests (if applicable)
|
|
92
|
-
|
|
93
|
-
STOP before Step 8 (Commit Version Bump) and show me:
|
|
94
|
-
- Current version → New version
|
|
95
|
-
- Generated changelog entry
|
|
96
|
-
- Files that will be modified
|
|
97
|
-
- Build/test results
|
|
98
|
-
|
|
99
|
-
Wait for my confirmation before proceeding with commit, push, publish, and tagging."
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Step 3: Review and Confirm
|
|
103
|
-
|
|
104
|
-
After the release agent completes the preparation phase and stops, present the summary to the user:
|
|
105
|
-
|
|
106
|
-
```
|
|
107
|
-
📋 RELEASE READY FOR REVIEW
|
|
108
|
-
|
|
109
|
-
Current Version: {current_version}
|
|
110
|
-
New Version: {new_version}
|
|
111
|
-
Project Type: {project_type}
|
|
112
|
-
|
|
113
|
-
📝 Changelog Entry:
|
|
114
|
-
{generated_changelog}
|
|
115
|
-
|
|
116
|
-
📄 Files to be Modified:
|
|
117
|
-
- {version_file}
|
|
118
|
-
- {changelog_file}
|
|
119
|
-
|
|
120
|
-
✅ Build Status: {build_result}
|
|
121
|
-
✅ Test Status: {test_result}
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
The release agent will now:
|
|
126
|
-
1. Commit version bump
|
|
127
|
-
2. Push to remote
|
|
128
|
-
3. Publish package (if applicable)
|
|
129
|
-
4. Create git tag
|
|
130
|
-
5. Create GitHub/GitLab release (if available)
|
|
131
|
-
|
|
132
|
-
⚠️ WARNING: Steps 3-5 are PERMANENT and PUBLIC
|
|
133
|
-
|
|
134
|
-
Do you want to proceed with the release? (yes/no):
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
### Step 4: Complete Release (After Confirmation)
|
|
138
|
-
|
|
139
|
-
If user confirms, continue with the release agent:
|
|
140
|
-
|
|
141
|
-
```
|
|
142
|
-
Invoke the release sub-agent again with this prompt:
|
|
143
|
-
|
|
144
|
-
"Continue the release process from Step 8 (Commit Version Bump):
|
|
145
|
-
8. Commit version bump
|
|
146
|
-
9. Push to remote
|
|
147
|
-
10. Publish package (if applicable) - STOP and ask for confirmation before publishing
|
|
148
|
-
11. Create git tag
|
|
149
|
-
12. Create GitHub/GitLab release
|
|
150
|
-
13. Provide final summary
|
|
151
|
-
|
|
152
|
-
Execute these steps sequentially. Before Step 10 (publishing to package registry), STOP and explicitly ask for confirmation as this is permanent and public."
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
### Step 5: Publish Confirmation
|
|
156
|
-
|
|
157
|
-
When the agent reaches the publish step, ask for explicit confirmation:
|
|
158
|
-
|
|
159
|
-
```
|
|
160
|
-
⚠️ FINAL CONFIRMATION REQUIRED
|
|
161
|
-
|
|
162
|
-
The package is ready to be published to the public registry.
|
|
163
|
-
|
|
164
|
-
Project: {project_name}
|
|
165
|
-
Version: {new_version}
|
|
166
|
-
Registry: {registry_name}
|
|
167
|
-
Command: {publish_command}
|
|
168
|
-
|
|
169
|
-
This action is PERMANENT and IRREVERSIBLE.
|
|
170
|
-
|
|
171
|
-
Do you want to publish to the public registry? (yes/no):
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### Step 6: Final Summary
|
|
175
|
-
|
|
176
|
-
After the release is complete, the agent will provide a final summary. Display it to the user and provide next steps:
|
|
177
|
-
|
|
178
|
-
```
|
|
179
|
-
The release agent will show:
|
|
180
|
-
- Release summary with all completed steps
|
|
181
|
-
- Links to package registry
|
|
182
|
-
- Links to GitHub/GitLab release
|
|
183
|
-
- Links to tag and commits
|
|
184
|
-
- Verification steps for the user
|
|
185
|
-
|
|
186
|
-
Next steps for you:
|
|
187
|
-
1. Verify package appears in registry
|
|
188
|
-
2. Test installation in fresh environment
|
|
189
|
-
3. Announce release to users/team
|
|
190
|
-
4. Update documentation if needed
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
## Error Handling
|
|
194
|
-
|
|
195
|
-
If the release agent encounters an error at any step:
|
|
196
|
-
|
|
197
|
-
1. **Before commit**: Changes can be rolled back easily
|
|
198
|
-
```bash
|
|
199
|
-
git checkout {version_files}
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
2. **After commit, before push**: Can amend or reset
|
|
203
|
-
```bash
|
|
204
|
-
git reset --hard HEAD~1
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
3. **After push, before publish**: Can remove tag and revert
|
|
208
|
-
```bash
|
|
209
|
-
git tag -d {tag}
|
|
210
|
-
git push origin :{tag}
|
|
211
|
-
git revert HEAD
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
4. **After publish**: Cannot unpublish in most registries
|
|
215
|
-
- npm: Can only deprecate, not unpublish after 24h
|
|
216
|
-
- Document issue and create patch release
|
|
217
|
-
|
|
218
|
-
Always provide clear recovery instructions if something fails.
|
|
219
|
-
|
|
220
|
-
## Safety Features
|
|
221
|
-
|
|
222
|
-
- ✅ Verify clean working directory before starting
|
|
223
|
-
- ✅ Show preview of all changes before committing
|
|
224
|
-
- ✅ Require explicit confirmation before publishing
|
|
225
|
-
- ✅ Provide rollback instructions at each step
|
|
226
|
-
- ✅ Stop and ask before any permanent/public action
|
|
227
|
-
- ✅ Generate proper semantic versioning
|
|
228
|
-
- ✅ Run build and tests before releasing
|
|
229
|
-
|
|
230
|
-
## Quick Reference
|
|
231
|
-
|
|
232
|
-
```bash
|
|
233
|
-
# Standard releases
|
|
234
|
-
/release # Interactive - asks for release type
|
|
235
|
-
|
|
236
|
-
# With specific type (if supported in future)
|
|
237
|
-
/release patch
|
|
238
|
-
/release minor
|
|
239
|
-
/release major
|
|
240
|
-
|
|
241
|
-
# Analyze first
|
|
242
|
-
/release analyze # Show recommendations without releasing
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
## Notes
|
|
246
|
-
|
|
247
|
-
- The release sub-agent handles all the technical details
|
|
248
|
-
- This command provides the user interaction layer
|
|
249
|
-
- Critical steps require explicit user confirmation
|
|
250
|
-
- All actions are logged and can be audited
|
|
251
|
-
- Works with any programming language/ecosystem
|