specweave 0.4.1 ā 0.6.3
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/.claude-plugin/README.md +312 -0
- package/.claude-plugin/marketplace.json +210 -0
- package/CLAUDE.md +952 -609
- package/README.md +179 -761
- package/bin/install-agents.sh +1 -1
- package/bin/install-commands.sh +66 -14
- package/bin/install-hooks.sh +1 -1
- package/bin/install-skills.sh +1 -1
- package/bin/specweave.js +2 -0
- package/dist/adapters/claude/adapter.d.ts +49 -11
- package/dist/adapters/claude/adapter.d.ts.map +1 -1
- package/dist/adapters/claude/adapter.js +175 -42
- package/dist/adapters/claude/adapter.js.map +1 -1
- package/dist/adapters/copilot/adapter.d.ts +20 -2
- package/dist/adapters/copilot/adapter.d.ts.map +1 -1
- package/dist/adapters/copilot/adapter.js +117 -7
- package/dist/adapters/copilot/adapter.js.map +1 -1
- package/dist/adapters/cursor/adapter.d.ts +18 -0
- package/dist/adapters/cursor/adapter.d.ts.map +1 -1
- package/dist/adapters/cursor/adapter.js +55 -3
- package/dist/adapters/cursor/adapter.js.map +1 -1
- package/dist/adapters/generic/adapter.d.ts +18 -0
- package/dist/adapters/generic/adapter.d.ts.map +1 -1
- package/dist/adapters/generic/adapter.js +55 -3
- package/dist/adapters/generic/adapter.js.map +1 -1
- package/dist/cli/commands/init.d.ts +1 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +521 -185
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/install.d.ts +2 -0
- package/dist/cli/commands/install.d.ts.map +1 -1
- package/dist/cli/commands/install.js +28 -25
- package/dist/cli/commands/install.js.map +1 -1
- package/dist/cli/commands/list.d.ts +2 -0
- package/dist/cli/commands/list.d.ts.map +1 -1
- package/dist/cli/commands/list.js +26 -24
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/plugin.d.ts +23 -6
- package/dist/cli/commands/plugin.d.ts.map +1 -1
- package/dist/cli/commands/plugin.js +92 -66
- package/dist/cli/commands/plugin.js.map +1 -1
- package/dist/core/i18n/language-detector.d.ts +29 -0
- package/dist/core/i18n/language-detector.d.ts.map +1 -0
- package/dist/core/i18n/language-detector.js +143 -0
- package/dist/core/i18n/language-detector.js.map +1 -0
- package/dist/core/i18n/language-manager.d.ts +101 -0
- package/dist/core/i18n/language-manager.d.ts.map +1 -0
- package/dist/core/i18n/language-manager.js +232 -0
- package/dist/core/i18n/language-manager.js.map +1 -0
- package/dist/core/i18n/language-registry.d.ts +44 -0
- package/dist/core/i18n/language-registry.d.ts.map +1 -0
- package/dist/core/i18n/language-registry.js +234 -0
- package/dist/core/i18n/language-registry.js.map +1 -0
- package/dist/core/i18n/locale-manager.d.ts +62 -0
- package/dist/core/i18n/locale-manager.d.ts.map +1 -0
- package/dist/core/i18n/locale-manager.js +137 -0
- package/dist/core/i18n/locale-manager.js.map +1 -0
- package/dist/core/i18n/system-prompt-injector.d.ts +33 -0
- package/dist/core/i18n/system-prompt-injector.d.ts.map +1 -0
- package/dist/core/i18n/system-prompt-injector.js +131 -0
- package/dist/core/i18n/system-prompt-injector.js.map +1 -0
- package/dist/core/i18n/types.d.ts +151 -0
- package/dist/core/i18n/types.d.ts.map +1 -0
- package/dist/core/i18n/types.js +11 -0
- package/dist/core/i18n/types.js.map +1 -0
- package/dist/core/increment-status.d.ts +72 -0
- package/dist/core/increment-status.d.ts.map +1 -0
- package/dist/core/increment-status.js +227 -0
- package/dist/core/increment-status.js.map +1 -0
- package/dist/core/plugin-loader.d.ts +33 -13
- package/dist/core/plugin-loader.d.ts.map +1 -1
- package/dist/core/plugin-loader.js +145 -43
- package/dist/core/plugin-loader.js.map +1 -1
- package/dist/core/types/config.d.ts +51 -0
- package/dist/core/types/config.d.ts.map +1 -0
- package/dist/core/types/config.js +21 -0
- package/dist/core/types/config.js.map +1 -0
- package/dist/core/types/plugin.d.ts +73 -42
- package/dist/core/types/plugin.d.ts.map +1 -1
- package/dist/core/types/plugin.js +4 -3
- package/dist/core/types/plugin.js.map +1 -1
- package/dist/hooks/lib/sync-living-docs.d.ts +27 -0
- package/dist/hooks/lib/sync-living-docs.d.ts.map +1 -0
- package/dist/hooks/lib/sync-living-docs.js +116 -0
- package/dist/hooks/lib/sync-living-docs.js.map +1 -0
- package/dist/hooks/lib/translate-living-docs.d.ts +13 -0
- package/dist/hooks/lib/translate-living-docs.d.ts.map +1 -0
- package/dist/hooks/lib/translate-living-docs.js +166 -0
- package/dist/hooks/lib/translate-living-docs.js.map +1 -0
- package/dist/hooks/lib/update-tasks-md.d.ts +29 -0
- package/dist/hooks/lib/update-tasks-md.d.ts.map +1 -0
- package/dist/hooks/lib/update-tasks-md.js +203 -0
- package/dist/hooks/lib/update-tasks-md.js.map +1 -0
- package/dist/integrations/jira/jira-incremental-mapper.js.map +1 -1
- package/dist/integrations/jira/jira-mapper.js.map +1 -1
- package/dist/locales/de/.gitkeep +0 -0
- package/dist/locales/de/cli.json +108 -0
- package/dist/locales/en/cli.json +285 -0
- package/dist/locales/en/errors.json +7 -0
- package/dist/locales/en/templates.json +6 -0
- package/dist/locales/es/.gitkeep +0 -0
- package/dist/locales/es/cli.json +41 -0
- package/dist/locales/fr/.gitkeep +0 -0
- package/dist/locales/fr/cli.json +108 -0
- package/dist/locales/ja/.gitkeep +0 -0
- package/dist/locales/ja/cli.json +108 -0
- package/dist/locales/ko/.gitkeep +0 -0
- package/dist/locales/ko/cli.json +108 -0
- package/dist/locales/pt/.gitkeep +0 -0
- package/dist/locales/pt/cli.json +108 -0
- package/dist/locales/ru/.gitkeep +0 -0
- package/dist/locales/ru/cli.json +269 -0
- package/dist/locales/zh/.gitkeep +0 -0
- package/dist/locales/zh/cli.json +108 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts +86 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client.js +275 -0
- package/dist/plugins/specweave-github/lib/github-client.js.map +1 -0
- package/dist/plugins/specweave-github/lib/index.d.ts +10 -0
- package/dist/plugins/specweave-github/lib/index.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/index.js +10 -0
- package/dist/plugins/specweave-github/lib/index.js.map +1 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.js +147 -0
- package/dist/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-parser.d.ts +37 -0
- package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/task-parser.js +211 -0
- package/dist/plugins/specweave-github/lib/task-parser.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts +51 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.js +332 -0
- package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/types.d.ts +80 -0
- package/dist/plugins/specweave-github/lib/types.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/types.js +5 -0
- package/dist/plugins/specweave-github/lib/types.js.map +1 -0
- package/dist/utils/agents-md-compiler.d.ts +68 -0
- package/dist/utils/agents-md-compiler.d.ts.map +1 -0
- package/dist/utils/agents-md-compiler.js +420 -0
- package/dist/utils/agents-md-compiler.js.map +1 -0
- package/dist/utils/execFileNoThrow.d.ts +97 -0
- package/dist/utils/execFileNoThrow.d.ts.map +1 -0
- package/dist/utils/execFileNoThrow.js +130 -0
- package/dist/utils/execFileNoThrow.js.map +1 -0
- package/dist/utils/generate-skills-index.js +4 -4
- package/dist/utils/generate-skills-index.js.map +1 -1
- package/package.json +13 -14
- package/plugins/.specweave/logs/hooks-debug.log +24 -0
- package/plugins/.specweave/logs/last-hook-fire +1 -0
- package/plugins/.specweave/logs/last-todowrite-time +1 -0
- package/plugins/.specweave/logs/tasks.log +6 -0
- package/plugins/specweave/.claude-plugin/plugin.json +22 -0
- package/{src ā plugins/specweave}/agents/pm/AGENT.md +80 -0
- package/plugins/specweave/agents/translator/AGENT.md +282 -0
- package/{src ā plugins/specweave}/commands/README.md +11 -11
- package/{src/commands/specweave.costs.md ā plugins/specweave/commands/costs.md} +8 -8
- package/{src/commands/specweave.do.md ā plugins/specweave/commands/do.md} +35 -8
- package/{src/commands/specweave.done.md ā plugins/specweave/commands/done.md} +1 -1
- package/{src/commands/specweave.inc.md ā plugins/specweave/commands/inc.md} +1 -1
- package/{src/commands/specweave.increment.md ā plugins/specweave/commands/increment.md} +84 -19
- package/{src/commands/specweave.next.md ā plugins/specweave/commands/next.md} +1 -1
- package/{src/commands/specweave.progress.md ā plugins/specweave/commands/progress.md} +1 -1
- package/{src ā plugins/specweave}/commands/specweave.md +57 -25
- package/{src/commands/specweave.sync-docs.md ā plugins/specweave/commands/sync-docs.md} +6 -6
- package/plugins/specweave/commands/translate.md +425 -0
- package/{src/commands/specweave.validate.md ā plugins/specweave/commands/validate.md} +2 -2
- package/plugins/specweave/hooks/hooks.json +15 -0
- package/plugins/specweave/hooks/post-task-completion.sh +265 -0
- package/plugins/specweave/skills/SKILLS-INDEX.md +229 -0
- package/{src ā plugins/specweave}/skills/brownfield-analyzer/SKILL.md +66 -24
- package/{src ā plugins/specweave}/skills/context-loader/SKILL.md +1 -1
- package/plugins/specweave/skills/context-optimizer/SKILL.md +588 -0
- package/plugins/specweave/skills/docs-updater/SKILL.md +0 -0
- package/{src ā plugins/specweave}/skills/increment-planner/SKILL.md +81 -4
- package/plugins/specweave/skills/plugin-detector/SKILL.md +211 -0
- package/{src ā plugins/specweave}/skills/project-kickstarter/SKILL.md +7 -7
- package/plugins/specweave/skills/rfc-generator/SKILL.md +369 -0
- package/{src ā plugins/specweave}/skills/specweave-detector/SKILL.md +2 -2
- package/plugins/specweave/skills/specweave-framework/SKILL.md +498 -0
- package/plugins/specweave/skills/specweave-framework/test-cases/test-1-increment-naming.yaml +11 -0
- package/plugins/specweave/skills/specweave-framework/test-cases/test-2-source-of-truth.yaml +11 -0
- package/plugins/specweave/skills/specweave-framework/test-cases/test-3-increment-discipline.yaml +12 -0
- package/plugins/specweave/skills/specweave-framework/test-cases/test-4-file-placement.yaml +11 -0
- package/{src ā plugins/specweave}/skills/tdd-workflow/SKILL.md +21 -21
- package/plugins/specweave/skills/translator/SKILL.md +172 -0
- package/plugins/specweave-ado/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-alternatives/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-alternatives/skills/bmad-method-expert/SKILL.md +626 -0
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/analyze-project.js +318 -0
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/check-setup.js +208 -0
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/generate-template.js +1149 -0
- package/plugins/specweave-alternatives/skills/bmad-method-expert/scripts/validate-documents.js +340 -0
- package/plugins/specweave-alternatives/skills/spec-kit-expert/SKILL.md +1010 -0
- package/plugins/specweave-backend/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-cost-optimizer/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-diagrams/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-docs/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-docs/skills/docusaurus/SKILL.md +526 -0
- package/plugins/specweave-figma/.claude-plugin/.mcp.json +12 -0
- package/plugins/specweave-figma/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-figma/ARCHITECTURE.md +453 -0
- package/plugins/specweave-figma/README.md +728 -0
- package/plugins/specweave-figma/skills/figma-to-code/SKILL.md +632 -0
- package/plugins/specweave-figma/skills/figma-to-code/test-1-token-generation.yaml +29 -0
- package/plugins/specweave-figma/skills/figma-to-code/test-2-component-generation.yaml +27 -0
- package/plugins/specweave-figma/skills/figma-to-code/test-3-typescript-generation.yaml +28 -0
- package/plugins/specweave-frontend/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-github/.claude-plugin/plugin.json +19 -0
- package/plugins/specweave-github/agents/github-manager/AGENT.md +651 -0
- package/plugins/specweave-github/commands/github-close-issue.md +418 -0
- package/plugins/specweave-github/commands/github-create-issue.md +307 -0
- package/plugins/specweave-github/commands/github-status.md +533 -0
- package/plugins/specweave-github/commands/github-sync-tasks.md +530 -0
- package/plugins/specweave-github/commands/github-sync.md +443 -0
- package/plugins/specweave-github/lib/github-client.ts +330 -0
- package/plugins/specweave-github/lib/index.ts +10 -0
- package/plugins/specweave-github/lib/subtask-sync.ts +225 -0
- package/plugins/specweave-github/lib/task-parser.ts +246 -0
- package/plugins/specweave-github/lib/task-sync.ts +402 -0
- package/plugins/specweave-github/lib/types.ts +86 -0
- package/plugins/specweave-github/skills/github-issue-tracker/SKILL.md +497 -0
- package/plugins/specweave-github/skills/github-sync/SKILL.md +461 -0
- package/plugins/specweave-infrastructure/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-jira/.claude-plugin/plugin.json +8 -0
- package/{src ā plugins/specweave-jira}/commands/specweave.sync-jira.md +18 -18
- package/plugins/specweave-kubernetes/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-ml/.claude-plugin/plugin.json +38 -0
- package/plugins/specweave-ml/README.md +885 -0
- package/plugins/specweave-ml/agents/ml-engineer/AGENT.md +402 -0
- package/plugins/specweave-ml/commands/ml-deploy.md +116 -0
- package/plugins/specweave-ml/commands/ml-evaluate.md +87 -0
- package/plugins/specweave-ml/commands/ml-explain.md +83 -0
- package/plugins/specweave-ml/skills/anomaly-detector/SKILL.md +559 -0
- package/plugins/specweave-ml/skills/automl-optimizer/SKILL.md +485 -0
- package/plugins/specweave-ml/skills/cv-pipeline-builder/SKILL.md +157 -0
- package/plugins/specweave-ml/skills/data-visualizer/SKILL.md +521 -0
- package/plugins/specweave-ml/skills/experiment-tracker/SKILL.md +535 -0
- package/plugins/specweave-ml/skills/feature-engineer/SKILL.md +566 -0
- package/plugins/specweave-ml/skills/ml-deployment-helper/SKILL.md +345 -0
- package/plugins/specweave-ml/skills/ml-pipeline-orchestrator/SKILL.md +518 -0
- package/plugins/specweave-ml/skills/model-evaluator/SKILL.md +155 -0
- package/plugins/specweave-ml/skills/model-explainer/SKILL.md +227 -0
- package/plugins/specweave-ml/skills/model-registry/SKILL.md +541 -0
- package/plugins/specweave-ml/skills/nlp-pipeline-builder/SKILL.md +180 -0
- package/plugins/specweave-ml/skills/time-series-forecaster/SKILL.md +569 -0
- package/plugins/specweave-payments/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-testing/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-tooling/.claude-plugin/plugin.json +8 -0
- package/plugins/specweave-ui/.claude-plugin/plugin.json +26 -0
- package/plugins/specweave-ui/.mcp.json +14 -0
- package/plugins/specweave-ui/README.md +386 -0
- package/src/adapters/claude/adapter.ts +193 -46
- package/src/adapters/copilot/adapter.ts +132 -7
- package/src/adapters/cursor/adapter.ts +62 -3
- package/src/adapters/generic/adapter.ts +62 -3
- package/src/templates/AGENTS.md.template +170 -1
- package/src/templates/CLAUDE.md.template +122 -24
- package/src/templates/tasks.md.template +261 -0
- package/src/agents/ml-engineer/AGENT.md +0 -150
- package/src/commands/specweave.sync-github.md +0 -269
- package/src/hooks/post-task-completion.sh +0 -121
- package/src/skills/SKILLS-INDEX.md +0 -444
- package/src/skills/github-sync/SKILL.md +0 -234
- /package/{src ā plugins/specweave}/agents/architect/AGENT.md +0 -0
- /package/{src ā plugins/specweave}/agents/code-reviewer.md +0 -0
- /package/{src ā plugins/specweave}/agents/docs-writer/AGENT.md +0 -0
- /package/{src ā plugins/specweave}/agents/performance/AGENT.md +0 -0
- /package/{src ā plugins/specweave}/agents/qa-lead/AGENT.md +0 -0
- /package/{src ā plugins/specweave}/agents/security/AGENT.md +0 -0
- /package/{src ā plugins/specweave}/agents/tdd-orchestrator/AGENT.md +0 -0
- /package/{src ā plugins/specweave}/agents/tech-lead/AGENT.md +0 -0
- /package/{src/commands/specweave.list-increments.md ā plugins/specweave/commands/list-increments.md} +0 -0
- /package/{src/commands/specweave.tdd-cycle.md ā plugins/specweave/commands/tdd-cycle.md} +0 -0
- /package/{src/commands/specweave.tdd-green.md ā plugins/specweave/commands/tdd-green.md} +0 -0
- /package/{src/commands/specweave.tdd-red.md ā plugins/specweave/commands/tdd-red.md} +0 -0
- /package/{src/commands/specweave.tdd-refactor.md ā plugins/specweave/commands/tdd-refactor.md} +0 -0
- /package/{src ā plugins/specweave}/hooks/README.md +0 -0
- /package/{src ā plugins/specweave}/hooks/docs-changed.sh +0 -0
- /package/{src ā plugins/specweave}/hooks/human-input-required.sh +0 -0
- /package/{src ā plugins/specweave}/hooks/post-increment-plugin-detect.sh +0 -0
- /package/{src ā plugins/specweave}/hooks/pre-implementation.sh +0 -0
- /package/{src ā plugins/specweave}/hooks/pre-task-plugin-detect.sh +0 -0
- /package/{src ā plugins/specweave}/skills/brownfield-onboarder/SKILL.md +0 -0
- /package/{src ā plugins/specweave}/skills/docs-updater/README.md +0 -0
- /package/{src ā plugins/specweave}/skills/increment-planner/scripts/feature-utils.js +0 -0
- /package/{src ā plugins/specweave}/skills/increment-quality-judge/SKILL.md +0 -0
- /package/{src ā plugins/specweave}/skills/project-kickstarter/test-cases/test-1-high-confidence-full-product.yaml +0 -0
- /package/{src ā plugins/specweave}/skills/project-kickstarter/test-cases/test-2-medium-confidence-partial.yaml +0 -0
- /package/{src ā plugins/specweave}/skills/project-kickstarter/test-cases/test-3-low-confidence-technical-question.yaml +0 -0
- /package/{src ā plugins/specweave}/skills/project-kickstarter/test-cases/test-4-opt-out-explicit.yaml +0 -0
- /package/{src ā plugins/specweave}/skills/role-orchestrator/README.md +0 -0
- /package/{src ā plugins/specweave}/skills/role-orchestrator/SKILL.md +0 -0
- /package/{src ā plugins/specweave}/skills/task-builder/README.md +0 -0
- /package/{src ā plugins/specweave-ado}/skills/ado-sync/README.md +0 -0
- /package/{src ā plugins/specweave-ado}/skills/ado-sync/SKILL.md +0 -0
- /package/{src ā plugins/specweave-ado}/skills/specweave-ado-mapper/SKILL.md +0 -0
- /package/{src ā plugins/specweave-backend}/agents/database-optimizer/AGENT.md +0 -0
- /package/{src ā plugins/specweave-backend}/skills/dotnet-backend/SKILL.md +0 -0
- /package/{src ā plugins/specweave-backend}/skills/nodejs-backend/SKILL.md +0 -0
- /package/{src ā plugins/specweave-backend}/skills/python-backend/SKILL.md +0 -0
- /package/{src ā plugins/specweave-cost-optimizer}/skills/cost-optimizer/SKILL.md +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/AGENT.md +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/templates/c4-component-template.mmd +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/templates/c4-container-template.mmd +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/templates/c4-context-template.mmd +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/templates/deployment-template.mmd +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/templates/er-diagram-template.mmd +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/templates/sequence-template.mmd +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/test-cases/test-1-c4-context.yaml +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/test-cases/test-2-sequence.yaml +0 -0
- /package/{src ā plugins/specweave-diagrams}/agents/diagrams-architect/test-cases/test-3-er-diagram.yaml +0 -0
- /package/{src ā plugins/specweave-diagrams}/skills/diagrams-architect/SKILL.md +0 -0
- /package/{src ā plugins/specweave-diagrams}/skills/diagrams-generator/SKILL.md +0 -0
- /package/{src ā plugins/specweave-docs}/skills/spec-driven-brainstorming/README.md +0 -0
- /package/{src ā plugins/specweave-docs}/skills/spec-driven-brainstorming/SKILL.md +0 -0
- /package/{src ā plugins/specweave-docs}/skills/spec-driven-debugging/README.md +0 -0
- /package/{src ā plugins/specweave-docs}/skills/spec-driven-debugging/SKILL.md +0 -0
- /package/{src ā plugins/specweave-frontend}/skills/design-system-architect/SKILL.md +0 -0
- /package/{src ā plugins/specweave-frontend}/skills/frontend/SKILL.md +0 -0
- /package/{src ā plugins/specweave-frontend}/skills/nextjs/SKILL.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/devops/AGENT.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/network-engineer/AGENT.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/observability-engineer/AGENT.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/performance-engineer/AGENT.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/AGENT.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/modules/backend-diagnostics.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/modules/database-diagnostics.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/modules/infrastructure.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/modules/monitoring.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/modules/security-incidents.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/modules/ui-diagnostics.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/01-high-cpu-usage.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/02-database-deadlock.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/03-memory-leak.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/04-slow-api-response.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/05-ddos-attack.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/06-disk-full.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/07-service-down.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/08-data-corruption.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/09-cascade-failure.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/playbooks/10-rate-limit-exceeded.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/scripts/health-check.sh +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/scripts/log-analyzer.py +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/scripts/metrics-collector.sh +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/scripts/trace-analyzer.js +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/templates/incident-report.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/templates/mitigation-plan.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/templates/post-mortem.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/agents/sre/templates/runbook-template.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/commands/specweave.monitor-setup.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/commands/specweave.slo-implement.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/skills/distributed-tracing/SKILL.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/skills/grafana-dashboards/SKILL.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/skills/hetzner-provisioner/README.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/skills/hetzner-provisioner/SKILL.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/skills/prometheus-configuration/SKILL.md +0 -0
- /package/{src ā plugins/specweave-infrastructure}/skills/slo-implementation/SKILL.md +0 -0
- /package/{src ā plugins/specweave-jira}/skills/jira-sync/README.md +0 -0
- /package/{src ā plugins/specweave-jira}/skills/jira-sync/SKILL.md +0 -0
- /package/{src ā plugins/specweave-jira}/skills/specweave-jira-mapper/SKILL.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/agents/kubernetes-architect/AGENT.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/gitops-workflow/SKILL.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/gitops-workflow/references/argocd-setup.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/gitops-workflow/references/sync-policies.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/helm-chart-scaffolding/SKILL.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/helm-chart-scaffolding/assets/Chart.yaml.template +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/helm-chart-scaffolding/assets/values.yaml.template +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/helm-chart-scaffolding/references/chart-structure.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/helm-chart-scaffolding/scripts/validate-chart.sh +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-manifest-generator/SKILL.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-manifest-generator/assets/configmap-template.yaml +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-manifest-generator/assets/deployment-template.yaml +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-manifest-generator/assets/service-template.yaml +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-manifest-generator/references/deployment-spec.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-manifest-generator/references/service-spec.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-security-policies/SKILL.md +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-security-policies/assets/network-policy-template.yaml +0 -0
- /package/{src ā plugins/specweave-kubernetes}/skills/k8s-security-policies/references/rbac-patterns.md +0 -0
- /package/{src ā plugins/specweave-ml}/agents/data-scientist/AGENT.md +0 -0
- /package/{src ā plugins/specweave-ml}/agents/mlops-engineer/AGENT.md +0 -0
- /package/{src ā plugins/specweave-ml}/commands/specweave.ml-pipeline.md +0 -0
- /package/{src ā plugins/specweave-ml}/skills/ml-pipeline-workflow/SKILL.md +0 -0
- /package/{src ā plugins/specweave-payments}/agents/payment-integration/AGENT.md +0 -0
- /package/{src ā plugins/specweave-payments}/skills/billing-automation/SKILL.md +0 -0
- /package/{src ā plugins/specweave-payments}/skills/paypal-integration/SKILL.md +0 -0
- /package/{src ā plugins/specweave-payments}/skills/pci-compliance/SKILL.md +0 -0
- /package/{src ā plugins/specweave-payments}/skills/stripe-integration/SKILL.md +0 -0
- /package/{src ā plugins/specweave-testing}/skills/e2e-playwright/README.md +0 -0
- /package/{src ā plugins/specweave-testing}/skills/e2e-playwright/SKILL.md +0 -0
- /package/{src ā plugins/specweave-testing}/skills/e2e-playwright/execute.js +0 -0
- /package/{src ā plugins/specweave-testing}/skills/e2e-playwright/lib/utils.js +0 -0
- /package/{src ā plugins/specweave-testing}/skills/e2e-playwright/package.json +0 -0
- /package/{src ā plugins/specweave-tooling}/skills/skill-creator/LICENSE.txt +0 -0
- /package/{src ā plugins/specweave-tooling}/skills/skill-creator/SKILL.md +0 -0
- /package/{src ā plugins/specweave-tooling}/skills/skill-creator/scripts/init_skill.py +0 -0
- /package/{src ā plugins/specweave-tooling}/skills/skill-creator/scripts/package_skill.py +0 -0
- /package/{src ā plugins/specweave-tooling}/skills/skill-creator/scripts/quick_validate.py +0 -0
- /package/{src ā plugins/specweave-tooling}/skills/skill-router/SKILL.md +0 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
# Translator Agent
|
|
2
|
+
|
|
3
|
+
**Role**: Batch Translation Specialist
|
|
4
|
+
**Expertise**: Multi-file translation coordination, consistency management, quality assurance
|
|
5
|
+
**Uses**: translator skill (for actual translation work)
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
I coordinate large-scale translation projects across multiple files, ensuring consistency, quality, and proper handling of SpecWeave framework conventions.
|
|
10
|
+
|
|
11
|
+
## When I Activate
|
|
12
|
+
|
|
13
|
+
I'm invoked for batch translation tasks:
|
|
14
|
+
- Translating entire increment folders
|
|
15
|
+
- Converting documentation sets to other languages
|
|
16
|
+
- Migrating projects to new primary language
|
|
17
|
+
- Quality-checking existing translations
|
|
18
|
+
|
|
19
|
+
**Keywords**: batch translate, translate project, translate docs, translate increment, convert all to [language]
|
|
20
|
+
|
|
21
|
+
## What I Do
|
|
22
|
+
|
|
23
|
+
### 1. **Project Analysis**
|
|
24
|
+
- Scan project structure for translatable content
|
|
25
|
+
- Identify file types (CLAUDE.md, specs, docs, skills, agents, commands)
|
|
26
|
+
- Determine translation scope and estimate effort
|
|
27
|
+
- Check for existing translations (avoid duplication)
|
|
28
|
+
|
|
29
|
+
### 2. **Translation Planning**
|
|
30
|
+
- Create translation manifest (what to translate, in what order)
|
|
31
|
+
- Group files by priority (critical docs first, then supporting content)
|
|
32
|
+
- Identify framework terms to preserve (increment, spec.md, tasks.md, etc.)
|
|
33
|
+
- Plan consistency rules (terminology, style, formatting)
|
|
34
|
+
|
|
35
|
+
### 3. **Batch Translation Execution**
|
|
36
|
+
- Translate files systematically using translator skill
|
|
37
|
+
- Maintain terminology glossary for consistency
|
|
38
|
+
- Preserve markdown structure, code blocks, YAML frontmatter
|
|
39
|
+
- Keep framework terms and file names in English
|
|
40
|
+
- Track progress and handle errors gracefully
|
|
41
|
+
|
|
42
|
+
### 4. **Quality Assurance**
|
|
43
|
+
- Verify all files translated correctly
|
|
44
|
+
- Check markdown formatting preserved
|
|
45
|
+
- Ensure code blocks untouched
|
|
46
|
+
- Validate YAML frontmatter intact
|
|
47
|
+
- Cross-reference terminology consistency
|
|
48
|
+
|
|
49
|
+
### 5. **Post-Translation Tasks**
|
|
50
|
+
- Update config.json with new language setting
|
|
51
|
+
- Create translation summary report
|
|
52
|
+
- Document any translation decisions or edge cases
|
|
53
|
+
- Suggest testing approach for translated content
|
|
54
|
+
|
|
55
|
+
## Translation Workflow
|
|
56
|
+
|
|
57
|
+
### Phase 1: Discovery
|
|
58
|
+
```bash
|
|
59
|
+
# Scan project for translatable files
|
|
60
|
+
1. CLAUDE.md (project instructions)
|
|
61
|
+
2. AGENTS.md (if Cursor/Copilot/Generic adapter)
|
|
62
|
+
3. .specweave/increments/*/spec.md, plan.md, tasks.md
|
|
63
|
+
4. .specweave/docs/internal/ (strategy, architecture, delivery)
|
|
64
|
+
5. .specweave/docs/public/ (user-facing docs)
|
|
65
|
+
6. skills/*/SKILL.md
|
|
66
|
+
7. agents/*/AGENT.md
|
|
67
|
+
8. commands/*.md
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Phase 2: Prioritization
|
|
71
|
+
```
|
|
72
|
+
Priority 1 (Critical):
|
|
73
|
+
- CLAUDE.md
|
|
74
|
+
- AGENTS.md (if exists)
|
|
75
|
+
- Current increment specs
|
|
76
|
+
|
|
77
|
+
Priority 2 (High):
|
|
78
|
+
- .specweave/docs/internal/strategy/
|
|
79
|
+
- .specweave/docs/public/
|
|
80
|
+
|
|
81
|
+
Priority 3 (Medium):
|
|
82
|
+
- Skills, agents, commands
|
|
83
|
+
- Older increment specs
|
|
84
|
+
|
|
85
|
+
Priority 4 (Low):
|
|
86
|
+
- Test files, logs, reports
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Phase 3: Translation
|
|
90
|
+
```
|
|
91
|
+
For each file:
|
|
92
|
+
1. Read original content
|
|
93
|
+
2. Detect framework terms, code blocks, YAML frontmatter
|
|
94
|
+
3. Invoke translator skill with context
|
|
95
|
+
4. Write translated content
|
|
96
|
+
5. Verify formatting preserved
|
|
97
|
+
6. Update glossary with new terms
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Phase 4: Validation
|
|
101
|
+
```
|
|
102
|
+
Quality checks:
|
|
103
|
+
ā All planned files translated
|
|
104
|
+
ā Markdown structure intact
|
|
105
|
+
ā Code blocks unchanged
|
|
106
|
+
ā YAML frontmatter valid
|
|
107
|
+
ā Framework terms in English
|
|
108
|
+
ā Terminology consistent across files
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Translation Rules (I Enforce These)
|
|
112
|
+
|
|
113
|
+
### ā
**Always Translate**:
|
|
114
|
+
- User instructions (CLAUDE.md)
|
|
115
|
+
- Documentation prose
|
|
116
|
+
- User stories, acceptance criteria
|
|
117
|
+
- Success/error messages in specs
|
|
118
|
+
- Strategic documents (PRDs, ADRs)
|
|
119
|
+
- Public documentation
|
|
120
|
+
|
|
121
|
+
### āøļø **Keep in English**:
|
|
122
|
+
- Framework terms: increment, spec.md, plan.md, tasks.md, COMPLETION-SUMMARY.md
|
|
123
|
+
- File paths: .specweave/, src/, .claude/
|
|
124
|
+
- Commands: /specweave:inc, /specweave:do, /specweave:progress
|
|
125
|
+
- Technical terms: TypeScript, npm, git, API, CLI, REST, JSON, HTTP
|
|
126
|
+
- SpecWeave keywords: living docs, context-manifest.yaml, PM gate
|
|
127
|
+
- Code identifiers: function names, class names, variable names
|
|
128
|
+
|
|
129
|
+
### š§ **Context-Dependent**:
|
|
130
|
+
- Comments in code (translate if documentation, keep if inline technical notes)
|
|
131
|
+
- Headers/titles (translate but may keep original in parentheses)
|
|
132
|
+
- Examples (translate prose, keep code unchanged)
|
|
133
|
+
|
|
134
|
+
## Consistency Management
|
|
135
|
+
|
|
136
|
+
**Terminology Glossary** (I maintain during translation):
|
|
137
|
+
```yaml
|
|
138
|
+
# Example glossary structure
|
|
139
|
+
terms:
|
|
140
|
+
increment:
|
|
141
|
+
en: increment
|
|
142
|
+
ru: increment (не ŠæŠµŃŠµŠ²Š¾Š“ŠøŃŃŃ)
|
|
143
|
+
es: increment (no traducir)
|
|
144
|
+
|
|
145
|
+
spec:
|
|
146
|
+
en: spec
|
|
147
|
+
ru: ŃŠæŠµŃŠøŃŠøŠŗŠ°ŃŠøŃ
|
|
148
|
+
es: especificación
|
|
149
|
+
|
|
150
|
+
living docs:
|
|
151
|
+
en: living docs
|
|
152
|
+
ru: living docs (Š¶ŠøŠ²Š°Ń Š“Š¾ŠŗŃŠ¼ŠµŠ½ŃŠ°ŃŠøŃ)
|
|
153
|
+
es: living docs (documentación viva)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Example Invocation
|
|
157
|
+
|
|
158
|
+
**User**: "Translate the entire project to Russian"
|
|
159
|
+
|
|
160
|
+
**My Response**:
|
|
161
|
+
```
|
|
162
|
+
š Translation Project Analysis
|
|
163
|
+
|
|
164
|
+
Target Language: Russian (ru)
|
|
165
|
+
Scope: Full project translation
|
|
166
|
+
|
|
167
|
+
Discovered Files:
|
|
168
|
+
ā CLAUDE.md
|
|
169
|
+
ā 3 increment specs (.specweave/increments/*/spec.md)
|
|
170
|
+
ā 12 internal docs (.specweave/docs/internal/)
|
|
171
|
+
ā 5 public docs (.specweave/docs/public/)
|
|
172
|
+
ā 8 skills (skills/*/SKILL.md)
|
|
173
|
+
ā 3 agents (agents/*/AGENT.md)
|
|
174
|
+
ā 7 commands (commands/*.md)
|
|
175
|
+
|
|
176
|
+
Total: 39 files
|
|
177
|
+
|
|
178
|
+
Estimated Time: 30-45 minutes
|
|
179
|
+
Framework Terms Preserved: increment, spec.md, plan.md, tasks.md, /specweave:*
|
|
180
|
+
|
|
181
|
+
Proceed with translation? (Y/n)
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Quality Guidelines
|
|
185
|
+
|
|
186
|
+
1. **Accuracy**: Translate meaning, not just words
|
|
187
|
+
2. **Natural**: Sound like native speaker wrote it
|
|
188
|
+
3. **Consistency**: Same terms throughout project
|
|
189
|
+
4. **Context**: Understand SpecWeave concepts before translating
|
|
190
|
+
5. **Formatting**: Preserve all markdown, YAML, code blocks
|
|
191
|
+
6. **Technical**: Keep technical terms in English when appropriate
|
|
192
|
+
7. **Framework**: Never translate SpecWeave framework terms
|
|
193
|
+
|
|
194
|
+
## Error Handling
|
|
195
|
+
|
|
196
|
+
**If translation fails**:
|
|
197
|
+
- Log error with file path and reason
|
|
198
|
+
- Skip file, continue with rest
|
|
199
|
+
- Report all errors at end
|
|
200
|
+
- Suggest manual review for failed files
|
|
201
|
+
|
|
202
|
+
**If formatting breaks**:
|
|
203
|
+
- Restore original file
|
|
204
|
+
- Try alternative translation approach
|
|
205
|
+
- Use simpler phrasing if needed
|
|
206
|
+
- Flag for manual review
|
|
207
|
+
|
|
208
|
+
## Integration with translator Skill
|
|
209
|
+
|
|
210
|
+
I use the translator skill for actual translation work:
|
|
211
|
+
```
|
|
212
|
+
Me (translator agent): Coordinates workflow, manages files
|
|
213
|
+
ā Uses: translator skill (performs translation)
|
|
214
|
+
ā Returns: Translated content
|
|
215
|
+
|
|
216
|
+
I handle: File I/O, consistency, quality checks
|
|
217
|
+
Skill handles: Actual LLM-native translation
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Output
|
|
221
|
+
|
|
222
|
+
After completing translation:
|
|
223
|
+
|
|
224
|
+
```markdown
|
|
225
|
+
# Translation Summary Report
|
|
226
|
+
|
|
227
|
+
**Target Language**: Russian (ru)
|
|
228
|
+
**Date**: 2025-11-02
|
|
229
|
+
**Status**: ā
Complete
|
|
230
|
+
|
|
231
|
+
## Statistics
|
|
232
|
+
- Files translated: 39/39 (100%)
|
|
233
|
+
- Total content: ~25,000 words
|
|
234
|
+
- Framework terms preserved: 47
|
|
235
|
+
- Code blocks preserved: 123
|
|
236
|
+
- Translation time: 35 minutes
|
|
237
|
+
|
|
238
|
+
## Quality Checks
|
|
239
|
+
ā All markdown formatting intact
|
|
240
|
+
ā YAML frontmatter valid
|
|
241
|
+
ā Code blocks unchanged
|
|
242
|
+
ā Framework terms in English
|
|
243
|
+
ā Terminology consistent
|
|
244
|
+
|
|
245
|
+
## Files Translated
|
|
246
|
+
Priority 1 (Critical):
|
|
247
|
+
ā CLAUDE.md
|
|
248
|
+
ā .specweave/increments/0006-llm-native-i18n/spec.md
|
|
249
|
+
|
|
250
|
+
Priority 2 (High):
|
|
251
|
+
ā .specweave/docs/internal/strategy/*.md (5 files)
|
|
252
|
+
ā .specweave/docs/public/*.md (5 files)
|
|
253
|
+
|
|
254
|
+
[... full list ...]
|
|
255
|
+
|
|
256
|
+
## Terminology Glossary
|
|
257
|
+
Created: .specweave/docs/internal/translation-glossary.yaml
|
|
258
|
+
|
|
259
|
+
## Recommendations
|
|
260
|
+
1. Test translated CLI messages: npm run test:i18n
|
|
261
|
+
2. Review critical files manually: CLAUDE.md, spec.md
|
|
262
|
+
3. Update config.json: language = "ru"
|
|
263
|
+
4. Consider creating English fallback docs in docs/internal/en/
|
|
264
|
+
|
|
265
|
+
## Next Steps
|
|
266
|
+
- [ ] Test project with new language setting
|
|
267
|
+
- [ ] Review glossary for consistency
|
|
268
|
+
- [ ] Update public documentation site (if applicable)
|
|
269
|
+
- [ ] Create translation maintenance guide
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## Notes
|
|
275
|
+
|
|
276
|
+
- I work with the translator skill, not replace it
|
|
277
|
+
- I handle batch operations, the skill handles individual translations
|
|
278
|
+
- I maintain consistency across large translation projects
|
|
279
|
+
- I understand SpecWeave structure and preserve framework integrity
|
|
280
|
+
- I use LLM-native translation (zero additional cost)
|
|
281
|
+
|
|
282
|
+
**Remember**: Translation is not just word replacement - it's about making SpecWeave accessible to developers in their native language while preserving technical clarity and framework conventions.
|
|
@@ -10,22 +10,22 @@ This directory contains all slash commands for SpecWeave.
|
|
|
10
10
|
|
|
11
11
|
| Command | Shorthand via /specweave | Description |
|
|
12
12
|
|---------|--------------------------|-------------|
|
|
13
|
-
| `/specweave
|
|
14
|
-
| `/specweave
|
|
15
|
-
| `/specweave
|
|
16
|
-
| `/specweave
|
|
17
|
-
| `/specweave
|
|
18
|
-
| `/specweave
|
|
19
|
-
| `/specweave
|
|
13
|
+
| `/specweave:increment` | `/specweave inc` | Plan increment (PM-led, auto-closes previous if ready) |
|
|
14
|
+
| `/specweave:inc` | `/specweave inc` | Alias for /specweave:increment |
|
|
15
|
+
| `/specweave:do` | `/specweave do` | Execute work (smart resume, hooks after every task) |
|
|
16
|
+
| `/specweave:next` | `/specweave next` | Smart transition (close + suggest next) |
|
|
17
|
+
| `/specweave:progress` | `/specweave progress` | Show status (task %, PM gates, next action) |
|
|
18
|
+
| `/specweave:validate` | `/specweave validate` | Validate quality (rule-based + optional LLM judge) |
|
|
19
|
+
| `/specweave:done` | `/specweave done` | Close explicitly (optional, /inc auto-closes) |
|
|
20
20
|
|
|
21
21
|
### Supporting Commands
|
|
22
22
|
|
|
23
23
|
| Command | Shorthand via /specweave | Description |
|
|
24
24
|
|---------|--------------------------|-------------|
|
|
25
|
-
| `/specweave
|
|
26
|
-
| `/specweave
|
|
27
|
-
| `/specweave
|
|
28
|
-
| `/specweave
|
|
25
|
+
| `/specweave:list-increments` | `/specweave list-increments` | List all increments with status and WIP tracking |
|
|
26
|
+
| `/specweave:sync-docs` | `/specweave sync-docs` | Review strategic docs vs implementation |
|
|
27
|
+
| `/specweave:sync-github` | `/specweave sync-github` | Sync increment to GitHub issues with granular control |
|
|
28
|
+
| `/specweave:sync-jira` | `/specweave sync-jira` | Sync increment to Jira epics/stories with granular control |
|
|
29
29
|
|
|
30
30
|
### Master Router Command
|
|
31
31
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: costs
|
|
3
3
|
description: Display AI cost dashboard for current or specified increment with real-time savings tracking
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Cost Dashboard Command
|
|
7
7
|
|
|
8
|
-
You are being invoked via the `/specweave
|
|
8
|
+
You are being invoked via the `/specweave:costs [incrementId]` command.
|
|
9
9
|
|
|
10
10
|
## Your Task
|
|
11
11
|
|
|
@@ -206,7 +206,7 @@ COST BY INCREMENT
|
|
|
206
206
|
|
|
207
207
|
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
|
|
208
208
|
|
|
209
|
-
š” Tip: Use "/specweave
|
|
209
|
+
š” Tip: Use "/specweave:costs 0003" to see detailed report for increment 0003
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
## Error Handling
|
|
@@ -221,7 +221,7 @@ This could mean:
|
|
|
221
221
|
- Cost tracking is not enabled
|
|
222
222
|
- The cost log file is missing
|
|
223
223
|
|
|
224
|
-
Run /specweave
|
|
224
|
+
Run /specweave:do to start executing tasks with cost tracking enabled.
|
|
225
225
|
```
|
|
226
226
|
|
|
227
227
|
### Invalid Increment ID
|
|
@@ -234,7 +234,7 @@ Available increments:
|
|
|
234
234
|
- 0002-core-enhancements
|
|
235
235
|
- 0003-intelligent-model-selection
|
|
236
236
|
|
|
237
|
-
Use /specweave
|
|
237
|
+
Use /specweave:costs without arguments to see all increments.
|
|
238
238
|
```
|
|
239
239
|
|
|
240
240
|
## Important Notes
|
|
@@ -247,9 +247,9 @@ Use /specweave.costs without arguments to see all increments.
|
|
|
247
247
|
|
|
248
248
|
## Related Commands
|
|
249
249
|
|
|
250
|
-
- `/specweave
|
|
251
|
-
- `/specweave
|
|
252
|
-
- `/specweave
|
|
250
|
+
- `/specweave:do` - Execute tasks with cost tracking
|
|
251
|
+
- `/specweave:progress` - View progress with cost summary
|
|
252
|
+
- `/specweave:validate` - Validate increment (includes cost checks)
|
|
253
253
|
|
|
254
254
|
## Success Criteria
|
|
255
255
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: do
|
|
3
3
|
description: Execute increment implementation following spec and plan - hooks run after EVERY task
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -157,7 +157,28 @@ If already "in-progress", keep existing metadata.
|
|
|
157
157
|
- š Shows reminder message
|
|
158
158
|
- ā
This happens automatically when you mark task complete
|
|
159
159
|
|
|
160
|
-
**Step B: Update
|
|
160
|
+
**Step B: Update GitHub Issue (if GitHub plugin enabled)**:
|
|
161
|
+
- Close task GitHub issue (#43, #44, etc.)
|
|
162
|
+
- Check off task in epic issue
|
|
163
|
+
- Post completion comment with stats:
|
|
164
|
+
- Files modified (+lines/-lines)
|
|
165
|
+
- Tests passing
|
|
166
|
+
- Actual vs estimated duration
|
|
167
|
+
- Brief summary of changes
|
|
168
|
+
- Next task
|
|
169
|
+
- Update epic progress (X/Y tasks completed, Z%)
|
|
170
|
+
- Add 'in-progress' label to epic (if first task)
|
|
171
|
+
|
|
172
|
+
**Example GitHub sync**:
|
|
173
|
+
```
|
|
174
|
+
š Syncing to GitHub...
|
|
175
|
+
ā Closed task issue #43
|
|
176
|
+
ā Checked off [T-001] in epic #42
|
|
177
|
+
ā Posted completion comment
|
|
178
|
+
ā Updated epic progress: 7/48 tasks (15%)
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**Step C: Update project documentation inline**:
|
|
161
182
|
- Update CLAUDE.md if task added:
|
|
162
183
|
- New commands or CLI flags
|
|
163
184
|
- New file structure
|
|
@@ -173,8 +194,8 @@ If already "in-progress", keep existing metadata.
|
|
|
173
194
|
- Breaking changes
|
|
174
195
|
- New features
|
|
175
196
|
|
|
176
|
-
**Step
|
|
177
|
-
- Do NOT call `/sync-docs` yet (wait until all tasks complete)
|
|
197
|
+
**Step D: Continue to next task**:
|
|
198
|
+
- Do NOT call `/specweave:sync-docs` yet (wait until all tasks complete)
|
|
178
199
|
- Move to next incomplete task
|
|
179
200
|
|
|
180
201
|
**Example task execution**:
|
|
@@ -201,6 +222,12 @@ TASK T001: Create User model (PostgreSQL)
|
|
|
201
222
|
š [Glass.aiff plays automatically via hook]
|
|
202
223
|
š Task completed! Remember to update documentation...
|
|
203
224
|
|
|
225
|
+
š Syncing to GitHub (if enabled):
|
|
226
|
+
ā Closed task issue #43
|
|
227
|
+
ā Checked off [T-001] in epic #42
|
|
228
|
+
ā Posted completion comment to #43
|
|
229
|
+
ā Updated epic #42 progress: 1/42 tasks (2%)
|
|
230
|
+
|
|
204
231
|
š Updating project documentation:
|
|
205
232
|
ā Updated CLAUDE.md (added User model to schema reference)
|
|
206
233
|
ā Updated README.md (added database section with example)
|
|
@@ -320,10 +347,10 @@ Up next:
|
|
|
320
347
|
š Now syncing implementation learnings to living docs...
|
|
321
348
|
```
|
|
322
349
|
|
|
323
|
-
**CRITICAL: Now run `/sync-docs update` to sync to living docs**:
|
|
350
|
+
**CRITICAL: Now run `/specweave:sync-docs update` to sync to living docs**:
|
|
324
351
|
|
|
325
352
|
```bash
|
|
326
|
-
/sync-docs update
|
|
353
|
+
/specweave:sync-docs update
|
|
327
354
|
```
|
|
328
355
|
|
|
329
356
|
This will:
|
|
@@ -333,7 +360,7 @@ This will:
|
|
|
333
360
|
- Update feature lists with completed features
|
|
334
361
|
- May prompt for conflict resolution if needed
|
|
335
362
|
|
|
336
|
-
**After `/sync-docs update` completes**:
|
|
363
|
+
**After `/specweave:sync-docs update` completes**:
|
|
337
364
|
|
|
338
365
|
```
|
|
339
366
|
ā
Living documentation synchronized!
|
|
@@ -405,7 +432,7 @@ After each task, Claude should manually update:
|
|
|
405
432
|
- **README.md**: User-facing features, installation, usage, API changes
|
|
406
433
|
- **CHANGELOG.md**: Public API changes, breaking changes, new features
|
|
407
434
|
|
|
408
|
-
**Living docs sync** (via `/sync-docs update`):
|
|
435
|
+
**Living docs sync** (via `/specweave:sync-docs update`):
|
|
409
436
|
- Only after ALL tasks complete
|
|
410
437
|
- Updates `.specweave/docs/` with implementation learnings
|
|
411
438
|
- Updates ADRs from Proposed ā Accepted
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: increment
|
|
3
3
|
description: Plan new Product Increment - PM-led process (market research, spec, plan, auto-generate tasks). Auto-closes previous increment if PM gates pass.
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -11,9 +11,82 @@ You are helping the user create a new SpecWeave increment with automatic closure
|
|
|
11
11
|
|
|
12
12
|
## Steps:
|
|
13
13
|
|
|
14
|
-
### Step
|
|
14
|
+
### Step 0A: STRICT Pre-Flight Check (MANDATORY - v0.6.0+)
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
**ā THE IRON RULE: Cannot start increment N+1 until increment N is DONE**
|
|
17
|
+
|
|
18
|
+
**THIS IS NOT NEGOTIABLE** - Enforce strict increment discipline!
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
// Import increment status detector
|
|
22
|
+
import { IncrementStatusDetector } from '../core/increment-status';
|
|
23
|
+
|
|
24
|
+
// Check for incomplete increments
|
|
25
|
+
const detector = new IncrementStatusDetector();
|
|
26
|
+
const incomplete = await detector.getAllIncomplete();
|
|
27
|
+
|
|
28
|
+
if (incomplete.length > 0) {
|
|
29
|
+
// ā BLOCK IMMEDIATELY - Show error and exit
|
|
30
|
+
console.log(chalk.red.bold('\nā Cannot create new increment!\n'));
|
|
31
|
+
|
|
32
|
+
console.log(chalk.yellow('Previous increments are incomplete:\n'));
|
|
33
|
+
|
|
34
|
+
incomplete.forEach(status => {
|
|
35
|
+
console.log(chalk.yellow(`š Increment ${status.id}`));
|
|
36
|
+
console.log(` Status: ${status.percentComplete}% complete (${status.completedTasks}/${status.totalTasks} tasks)`);
|
|
37
|
+
|
|
38
|
+
if (status.pendingTasks.length <= 5) {
|
|
39
|
+
console.log(' Pending:');
|
|
40
|
+
status.pendingTasks.forEach(task => {
|
|
41
|
+
console.log(` - ${task.id}: ${task.title}`);
|
|
42
|
+
});
|
|
43
|
+
} else {
|
|
44
|
+
console.log(` Pending: ${status.pendingTasks.length} tasks`);
|
|
45
|
+
}
|
|
46
|
+
console.log('');
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
console.log(chalk.blue('š” What would you like to do?\n'));
|
|
50
|
+
console.log(chalk.white('1ļøā£ Close incomplete increments:'));
|
|
51
|
+
console.log(chalk.dim(' /specweave:close\n'));
|
|
52
|
+
|
|
53
|
+
console.log(chalk.white('2ļøā£ Check status:'));
|
|
54
|
+
console.log(chalk.dim(' /specweave:status\n'));
|
|
55
|
+
|
|
56
|
+
console.log(chalk.white('3ļøā£ Force create (DANGEROUS - violates discipline!):'));
|
|
57
|
+
console.log(chalk.dim(' Add --force flag to bypass this check\n'));
|
|
58
|
+
|
|
59
|
+
console.log(chalk.yellow.bold('ā ļø The discipline exists for a reason:'));
|
|
60
|
+
console.log(chalk.yellow(' - Prevents scope creep'));
|
|
61
|
+
console.log(chalk.yellow(' - Ensures completions are tracked'));
|
|
62
|
+
console.log(chalk.yellow(' - Maintains living docs accuracy'));
|
|
63
|
+
console.log(chalk.yellow(' - Keeps work focused\n'));
|
|
64
|
+
|
|
65
|
+
// Exit - do NOT proceed
|
|
66
|
+
process.exit(1);
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Why This is Strict** (changed from v0.5.0):
|
|
71
|
+
- ā NO "suggest, don't force" - this IS forced
|
|
72
|
+
- ā NO options to defer - close previous first
|
|
73
|
+
- ā NO auto-closing gates - explicit closure required
|
|
74
|
+
- ā
HARD BLOCK - cannot proceed without closing previous
|
|
75
|
+
- ā
Clear next steps - use `/specweave:close`
|
|
76
|
+
- ā
Safety valve - `--force` flag for emergencies (logged)
|
|
77
|
+
|
|
78
|
+
**Rationale**:
|
|
79
|
+
- Increments pile up without discipline (see: 0002, 0003, 0006 all incomplete)
|
|
80
|
+
- "Suggest" approach failed - users ignore suggestions
|
|
81
|
+
- Living docs become stale when increments stay open
|
|
82
|
+
- Multiple incomplete increments = no source of truth
|
|
83
|
+
- Force discipline = force quality
|
|
84
|
+
|
|
85
|
+
### Step 0B: Smart Check Previous Increment (if applicable)
|
|
86
|
+
|
|
87
|
+
**šÆ ONLY RUNS IF Step 0A passes** (no incomplete increments)
|
|
88
|
+
|
|
89
|
+
This step handles auto-closing the previous increment if it's ready.
|
|
17
90
|
|
|
18
91
|
1. **Check for in-progress increments**:
|
|
19
92
|
```bash
|
|
@@ -26,24 +99,16 @@ You are helping the user create a new SpecWeave increment with automatic closure
|
|
|
26
99
|
- **Gate 2**: Tests passing (>80% coverage)?
|
|
27
100
|
- **Gate 3**: Documentation updated (CLAUDE.md, README.md)?
|
|
28
101
|
|
|
29
|
-
3. **Decision matrix
|
|
102
|
+
3. **Decision matrix**:
|
|
30
103
|
```
|
|
31
104
|
All gates ā
ā Auto-close previous, create new (seamless)
|
|
32
105
|
|
|
33
|
-
Any gate ā ā
|
|
34
|
-
|
|
35
|
-
ā Finish remaining work before starting new
|
|
36
|
-
|
|
37
|
-
Option B: Move incomplete tasks to 0002
|
|
38
|
-
ā Transfer T006, T007 to new increment
|
|
39
|
-
ā Close 0001 as "completed with deferrals"
|
|
40
|
-
|
|
41
|
-
Option C: Cancel new increment
|
|
42
|
-
ā Stay on 0001, continue working
|
|
43
|
-
ā User will retry /inc when ready
|
|
106
|
+
Any gate ā ā This should never happen (caught by Step 0A)
|
|
107
|
+
ā If it does, treat as incomplete and block
|
|
44
108
|
```
|
|
45
109
|
|
|
46
|
-
**
|
|
110
|
+
**NOTE**: Step 0B is now mostly redundant - Step 0A already blocks incomplete work.
|
|
111
|
+
This step remains for auto-closing "in-progress" increments that ARE complete.
|
|
47
112
|
|
|
48
113
|
4. **Auto-close output** (if gates pass):
|
|
49
114
|
```
|
|
@@ -297,10 +362,10 @@ After the increment-planner skill completes, verify:
|
|
|
297
362
|
š Now syncing strategic documentation to living docs...
|
|
298
363
|
```
|
|
299
364
|
|
|
300
|
-
**Run `/sync-docs update` to create initial documentation**:
|
|
365
|
+
**Run `/specweave:sync-docs update` to create initial documentation**:
|
|
301
366
|
|
|
302
367
|
```bash
|
|
303
|
-
/sync-docs update
|
|
368
|
+
/specweave:sync-docs update
|
|
304
369
|
```
|
|
305
370
|
|
|
306
371
|
This will:
|
|
@@ -311,7 +376,7 @@ This will:
|
|
|
311
376
|
- Update security docs in `.specweave/docs/internal/security/`
|
|
312
377
|
- May prompt for conflict resolution if needed
|
|
313
378
|
|
|
314
|
-
**After `/sync-docs update` completes**:
|
|
379
|
+
**After `/specweave:sync-docs update` completes**:
|
|
315
380
|
|
|
316
381
|
```
|
|
317
382
|
ā
Strategic documentation synchronized!
|