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
|
@@ -39,6 +39,16 @@ This master command routes to SpecWeave increment lifecycle subcommands.
|
|
|
39
39
|
| **sync-github** | Sync increment to GitHub issues | `/specweave sync-github 0001` |
|
|
40
40
|
| **sync-jira** | Sync increment to Jira epics/stories | `/specweave sync-jira import SCRUM-123` |
|
|
41
41
|
|
|
42
|
+
### GitHub Plugin
|
|
43
|
+
|
|
44
|
+
| Subcommand | Description | Example |
|
|
45
|
+
|------------|-------------|---------|
|
|
46
|
+
| **github.create-issue** | Create GitHub issue from increment | `/specweave github.create-issue 0001` |
|
|
47
|
+
| **github.sync** | Bidirectional sync with GitHub | `/specweave github.sync 0001` |
|
|
48
|
+
| **github.sync-tasks** | Sync tasks as GitHub sub-issues | `/specweave github.sync-tasks 0001` |
|
|
49
|
+
| **github.close-issue** | Close GitHub issue | `/specweave github.close-issue 0001` |
|
|
50
|
+
| **github.status** | Show GitHub sync status | `/specweave github.status` |
|
|
51
|
+
|
|
42
52
|
---
|
|
43
53
|
|
|
44
54
|
## Subcommand Routing
|
|
@@ -53,14 +63,21 @@ This master command routes to SpecWeave increment lifecycle subcommands.
|
|
|
53
63
|
|
|
54
64
|
```yaml
|
|
55
65
|
subcommands:
|
|
56
|
-
inc: .claude/commands/specweave
|
|
57
|
-
build: .claude/commands/specweave
|
|
58
|
-
next: .claude/commands/specweave
|
|
59
|
-
done: .claude/commands/specweave
|
|
60
|
-
progress: .claude/commands/specweave
|
|
61
|
-
validate: .claude/commands/specweave
|
|
62
|
-
sync-github: .claude/commands/specweave
|
|
63
|
-
sync-jira: .claude/commands/specweave
|
|
66
|
+
inc: .claude/commands/specweave:inc.md
|
|
67
|
+
build: .claude/commands/specweave:do.md
|
|
68
|
+
next: .claude/commands/specweave:next.md
|
|
69
|
+
done: .claude/commands/specweave:done.md
|
|
70
|
+
progress: .claude/commands/specweave:progress.md
|
|
71
|
+
validate: .claude/commands/specweave:validate.md
|
|
72
|
+
sync-github: .claude/commands/specweave:sync-github.md
|
|
73
|
+
sync-jira: .claude/commands/specweave:sync-jira.md
|
|
74
|
+
|
|
75
|
+
# GitHub Plugin Commands
|
|
76
|
+
github.create-issue: .claude/commands/specweave-github:github-create-issue.md
|
|
77
|
+
github.sync: .claude/commands/specweave-github:github-sync.md
|
|
78
|
+
github.sync-tasks: .claude/commands/specweave-github:github-sync-tasks.md
|
|
79
|
+
github.close-issue: .claude/commands/specweave-github:github-close-issue.md
|
|
80
|
+
github.status: .claude/commands/specweave-github:github-status.md
|
|
64
81
|
```
|
|
65
82
|
|
|
66
83
|
---
|
|
@@ -90,7 +107,7 @@ Else:
|
|
|
90
107
|
### Step 3: Route to Command
|
|
91
108
|
|
|
92
109
|
```
|
|
93
|
-
Read file: .claude/commands/specweave
|
|
110
|
+
Read file: .claude/commands/specweave:inc.md
|
|
94
111
|
Execute: Command content with arguments
|
|
95
112
|
```
|
|
96
113
|
|
|
@@ -108,8 +125,8 @@ Execute: Command content with arguments
|
|
|
108
125
|
**Routing**:
|
|
109
126
|
```
|
|
110
127
|
Parse: subcommand = "inc", args = ["User authentication"]
|
|
111
|
-
Route to: .claude/commands/specweave
|
|
112
|
-
Execute: /specweave
|
|
128
|
+
Route to: .claude/commands/specweave:inc.md
|
|
129
|
+
Execute: /specweave:inc "User authentication"
|
|
113
130
|
```
|
|
114
131
|
|
|
115
132
|
### Example 2: Build Current Increment
|
|
@@ -122,8 +139,8 @@ Execute: /specweave.inc "User authentication"
|
|
|
122
139
|
**Routing**:
|
|
123
140
|
```
|
|
124
141
|
Parse: subcommand = "build", args = []
|
|
125
|
-
Route to: .claude/commands/specweave
|
|
126
|
-
Execute: /specweave
|
|
142
|
+
Route to: .claude/commands/specweave:do.md
|
|
143
|
+
Execute: /specweave:do (auto-finds active increment)
|
|
127
144
|
```
|
|
128
145
|
|
|
129
146
|
### Example 3: Smart Transition
|
|
@@ -136,8 +153,8 @@ Execute: /specweave.do (auto-finds active increment)
|
|
|
136
153
|
**Routing**:
|
|
137
154
|
```
|
|
138
155
|
Parse: subcommand = "next", args = []
|
|
139
|
-
Route to: .claude/commands/specweave
|
|
140
|
-
Execute: /specweave
|
|
156
|
+
Route to: .claude/commands/specweave:next.md
|
|
157
|
+
Execute: /specweave:next (validates, closes, suggests)
|
|
141
158
|
```
|
|
142
159
|
|
|
143
160
|
### Example 4: Invalid Subcommand
|
|
@@ -165,8 +182,16 @@ Available subcommands:
|
|
|
165
182
|
sync-github - Sync to GitHub
|
|
166
183
|
sync-docs - Sync documentation (review/update)
|
|
167
184
|
|
|
185
|
+
GitHub Plugin:
|
|
186
|
+
github.create-issue - Create GitHub issue from increment
|
|
187
|
+
github.sync - Bidirectional sync with GitHub
|
|
188
|
+
github.sync-tasks - Sync tasks as GitHub sub-issues
|
|
189
|
+
github.close-issue - Close GitHub issue
|
|
190
|
+
github.status - Show GitHub sync status
|
|
191
|
+
|
|
168
192
|
Usage: /specweave <subcommand> [arguments]
|
|
169
193
|
Example: /specweave inc "User authentication"
|
|
194
|
+
Example: /specweave github.create-issue 0001
|
|
170
195
|
```
|
|
171
196
|
|
|
172
197
|
---
|
|
@@ -184,14 +209,14 @@ function handleSpecweaveCommand(rawInput) {
|
|
|
184
209
|
|
|
185
210
|
// Routing table
|
|
186
211
|
const routes = {
|
|
187
|
-
'inc': '
|
|
188
|
-
'do': '
|
|
189
|
-
'next': '
|
|
190
|
-
'done': '
|
|
191
|
-
'progress': '
|
|
192
|
-
'validate': '
|
|
193
|
-
'sync-github': '
|
|
194
|
-
'sync-docs': '
|
|
212
|
+
'inc': 'inc.md',
|
|
213
|
+
'do': 'do.md',
|
|
214
|
+
'next': 'next.md',
|
|
215
|
+
'done': 'done.md',
|
|
216
|
+
'progress': 'progress.md',
|
|
217
|
+
'validate': 'validate.md',
|
|
218
|
+
'sync-github': 'sync-github.md',
|
|
219
|
+
'sync-docs': 'sync-docs.md'
|
|
195
220
|
};
|
|
196
221
|
|
|
197
222
|
// Validate subcommand
|
|
@@ -228,7 +253,7 @@ User's project:
|
|
|
228
253
|
.claude/commands/do.md (their own build command)
|
|
229
254
|
|
|
230
255
|
SpecWeave installation:
|
|
231
|
-
.claude/commands/specweave
|
|
256
|
+
.claude/commands/specweave:do.md (SpecWeave's build)
|
|
232
257
|
.claude/commands/specweave.md (master router)
|
|
233
258
|
|
|
234
259
|
Result: ✅ NO COLLISION - Both coexist!
|
|
@@ -353,7 +378,7 @@ If you have code/docs referencing old commands:
|
|
|
353
378
|
/progress → /specweave progress
|
|
354
379
|
/validate → /specweave validate
|
|
355
380
|
/sync-github → /specweave sync-github
|
|
356
|
-
/sync-docs → /specweave sync-docs
|
|
381
|
+
/specweave:sync-docs → /specweave sync-docs
|
|
357
382
|
```
|
|
358
383
|
|
|
359
384
|
### Automated Migration Script
|
|
@@ -407,6 +432,13 @@ Project Setup:
|
|
|
407
432
|
sync-github <id> - Sync increment to GitHub issues
|
|
408
433
|
sync-docs [mode] [id] - Sync documentation (review/update)
|
|
409
434
|
|
|
435
|
+
GitHub Plugin:
|
|
436
|
+
github.create-issue <id> - Create GitHub issue from increment
|
|
437
|
+
github.sync <id> - Bidirectional sync with GitHub
|
|
438
|
+
github.sync-tasks <id> - Sync tasks as GitHub sub-issues
|
|
439
|
+
github.close-issue <id> - Close GitHub issue
|
|
440
|
+
github.status - Show GitHub sync status
|
|
441
|
+
|
|
410
442
|
Examples:
|
|
411
443
|
/specweave inc "User authentication"
|
|
412
444
|
/specweave do
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: sync-docs
|
|
3
3
|
description: Bidirectional documentation sync - review strategic docs before implementation OR update living docs from completed increments with conflict resolution
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -581,7 +581,7 @@ Documentation is now in sync with increment {increment_id}! 🎉
|
|
|
581
581
|
Available increments:
|
|
582
582
|
{list .specweave/increments/*/}
|
|
583
583
|
|
|
584
|
-
Usage: /sync-docs [review|update] [increment_id]
|
|
584
|
+
Usage: /specweave:sync-docs [review|update] [increment_id]
|
|
585
585
|
```
|
|
586
586
|
|
|
587
587
|
### Error: No Increment Files
|
|
@@ -605,7 +605,7 @@ Valid modes:
|
|
|
605
605
|
- update (post-implementation doc sync)
|
|
606
606
|
- [none] (auto-detect based on status)
|
|
607
607
|
|
|
608
|
-
Usage: /sync-docs [review|update] [increment_id]
|
|
608
|
+
Usage: /specweave:sync-docs [review|update] [increment_id]
|
|
609
609
|
```
|
|
610
610
|
|
|
611
611
|
---
|
|
@@ -614,7 +614,7 @@ Usage: /sync-docs [review|update] [increment_id]
|
|
|
614
614
|
|
|
615
615
|
### Example 1: Auto-detect mode for current increment
|
|
616
616
|
```
|
|
617
|
-
User: /sync-docs
|
|
617
|
+
User: /specweave:sync-docs
|
|
618
618
|
|
|
619
619
|
Output:
|
|
620
620
|
🔍 Detected increment: 0002
|
|
@@ -627,7 +627,7 @@ Proceeding with UPDATE mode...
|
|
|
627
627
|
|
|
628
628
|
### Example 2: Explicit review mode
|
|
629
629
|
```
|
|
630
|
-
User: /sync-docs review 0003
|
|
630
|
+
User: /specweave:sync-docs review 0003
|
|
631
631
|
|
|
632
632
|
Output:
|
|
633
633
|
🔍 Increment: 0003
|
|
@@ -639,7 +639,7 @@ Output:
|
|
|
639
639
|
|
|
640
640
|
### Example 3: Explicit update mode with increment
|
|
641
641
|
```
|
|
642
|
-
User: /sync-docs update 0002
|
|
642
|
+
User: /specweave:sync-docs update 0002
|
|
643
643
|
|
|
644
644
|
Output:
|
|
645
645
|
🔍 Increment: 0002
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: translate
|
|
3
|
+
description: Translate SpecWeave project content to target language using LLM-native zero-cost translation
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /specweave:translate - Batch Translation Command
|
|
7
|
+
|
|
8
|
+
You are being asked to translate SpecWeave project content to a target language.
|
|
9
|
+
|
|
10
|
+
## Your Role
|
|
11
|
+
|
|
12
|
+
Act as the **translator agent** to coordinate batch translation of project files.
|
|
13
|
+
|
|
14
|
+
## Context
|
|
15
|
+
|
|
16
|
+
SpecWeave supports **LLM-native i18n** - zero-cost translation using system prompt injection instead of external translation APIs. This command orchestrates translation of:
|
|
17
|
+
|
|
18
|
+
- Project instructions (CLAUDE.md, AGENTS.md)
|
|
19
|
+
- Increment specifications (.specweave/increments/*/spec.md, plan.md, tasks.md)
|
|
20
|
+
- Strategic documentation (.specweave/docs/internal/)
|
|
21
|
+
- Public documentation (.specweave/docs/public/)
|
|
22
|
+
- Skills, agents, commands (skills/, agents/, commands/)
|
|
23
|
+
|
|
24
|
+
## Supported Languages
|
|
25
|
+
|
|
26
|
+
- 🇬🇧 English (en) - Default
|
|
27
|
+
- 🇷🇺 Russian (ru) - Русский
|
|
28
|
+
- 🇪🇸 Spanish (es) - Español
|
|
29
|
+
- 🇨🇳 Chinese (zh) - 中文
|
|
30
|
+
- 🇩🇪 German (de) - Deutsch
|
|
31
|
+
- 🇫🇷 French (fr) - Français
|
|
32
|
+
- 🇯🇵 Japanese (ja) - 日本語
|
|
33
|
+
- 🇰🇷 Korean (ko) - 한국어
|
|
34
|
+
- 🇧🇷 Portuguese (pt) - Português
|
|
35
|
+
|
|
36
|
+
## Command Syntax
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# Translate entire project
|
|
40
|
+
/specweave:translate <target-language>
|
|
41
|
+
|
|
42
|
+
# Translate specific scope
|
|
43
|
+
/specweave:translate <target-language> --scope <scope>
|
|
44
|
+
|
|
45
|
+
# Preview without writing
|
|
46
|
+
/specweave:translate <target-language> --dry-run
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Examples**:
|
|
50
|
+
```bash
|
|
51
|
+
/specweave:translate ru # Translate all to Russian
|
|
52
|
+
/specweave:translate es --scope increments # Only increment specs
|
|
53
|
+
/specweave:translate zh --scope current # Only current increment
|
|
54
|
+
/specweave:translate de --dry-run # Preview German translation
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Scopes
|
|
58
|
+
|
|
59
|
+
| Scope | What Gets Translated |
|
|
60
|
+
|-------|---------------------|
|
|
61
|
+
| `all` (default) | Everything (CLAUDE.md, specs, docs, skills, agents, commands) |
|
|
62
|
+
| `increments` | All increment files (.specweave/increments/*/) |
|
|
63
|
+
| `current` | Current increment only |
|
|
64
|
+
| `docs` | Documentation only (.specweave/docs/) |
|
|
65
|
+
| `skills` | Skills only (skills/*/) |
|
|
66
|
+
| `agents` | Agents only (agents/*/) |
|
|
67
|
+
| `commands` | Commands only (commands/*/) |
|
|
68
|
+
| `claude-md` | CLAUDE.md only |
|
|
69
|
+
|
|
70
|
+
## Your Workflow
|
|
71
|
+
|
|
72
|
+
### Step 1: Parse Command
|
|
73
|
+
```
|
|
74
|
+
Extract:
|
|
75
|
+
- Target language (required)
|
|
76
|
+
- Scope (default: all)
|
|
77
|
+
- Dry-run flag (default: false)
|
|
78
|
+
|
|
79
|
+
Validate:
|
|
80
|
+
- Target language is supported
|
|
81
|
+
- Scope is valid
|
|
82
|
+
- Project has translatable content
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Step 2: Discovery Phase
|
|
86
|
+
```
|
|
87
|
+
Scan project for translatable files based on scope:
|
|
88
|
+
|
|
89
|
+
If scope = all:
|
|
90
|
+
- CLAUDE.md
|
|
91
|
+
- AGENTS.md (if exists)
|
|
92
|
+
- .specweave/increments/*/spec.md, plan.md, tasks.md
|
|
93
|
+
- .specweave/docs/internal/**/*.md
|
|
94
|
+
- .specweave/docs/public/**/*.md
|
|
95
|
+
- skills/*/SKILL.md
|
|
96
|
+
- agents/*/AGENT.md
|
|
97
|
+
- commands/*.md
|
|
98
|
+
|
|
99
|
+
If scope = increments:
|
|
100
|
+
- .specweave/increments/*/spec.md, plan.md, tasks.md
|
|
101
|
+
|
|
102
|
+
If scope = current:
|
|
103
|
+
- Get current increment from tasks status
|
|
104
|
+
- Translate only current increment files
|
|
105
|
+
|
|
106
|
+
[... and so on for other scopes ...]
|
|
107
|
+
|
|
108
|
+
Output:
|
|
109
|
+
📊 Translation Project Discovery
|
|
110
|
+
Target Language: [language] ([native name])
|
|
111
|
+
Scope: [scope]
|
|
112
|
+
|
|
113
|
+
Discovered Files:
|
|
114
|
+
- [count] project instructions
|
|
115
|
+
- [count] increment specs
|
|
116
|
+
- [count] internal docs
|
|
117
|
+
- [count] public docs
|
|
118
|
+
- [count] skills
|
|
119
|
+
- [count] agents
|
|
120
|
+
- [count] commands
|
|
121
|
+
|
|
122
|
+
Total: [count] files
|
|
123
|
+
Estimated Time: [X] minutes
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Step 3: Confirm with User (unless --dry-run)
|
|
127
|
+
```
|
|
128
|
+
**IMPORTANT**: Always confirm before translating:
|
|
129
|
+
|
|
130
|
+
"Proceed with translation? (Y/n)"
|
|
131
|
+
|
|
132
|
+
If dry-run:
|
|
133
|
+
Show what WOULD be translated, exit
|
|
134
|
+
If user confirms:
|
|
135
|
+
Proceed to Step 4
|
|
136
|
+
If user declines:
|
|
137
|
+
Exit gracefully
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Step 4: Translation Execution
|
|
141
|
+
```
|
|
142
|
+
For each file in priority order:
|
|
143
|
+
|
|
144
|
+
Priority 1 (Critical): CLAUDE.md, current increment specs
|
|
145
|
+
Priority 2 (High): Internal strategy docs, public docs
|
|
146
|
+
Priority 3 (Medium): Skills, agents, commands
|
|
147
|
+
Priority 4 (Low): Older increments, test files
|
|
148
|
+
|
|
149
|
+
Translation process per file:
|
|
150
|
+
1. Read original content
|
|
151
|
+
2. Use translator skill to translate
|
|
152
|
+
3. Preserve:
|
|
153
|
+
- YAML frontmatter
|
|
154
|
+
- Code blocks
|
|
155
|
+
- Markdown formatting
|
|
156
|
+
- Framework terms (increment, spec.md, /specweave:*)
|
|
157
|
+
- Technical terms (TypeScript, npm, git, etc.)
|
|
158
|
+
- File paths and names
|
|
159
|
+
4. Write translated content
|
|
160
|
+
5. Verify formatting intact
|
|
161
|
+
6. Update terminology glossary
|
|
162
|
+
|
|
163
|
+
Show progress:
|
|
164
|
+
[1/39] Translating CLAUDE.md... ✓
|
|
165
|
+
[2/39] Translating .specweave/increments/0006/spec.md... ✓
|
|
166
|
+
[3/39] Translating .specweave/docs/internal/strategy/product-vision.md... ✓
|
|
167
|
+
...
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Step 5: Quality Validation
|
|
171
|
+
```
|
|
172
|
+
After all files translated:
|
|
173
|
+
|
|
174
|
+
Quality Checks:
|
|
175
|
+
✓ All planned files translated
|
|
176
|
+
✓ Markdown structure intact
|
|
177
|
+
✓ Code blocks unchanged
|
|
178
|
+
✓ YAML frontmatter valid
|
|
179
|
+
✓ Framework terms in English
|
|
180
|
+
✓ Terminology consistent across files
|
|
181
|
+
|
|
182
|
+
If any checks fail:
|
|
183
|
+
- Report failures
|
|
184
|
+
- Suggest manual review
|
|
185
|
+
- Ask if should rollback
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Step 6: Post-Translation Tasks
|
|
189
|
+
```
|
|
190
|
+
1. Update .specweave/config.json:
|
|
191
|
+
{
|
|
192
|
+
"language": "[target-language]",
|
|
193
|
+
...
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
2. Create translation glossary:
|
|
197
|
+
.specweave/docs/internal/translation-glossary.yaml
|
|
198
|
+
|
|
199
|
+
3. Generate summary report:
|
|
200
|
+
.specweave/docs/internal/TRANSLATION-REPORT-[date].md
|
|
201
|
+
|
|
202
|
+
4. Suggest next steps:
|
|
203
|
+
- Test CLI with new language
|
|
204
|
+
- Review critical files manually
|
|
205
|
+
- Update public documentation site
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Step 7: Output Summary
|
|
209
|
+
```markdown
|
|
210
|
+
✅ Translation Complete!
|
|
211
|
+
|
|
212
|
+
**Target Language**: [language] ([native name])
|
|
213
|
+
**Scope**: [scope]
|
|
214
|
+
**Date**: [date]
|
|
215
|
+
|
|
216
|
+
## Statistics
|
|
217
|
+
- Files translated: [count]/[count] (100%)
|
|
218
|
+
- Total content: ~[X] words
|
|
219
|
+
- Framework terms preserved: [count]
|
|
220
|
+
- Code blocks preserved: [count]
|
|
221
|
+
- Translation time: [X] minutes
|
|
222
|
+
|
|
223
|
+
## Quality Checks
|
|
224
|
+
✓ All markdown formatting intact
|
|
225
|
+
✓ YAML frontmatter valid
|
|
226
|
+
✓ Code blocks unchanged
|
|
227
|
+
✓ Framework terms in English
|
|
228
|
+
✓ Terminology consistent
|
|
229
|
+
|
|
230
|
+
## Files Updated
|
|
231
|
+
- .specweave/config.json (language setting)
|
|
232
|
+
- .specweave/docs/internal/translation-glossary.yaml (new)
|
|
233
|
+
- .specweave/docs/internal/TRANSLATION-REPORT-[date].md (new)
|
|
234
|
+
|
|
235
|
+
## Next Steps
|
|
236
|
+
1. Test project with new language: npm run test:i18n
|
|
237
|
+
2. Review critical files manually (CLAUDE.md, current spec)
|
|
238
|
+
3. Update public documentation site (if applicable)
|
|
239
|
+
4. Create English fallback docs if needed
|
|
240
|
+
|
|
241
|
+
## Rollback
|
|
242
|
+
If issues found, restore from git:
|
|
243
|
+
git checkout -- [file paths]
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
## Translation Rules (Enforce Strictly)
|
|
247
|
+
|
|
248
|
+
### ✅ **Always Translate**:
|
|
249
|
+
- User-facing prose
|
|
250
|
+
- Documentation content
|
|
251
|
+
- User stories, acceptance criteria
|
|
252
|
+
- Success/error messages
|
|
253
|
+
- Strategic documents
|
|
254
|
+
|
|
255
|
+
### ⏸️ **Never Translate**:
|
|
256
|
+
- Framework terms: increment, spec.md, plan.md, tasks.md, COMPLETION-SUMMARY.md
|
|
257
|
+
- Commands: /specweave:inc, /specweave:do, /specweave:progress, /specweave:sync-docs
|
|
258
|
+
- File paths: .specweave/, src/, .claude/, .cursor/, .github/
|
|
259
|
+
- Technical terms: TypeScript, npm, git, API, CLI, REST, JSON, HTTP
|
|
260
|
+
- SpecWeave keywords: living docs, context-manifest.yaml, PM gate, RFC
|
|
261
|
+
- Code blocks (entire blocks stay in English)
|
|
262
|
+
- YAML frontmatter keys (only translate values if applicable)
|
|
263
|
+
|
|
264
|
+
### 🔧 **Context-Dependent**:
|
|
265
|
+
- Comments in code (translate if user-facing, keep if technical)
|
|
266
|
+
- Technical acronyms (usually keep in English)
|
|
267
|
+
- Product names (usually keep original + translation in parentheses)
|
|
268
|
+
|
|
269
|
+
## Framework Terms to Preserve
|
|
270
|
+
|
|
271
|
+
**CRITICAL**: These terms MUST stay in English (part of SpecWeave framework):
|
|
272
|
+
|
|
273
|
+
- `increment`
|
|
274
|
+
- `spec.md`, `plan.md`, `tasks.md`, `tests.md`, `context-manifest.yaml`
|
|
275
|
+
- `COMPLETION-SUMMARY.md`
|
|
276
|
+
- `CLAUDE.md`, `AGENTS.md`
|
|
277
|
+
- `.specweave/`, `src/`, `.claude/`, `.cursor/`, `.github/`
|
|
278
|
+
- `/specweave:inc`, `/specweave:do`, `/specweave:next`, `/specweave:done`, `/specweave:progress`, `/specweave:validate`, `/specweave:sync-docs`
|
|
279
|
+
- `living docs`
|
|
280
|
+
- `PM gate`, `Architect`, `Tech Lead`
|
|
281
|
+
- `context-manifest`
|
|
282
|
+
- `RFC`, `ADR`, `PRD`, `HLD`, `LLD`
|
|
283
|
+
|
|
284
|
+
**Why?** These are framework primitives - translating them would break tooling, scripts, and cross-project consistency.
|
|
285
|
+
|
|
286
|
+
## Error Handling
|
|
287
|
+
|
|
288
|
+
**If translation fails for a file**:
|
|
289
|
+
1. Log error with file path and reason
|
|
290
|
+
2. Continue with remaining files
|
|
291
|
+
3. Report all errors in summary
|
|
292
|
+
4. Suggest manual review for failed files
|
|
293
|
+
5. Offer rollback option
|
|
294
|
+
|
|
295
|
+
**If formatting breaks**:
|
|
296
|
+
1. Restore original file from git
|
|
297
|
+
2. Try alternative translation approach (simpler phrasing)
|
|
298
|
+
3. If still fails, flag for manual translation
|
|
299
|
+
4. Continue with other files
|
|
300
|
+
|
|
301
|
+
## Special Considerations
|
|
302
|
+
|
|
303
|
+
### YAML Frontmatter
|
|
304
|
+
```yaml
|
|
305
|
+
# Only translate description values, NOT keys
|
|
306
|
+
---
|
|
307
|
+
name: increment-planner # ← Keep as-is
|
|
308
|
+
description: Plans new increments # ← Translate this
|
|
309
|
+
allowed-tools: Read, Write, Edit # ← Keep tools as-is
|
|
310
|
+
---
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### Code Blocks
|
|
314
|
+
```typescript
|
|
315
|
+
// NEVER translate code blocks
|
|
316
|
+
// Even if they contain English comments
|
|
317
|
+
function createIncrement(name: string) {
|
|
318
|
+
// Keep this comment in English (technical)
|
|
319
|
+
return `increment-${name}`;
|
|
320
|
+
}
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
### Markdown Links
|
|
324
|
+
```markdown
|
|
325
|
+
<!-- Translate text, keep URLs -->
|
|
326
|
+
[Read the documentation](https://spec-weave.com)
|
|
327
|
+
→ [Leia a documentação](https://spec-weave.com)
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
### Framework Examples
|
|
331
|
+
```markdown
|
|
332
|
+
<!-- Translate explanation, keep framework terms -->
|
|
333
|
+
To create an increment, run: /specweave:inc "feature-name"
|
|
334
|
+
→ Para criar um increment, execute: /specweave:inc "feature-name"
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
## Integration with Translator Agent
|
|
338
|
+
|
|
339
|
+
This command invokes the **translator agent** which:
|
|
340
|
+
- Coordinates the batch translation workflow
|
|
341
|
+
- Uses the **translator skill** for actual translation work
|
|
342
|
+
- Manages consistency via terminology glossary
|
|
343
|
+
- Performs quality validation
|
|
344
|
+
- Generates comprehensive reports
|
|
345
|
+
|
|
346
|
+
**Your job**: Follow the workflow above, using the translator agent's capabilities.
|
|
347
|
+
|
|
348
|
+
## Testing After Translation
|
|
349
|
+
|
|
350
|
+
**IMPORTANT**: Suggest these tests to user after translation:
|
|
351
|
+
|
|
352
|
+
```bash
|
|
353
|
+
# 1. Verify CLI still works
|
|
354
|
+
specweave --help
|
|
355
|
+
|
|
356
|
+
# 2. Test increment creation (if CLAUDE.md translated)
|
|
357
|
+
/specweave:inc "test-feature"
|
|
358
|
+
|
|
359
|
+
# 3. Check skill activation (if skills translated)
|
|
360
|
+
# Ask questions that should trigger skills
|
|
361
|
+
|
|
362
|
+
# 4. Verify agent invocation (if agents translated)
|
|
363
|
+
# Use Task tool to invoke agents
|
|
364
|
+
|
|
365
|
+
# 5. Run automated tests
|
|
366
|
+
npm test
|
|
367
|
+
npm run test:e2e
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
## Rollback Procedure
|
|
371
|
+
|
|
372
|
+
If translation causes issues:
|
|
373
|
+
|
|
374
|
+
```bash
|
|
375
|
+
# Full rollback
|
|
376
|
+
git checkout -- .
|
|
377
|
+
|
|
378
|
+
# Selective rollback
|
|
379
|
+
git checkout -- CLAUDE.md
|
|
380
|
+
git checkout -- .specweave/increments/
|
|
381
|
+
git checkout -- skills/ agents/ commands/
|
|
382
|
+
|
|
383
|
+
# Reset config
|
|
384
|
+
git checkout -- .specweave/config.json
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
## Example Execution
|
|
390
|
+
|
|
391
|
+
**User command**: `/specweave:translate ru`
|
|
392
|
+
|
|
393
|
+
**Your response**:
|
|
394
|
+
```
|
|
395
|
+
📊 Translation Project Discovery
|
|
396
|
+
|
|
397
|
+
Target Language: Russian (Русский)
|
|
398
|
+
Scope: all
|
|
399
|
+
|
|
400
|
+
Discovered Files:
|
|
401
|
+
✓ CLAUDE.md
|
|
402
|
+
✓ 3 increment specs (.specweave/increments/*/spec.md, plan.md, tasks.md)
|
|
403
|
+
✓ 12 internal docs (.specweave/docs/internal/)
|
|
404
|
+
✓ 5 public docs (.specweave/docs/public/)
|
|
405
|
+
✓ 8 skills (skills/*/SKILL.md)
|
|
406
|
+
✓ 3 agents (agents/*/AGENT.md)
|
|
407
|
+
✓ 7 commands (commands/*.md)
|
|
408
|
+
|
|
409
|
+
Total: 39 files
|
|
410
|
+
Estimated Time: 30-45 minutes
|
|
411
|
+
|
|
412
|
+
Framework Terms (will be preserved in English):
|
|
413
|
+
- increment, spec.md, plan.md, tasks.md
|
|
414
|
+
- /specweave:*, /specweave:sync-docs
|
|
415
|
+
- .specweave/, src/, .claude/
|
|
416
|
+
- living docs, PM gate, context-manifest
|
|
417
|
+
|
|
418
|
+
Proceed with translation? (Y/n)
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
**After user confirms**: Execute translation workflow, show progress, generate report.
|
|
422
|
+
|
|
423
|
+
---
|
|
424
|
+
|
|
425
|
+
**Remember**: This is LLM-native translation using the current conversation - zero additional cost! The translation happens using Claude's multilingual capabilities with system prompt injection.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: validate
|
|
3
3
|
description: Validate SpecWeave increment with rule-based checks and optional AI quality assessment
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -733,7 +733,7 @@ All validation settings use sensible defaults. Quality assessment is prompted ea
|
|
|
733
733
|
## Related Commands
|
|
734
734
|
|
|
735
735
|
- `/create-increment`: Create new increment (auto-validates on creation)
|
|
736
|
-
- `/sync-docs`: Review strategic documentation before implementation
|
|
736
|
+
- `/specweave:sync-docs`: Review strategic documentation before implementation
|
|
737
737
|
- `/close-increment`: Close increment (validates before closing)
|
|
738
738
|
- `/sync-github`: Sync to GitHub (validates before sync)
|
|
739
739
|
|