specweave 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/README.md +325 -0
- package/.claude-plugin/marketplace.json +210 -0
- package/CLAUDE.md +871 -596
- package/README.md +188 -137
- 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 +346 -124
- 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 +7 -1
- package/dist/cli/commands/plugin.d.ts.map +1 -1
- package/dist/cli/commands/plugin.js +72 -61
- 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 +269 -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/generate-skills-index.js +4 -4
- package/dist/utils/generate-skills-index.js.map +1 -1
- package/package.json +12 -13
- 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-core/.claude-plugin/plugin.json +25 -0
- package/{src → plugins/specweave-core}/agents/pm/AGENT.md +80 -0
- package/plugins/specweave-core/agents/translator/AGENT.md +282 -0
- package/{src → plugins/specweave-core}/commands/README.md +11 -11
- package/{src → plugins/specweave-core}/commands/specweave.costs.md +7 -7
- package/{src → plugins/specweave-core}/commands/specweave.do.md +34 -7
- package/{src → plugins/specweave-core}/commands/specweave.increment.md +83 -18
- package/{src → plugins/specweave-core}/commands/specweave.md +49 -17
- package/{src → plugins/specweave-core}/commands/specweave.sync-docs.md +5 -5
- package/plugins/specweave-core/commands/specweave.translate.md +425 -0
- package/{src → plugins/specweave-core}/commands/specweave.validate.md +1 -1
- package/plugins/specweave-core/hooks/hooks.json +13 -0
- package/plugins/specweave-core/hooks/post-task-completion.sh +265 -0
- package/plugins/specweave-core/skills/SKILLS-INDEX.md +229 -0
- package/{src → plugins/specweave-core}/skills/brownfield-analyzer/SKILL.md +66 -24
- package/{src → plugins/specweave-core}/skills/context-loader/SKILL.md +1 -1
- package/plugins/specweave-core/skills/context-optimizer/SKILL.md +588 -0
- package/plugins/specweave-core/skills/docs-updater/SKILL.md +0 -0
- package/{src → plugins/specweave-core}/skills/increment-planner/SKILL.md +81 -4
- package/plugins/specweave-core/skills/plugin-detector/SKILL.md +211 -0
- package/{src → plugins/specweave-core}/skills/project-kickstarter/SKILL.md +7 -7
- package/plugins/specweave-core/skills/rfc-generator/SKILL.md +369 -0
- package/{src → plugins/specweave-core}/skills/specweave-detector/SKILL.md +2 -2
- package/plugins/specweave-core/skills/specweave-framework/SKILL.md +498 -0
- package/plugins/specweave-core/skills/specweave-framework/test-cases/test-1-increment-naming.yaml +11 -0
- package/plugins/specweave-core/skills/specweave-framework/test-cases/test-2-source-of-truth.yaml +11 -0
- package/plugins/specweave-core/skills/specweave-framework/test-cases/test-3-increment-discipline.yaml +12 -0
- package/plugins/specweave-core/skills/specweave-framework/test-cases/test-4-file-placement.yaml +11 -0
- package/{src → plugins/specweave-core}/skills/tdd-workflow/SKILL.md +20 -20
- package/plugins/specweave-core/skills/translator/SKILL.md +172 -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 +8 -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 +39 -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 +106 -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-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-core}/agents/architect/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/agents/code-reviewer.md +0 -0
- /package/{src → plugins/specweave-core}/agents/docs-writer/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/agents/performance/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/agents/qa-lead/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/agents/security/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/agents/tdd-orchestrator/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/agents/tech-lead/AGENT.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.done.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.inc.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.list-increments.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.next.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.progress.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.tdd-cycle.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.tdd-green.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.tdd-red.md +0 -0
- /package/{src → plugins/specweave-core}/commands/specweave.tdd-refactor.md +0 -0
- /package/{src → plugins/specweave-core}/hooks/README.md +0 -0
- /package/{src → plugins/specweave-core}/hooks/docs-changed.sh +0 -0
- /package/{src → plugins/specweave-core}/hooks/human-input-required.sh +0 -0
- /package/{src → plugins/specweave-core}/hooks/post-increment-plugin-detect.sh +0 -0
- /package/{src → plugins/specweave-core}/hooks/pre-implementation.sh +0 -0
- /package/{src → plugins/specweave-core}/hooks/pre-task-plugin-detect.sh +0 -0
- /package/{src → plugins/specweave-core}/skills/brownfield-onboarder/SKILL.md +0 -0
- /package/{src → plugins/specweave-core}/skills/docs-updater/README.md +0 -0
- /package/{src → plugins/specweave-core}/skills/increment-planner/scripts/feature-utils.js +0 -0
- /package/{src → plugins/specweave-core}/skills/increment-quality-judge/SKILL.md +0 -0
- /package/{src → plugins/specweave-core}/skills/project-kickstarter/test-cases/test-1-high-confidence-full-product.yaml +0 -0
- /package/{src → plugins/specweave-core}/skills/project-kickstarter/test-cases/test-2-medium-confidence-partial.yaml +0 -0
- /package/{src → plugins/specweave-core}/skills/project-kickstarter/test-cases/test-3-low-confidence-technical-question.yaml +0 -0
- /package/{src → plugins/specweave-core}/skills/project-kickstarter/test-cases/test-4-opt-out-explicit.yaml +0 -0
- /package/{src → plugins/specweave-core}/skills/role-orchestrator/README.md +0 -0
- /package/{src → plugins/specweave-core}/skills/role-orchestrator/SKILL.md +0 -0
- /package/{src → plugins/specweave-core}/skills/task-builder/README.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
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> **Spec-Driven Development Framework** - Where specifications and documentation are the source of truth
|
|
4
4
|
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
[](https://github.com/anton-abyzov/specweave/releases/tag/v0.6.0)
|
|
7
7
|
[]()
|
|
8
8
|
[](https://spec-weave.com)
|
|
9
9
|
|
|
@@ -35,12 +35,17 @@
|
|
|
35
35
|
- Plugins: GitHub sync, tech stacks, domain expertise (load on demand)
|
|
36
36
|
- **Context efficiency**: 50K → 12K tokens for basic projects!
|
|
37
37
|
- 🎯 **Extensible & Scalable** - 10+ agents and 40+ skills via plugins. PM, Architect, DevOps, QA, Security work in parallel
|
|
38
|
-
- 🔧 **
|
|
39
|
-
- **Claude Code
|
|
40
|
-
- **
|
|
41
|
-
- **Other tools**: AGENTS.md for manual workflows - full capability access!
|
|
38
|
+
- 🔧 **Claude Code Native** - Built specifically for Claude Code's native plugin marketplace
|
|
39
|
+
- **Claude Code**: Full native support with auto-activation, hooks, isolated agents
|
|
40
|
+
- **Other tools**: Legacy adapter system (may be removed in future versions)
|
|
42
41
|
- 🧪 **Complete Test Coverage** - 4-level strategy from specs to integration tests (APIs, UIs, CLIs, libraries)
|
|
43
42
|
- 📚 **Living Documentation** - Specs auto-update after every operation and test—always in sync with code
|
|
43
|
+
- 🌍 **Multilingual Support** (NEW in v0.6.0) - Zero-cost LLM-native translation for 9 languages! Framework works in English, Russian, Spanish, Chinese, German, French, Japanese, Korean, and Portuguese
|
|
44
|
+
- **Zero external costs**: Uses current LLM session for translation (no API keys!)
|
|
45
|
+
- **Auto-translation**: Living docs auto-translate after every task
|
|
46
|
+
- **Smart preservation**: Framework terms (increment, spec.md) stay in English
|
|
47
|
+
- **CLI localization**: Commands and output in your language
|
|
48
|
+
- **translator skill**: Batch translation for entire projects
|
|
44
49
|
- 🎨 **Visual Architecture** - C4 Model diagrams (Context, Container, Component)
|
|
45
50
|
- 🔄 **Tool Integration** - GitHub, JIRA, Azure DevOps sync (via plugins)
|
|
46
51
|
- 🏢 **Brownfield Excellence** - The hardest problem solved: merge with existing docs, create complex architecture (ADRs, HLDs, RFCs), maintain living documentation, safe regression prevention
|
|
@@ -54,13 +59,9 @@
|
|
|
54
59
|
|
|
55
60
|
- **Node.js 18+** (`node --version`)
|
|
56
61
|
- **npm 9+** (`npm --version`)
|
|
57
|
-
- **
|
|
58
|
-
- Claude
|
|
59
|
-
-
|
|
60
|
-
- Gemini CLI (Gemini 2.5 Pro, 1M context - semi-automation)
|
|
61
|
-
- Codex (GPT-5-Codex - semi-automation)
|
|
62
|
-
- GitHub Copilot (OpenAI models - basic automation)
|
|
63
|
-
- Or ANY AI (ChatGPT web, Gemini web, Claude web, etc. - manual workflow)
|
|
62
|
+
- **Claude Code** - SpecWeave is designed specifically for Claude Code
|
|
63
|
+
- Claude Sonnet 4.5 or higher
|
|
64
|
+
- Native plugin support via `/plugin` commands
|
|
64
65
|
|
|
65
66
|
### Quick Install
|
|
66
67
|
|
|
@@ -111,9 +112,9 @@ specweave --help # Show help
|
|
|
111
112
|
```
|
|
112
113
|
|
|
113
114
|
**Note**:
|
|
114
|
-
- **Claude Code**: Core framework (3 agents +
|
|
115
|
-
- **
|
|
116
|
-
- **
|
|
115
|
+
- **Claude Code**: Core framework (3 agents + 9 skills) installed natively via Claude marketplace
|
|
116
|
+
- **Plugins**: 17+ available plugins for tech stacks, integrations, and domain expertise
|
|
117
|
+
- **Installation**: Via Claude Code's `/plugin` commands (see [Claude Code Plugin Docs](https://docs.claude.com/en/docs/claude-code/plugins))
|
|
117
118
|
|
|
118
119
|
---
|
|
119
120
|
|
|
@@ -137,7 +138,7 @@ cd my-app
|
|
|
137
138
|
|
|
138
139
|
User: /specweave inc "Next.js authentication with email and OAuth"
|
|
139
140
|
↓
|
|
140
|
-
SpecWeave: 🔷 SpecWeave Active (/specweave
|
|
141
|
+
SpecWeave: 🔷 SpecWeave Active (/specweave:increment)
|
|
141
142
|
|
|
142
143
|
🚀 Creating increment 0001-user-authentication...
|
|
143
144
|
📝 Using nextjs skill (already installed!)
|
|
@@ -168,10 +169,8 @@ User: /specweave done 0001 # Close increment with slash command
|
|
|
168
169
|
```
|
|
169
170
|
|
|
170
171
|
**How it works** (smart append-only workflow: 0001 → 0002 → 0003):
|
|
171
|
-
1. `specweave init` →
|
|
172
|
-
|
|
173
|
-
- **Other tools**: Universal AGENTS.md adapter generated with enabled plugins
|
|
174
|
-
2. **Use `/specweave inc "feature"`** (Claude) or "Read AGENTS.md and create increment" (other tools)
|
|
172
|
+
1. `specweave init` → Installs SpecWeave core framework via Claude Code marketplace
|
|
173
|
+
2. **Use `/specweave inc "feature"`** → PM creates specs + plan + auto-generates tasks
|
|
175
174
|
- PM creates specs + plan + auto-generates tasks
|
|
176
175
|
- **Smart**: Auto-detects needed plugins from feature description
|
|
177
176
|
- **Smart**: Auto-closes previous increment if PM gates pass
|
|
@@ -216,8 +215,7 @@ SpecWeave uses a **modular agent system** - core agents (always available) + plu
|
|
|
216
215
|
| **diagrams-architect** | specweave-diagrams | Diagram Expert - C4 Model, Mermaid | Creating diagrams |
|
|
217
216
|
|
|
218
217
|
**Agent Access**:
|
|
219
|
-
- **Claude Code**: Core agents
|
|
220
|
-
- **Other tools**: Agents compiled to AGENTS.md - reference roles manually
|
|
218
|
+
- **Claude Code**: Core agents available natively, plugin agents load via `/plugin install`
|
|
221
219
|
|
|
222
220
|
---
|
|
223
221
|
|
|
@@ -285,10 +283,10 @@ SpecWeave v0.4.0 introduces **intelligent plugin detection**:
|
|
|
285
283
|
- React app: **16K tokens** (core + frontend-stack + github)
|
|
286
284
|
- Backend API: **15K tokens** (core + backend-stack + github)
|
|
287
285
|
|
|
288
|
-
3. **
|
|
289
|
-
- **
|
|
290
|
-
- **
|
|
291
|
-
- **
|
|
286
|
+
3. **Claude Code Native** - Built for Claude's plugin marketplace:
|
|
287
|
+
- **Native `/plugin` commands**: Install plugins directly
|
|
288
|
+
- **Auto-activation**: Skills activate based on context
|
|
289
|
+
- **Isolated agents**: True role separation
|
|
292
290
|
|
|
293
291
|
**How it works**:
|
|
294
292
|
1. **Discovery**: Read `.claude/skills/SKILLS-INDEX.md` (1 file vs 35 files = 97% faster)
|
|
@@ -297,13 +295,12 @@ SpecWeave v0.4.0 introduces **intelligent plugin detection**:
|
|
|
297
295
|
4. **Execution**: Follow proven workflows
|
|
298
296
|
|
|
299
297
|
**Benefits**:
|
|
300
|
-
- ✅ **
|
|
301
|
-
- ✅ **
|
|
302
|
-
- ✅ **
|
|
298
|
+
- ✅ **75%+ token savings** - Core framework 12K tokens (vs 50K in v0.3.7)
|
|
299
|
+
- ✅ **Claude Code native** - Full integration with marketplace, hooks, agents
|
|
300
|
+
- ✅ **Context efficient** - Load only needed plugins on demand
|
|
303
301
|
|
|
304
302
|
**Skill Access**:
|
|
305
|
-
- **Claude Code**:
|
|
306
|
-
- **Other tools**: Progressive disclosure via SKILLS-INDEX.md in AGENTS.md - universal compatibility!
|
|
303
|
+
- **Claude Code**: Core skills auto-activate based on context, plugin skills via `/plugin install`
|
|
307
304
|
|
|
308
305
|
**See**: [Complete skill list](https://spec-weave.com/docs/skills) on spec-weave.com
|
|
309
306
|
|
|
@@ -344,12 +341,32 @@ specweave/
|
|
|
344
341
|
│ │ └── reports/ # Analysis reports
|
|
345
342
|
│ └── tests/ # Centralized test repository
|
|
346
343
|
│
|
|
347
|
-
├── src/ # Source code (
|
|
348
|
-
│ ├──
|
|
349
|
-
│ ├──
|
|
350
|
-
│ ├──
|
|
351
|
-
│ ├──
|
|
352
|
-
│ └──
|
|
344
|
+
├── src/ # Source code (TypeScript only)
|
|
345
|
+
│ ├── core/ # Core framework logic
|
|
346
|
+
│ ├── cli/ # CLI commands
|
|
347
|
+
│ ├── adapters/ # Tool adapters (legacy)
|
|
348
|
+
│ ├── templates/ # Project templates
|
|
349
|
+
│ └── utils/ # Utility functions
|
|
350
|
+
│
|
|
351
|
+
├── skills/ # Core skills (root level)
|
|
352
|
+
│ ├── rfc-generator/ # RFC generation
|
|
353
|
+
│ ├── increment-planner/ # Increment planning
|
|
354
|
+
│ └── ... # 8 core skills total
|
|
355
|
+
│
|
|
356
|
+
├── agents/ # Core agents (root level)
|
|
357
|
+
│ ├── pm/ # Product Manager
|
|
358
|
+
│ ├── architect/ # System Architect
|
|
359
|
+
│ └── tech-lead/ # Technical Lead
|
|
360
|
+
│
|
|
361
|
+
├── commands/ # Slash commands (root level)
|
|
362
|
+
│ ├── specweave.inc.md
|
|
363
|
+
│ ├── specweave.do.md
|
|
364
|
+
│ └── ...
|
|
365
|
+
│
|
|
366
|
+
├── plugins/ # Plugins (root level)
|
|
367
|
+
│ ├── specweave-github/ # GitHub integration
|
|
368
|
+
│ ├── specweave-figma/ # Figma design sync
|
|
369
|
+
│ └── ... # 17 plugins total
|
|
353
370
|
│
|
|
354
371
|
├── .claude/ # Pre-installed components (user projects)
|
|
355
372
|
│ ├── agents/ # 10 agents (copied during init)
|
|
@@ -509,6 +526,113 @@ npx specweave init .
|
|
|
509
526
|
|
|
510
527
|
---
|
|
511
528
|
|
|
529
|
+
## 🏗️ Multi-Repo & Microservices Support
|
|
530
|
+
|
|
531
|
+
**CRITICAL**: SpecWeave supports ONLY **root-level** `.specweave/` folders. Nested folders are NOT supported.
|
|
532
|
+
|
|
533
|
+
### For Huge Projects with Multiple Repos
|
|
534
|
+
|
|
535
|
+
**Problem**: "I have 10+ repos (microservices, monorepo, polyrepo)"
|
|
536
|
+
|
|
537
|
+
**Solution**: Create a **parent folder** with one `.specweave/` at the root
|
|
538
|
+
|
|
539
|
+
```bash
|
|
540
|
+
# 1. Create parent folder
|
|
541
|
+
mkdir my-big-project
|
|
542
|
+
cd my-big-project
|
|
543
|
+
|
|
544
|
+
# 2. Initialize SpecWeave at root
|
|
545
|
+
npx specweave init .
|
|
546
|
+
|
|
547
|
+
# 3. Clone your repos as subdirectories
|
|
548
|
+
git clone https://github.com/myorg/auth-service.git
|
|
549
|
+
git clone https://github.com/myorg/payment-service.git
|
|
550
|
+
git clone https://github.com/myorg/frontend.git
|
|
551
|
+
git clone https://github.com/myorg/infrastructure.git
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
**Result**:
|
|
555
|
+
```
|
|
556
|
+
my-big-project/ ← Parent folder
|
|
557
|
+
├── .specweave/ ← ONE source of truth
|
|
558
|
+
│ ├── increments/
|
|
559
|
+
│ │ ├── 0001-auth-service/
|
|
560
|
+
│ │ ├── 0002-payment-service/
|
|
561
|
+
│ │ ├── 0003-unified-auth/ ← Cross-repo increment!
|
|
562
|
+
│ │ └── 0004-frontend-redesign/
|
|
563
|
+
│ ├── docs/
|
|
564
|
+
│ │ ├── internal/
|
|
565
|
+
│ │ │ ├── strategy/ ← System-wide strategy
|
|
566
|
+
│ │ │ ├── architecture/ ← Cross-service architecture
|
|
567
|
+
│ │ │ └── ...
|
|
568
|
+
│ │ └── public/
|
|
569
|
+
│ └── logs/
|
|
570
|
+
│
|
|
571
|
+
├── auth-service/ ← Separate git repo
|
|
572
|
+
│ ├── .git/
|
|
573
|
+
│ └── src/
|
|
574
|
+
│
|
|
575
|
+
├── payment-service/ ← Separate git repo
|
|
576
|
+
│ ├── .git/
|
|
577
|
+
│ └── src/
|
|
578
|
+
│
|
|
579
|
+
├── frontend/ ← Separate git repo
|
|
580
|
+
│ ├── .git/
|
|
581
|
+
│ └── src/
|
|
582
|
+
│
|
|
583
|
+
└── infrastructure/ ← Separate git repo
|
|
584
|
+
├── .git/
|
|
585
|
+
└── terraform/
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
### Why Root-Level Only?
|
|
589
|
+
|
|
590
|
+
**Single Source of Truth**:
|
|
591
|
+
- ✅ One central location for all specs and increments
|
|
592
|
+
- ✅ No duplication or fragmentation
|
|
593
|
+
- ✅ Cross-cutting features span multiple repos naturally
|
|
594
|
+
- ✅ System-wide architecture in one place
|
|
595
|
+
|
|
596
|
+
**Prevents Chaos**:
|
|
597
|
+
- ❌ No nested `.specweave/` folders (causes conflicts)
|
|
598
|
+
- ❌ No ambiguity about where specs live
|
|
599
|
+
- ❌ No duplicate increment numbers across modules
|
|
600
|
+
|
|
601
|
+
### Enforcement
|
|
602
|
+
|
|
603
|
+
SpecWeave **prevents** nested initialization:
|
|
604
|
+
|
|
605
|
+
```bash
|
|
606
|
+
# ❌ This will FAIL if parent has .specweave/
|
|
607
|
+
cd my-big-project/backend
|
|
608
|
+
npx specweave init .
|
|
609
|
+
|
|
610
|
+
# Error: Nested .specweave/ folders are NOT supported!
|
|
611
|
+
# Found parent .specweave/ at: /path/to/my-big-project
|
|
612
|
+
# Use the parent folder for all increments.
|
|
613
|
+
```
|
|
614
|
+
|
|
615
|
+
**Correct Approach**:
|
|
616
|
+
```bash
|
|
617
|
+
# ✅ Use parent folder
|
|
618
|
+
cd my-big-project
|
|
619
|
+
/specweave:inc "0001-backend-api-v2"
|
|
620
|
+
# Creates: .specweave/increments/0001-backend-api-v2/
|
|
621
|
+
# Can reference: backend/, frontend/, etc.
|
|
622
|
+
```
|
|
623
|
+
|
|
624
|
+
### Benefits
|
|
625
|
+
|
|
626
|
+
- ✅ **One `.specweave/` for entire system** - Single source of truth
|
|
627
|
+
- ✅ **Each repo maintains its own git history** - No monorepo migration needed
|
|
628
|
+
- ✅ **Cross-service increments are natural** - Auth spans auth-service + frontend + API
|
|
629
|
+
- ✅ **System-wide architecture** - ADRs, HLDs apply to all services
|
|
630
|
+
- ✅ **Living docs cover all repos** - Documentation spans the entire system
|
|
631
|
+
|
|
632
|
+
**See [CLAUDE.md#root-level-specweave-folder-mandatory](CLAUDE.md#root-level-specweave-folder-mandatory)** for complete architectural details.
|
|
633
|
+
|
|
634
|
+
---
|
|
635
|
+
|
|
512
636
|
## 🧪 Testing Strategy
|
|
513
637
|
|
|
514
638
|
SpecWeave implements **4 Levels of Testing**:
|
|
@@ -682,126 +806,53 @@ npm test
|
|
|
682
806
|
|
|
683
807
|
## 📖 Quick Start
|
|
684
808
|
|
|
685
|
-
###
|
|
686
|
-
|
|
687
|
-
**SpecWeave now works with ANY AI coding tool!** Auto-detects Claude, Cursor, Gemini CLI, Codex, Copilot, or Generic.
|
|
688
|
-
|
|
689
|
-
**Architecture**:
|
|
690
|
-
- **Claude Code** = Native/Baseline (no adapter needed - full automation)
|
|
691
|
-
- **All other tools** = Adapters that approximate Claude's native capabilities
|
|
692
|
-
|
|
693
|
-
```bash
|
|
694
|
-
# List available adapters
|
|
695
|
-
npx specweave adapters
|
|
696
|
-
|
|
697
|
-
# Auto-detect your AI tool
|
|
698
|
-
npx specweave init my-saas # Automatically detects and configures
|
|
699
|
-
|
|
700
|
-
# Or explicitly choose:
|
|
701
|
-
npx specweave init my-saas --adapter claude # Native (no adapter!)
|
|
702
|
-
npx specweave init my-saas --adapter cursor # Adapter (semi-automation)
|
|
703
|
-
npx specweave init my-saas --adapter gemini # Adapter (semi-automation, 1M context!)
|
|
704
|
-
npx specweave init my-saas --adapter codex # Adapter (semi-automation, GPT-5-Codex)
|
|
705
|
-
npx specweave init my-saas --adapter copilot # Adapter (basic automation)
|
|
706
|
-
npx specweave init my-saas --adapter generic # Adapter (manual, ANY AI)
|
|
707
|
-
```
|
|
708
|
-
|
|
709
|
-
### For Claude Code (Native - Full Automation)
|
|
710
|
-
|
|
711
|
-
**Claude is the BASELINE** - no adapter needed! Native skills, agents, hooks work out of the box.
|
|
712
|
-
|
|
713
|
-
```bash
|
|
714
|
-
npx specweave init my-saas
|
|
715
|
-
cd my-saas
|
|
716
|
-
|
|
717
|
-
# Native components installed:
|
|
718
|
-
# ✅ 10 agents in .claude/agents/
|
|
719
|
-
# ✅ 35+ skills in .claude/skills/
|
|
720
|
-
# ✅ 10 slash commands in .claude/commands/
|
|
721
|
-
# ✅ Hooks for auto-updates
|
|
722
|
-
|
|
723
|
-
# Open Claude Code and type slash commands:
|
|
724
|
-
/specweave inc "User authentication with JWT"
|
|
725
|
-
/specweave do
|
|
726
|
-
/specweave progress
|
|
727
|
-
```
|
|
728
|
-
|
|
729
|
-
### For Gemini CLI / Codex / Cursor (Adapter - Semi-Automation)
|
|
730
|
-
|
|
731
|
-
**Uses universal AGENTS.md** that works across all tools (follows [agents.md](https://agents.md/) standard).
|
|
809
|
+
### For New Projects (Greenfield)
|
|
732
810
|
|
|
733
811
|
```bash
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
# Adapter creates:
|
|
738
|
-
# ✅ AGENTS.md (universal instructions - works with ALL tools!)
|
|
739
|
-
# ✅ Tool-specific folder (.gemini/, .codex/, .cursor/)
|
|
740
|
-
|
|
741
|
-
# Example with Gemini CLI:
|
|
742
|
-
gemini "Read AGENTS.md and create increment for user authentication"
|
|
812
|
+
# Install SpecWeave marketplace
|
|
813
|
+
/plugin marketplace add anton-abyzov/specweave
|
|
743
814
|
|
|
744
|
-
#
|
|
745
|
-
|
|
815
|
+
# Browse and install core framework
|
|
816
|
+
/plugin install specweave-core@specweave
|
|
746
817
|
|
|
747
|
-
#
|
|
748
|
-
|
|
818
|
+
# Optionally install plugins you need
|
|
819
|
+
/plugin install github@specweave # GitHub integration
|
|
820
|
+
/plugin install frontend@specweave # React, Next.js
|
|
821
|
+
/plugin install backend@specweave # Node.js, Python, .NET
|
|
749
822
|
```
|
|
750
823
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
**Uses universal AGENTS.md** for workspace instructions.
|
|
824
|
+
**Start building**:
|
|
754
825
|
|
|
755
826
|
```bash
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
# Adapter creates:
|
|
760
|
-
# ✅ AGENTS.md (universal instructions)
|
|
761
|
-
# ✅ .github/copilot/ (Copilot-specific config)
|
|
762
|
-
|
|
763
|
-
# Open in VS Code with Copilot:
|
|
764
|
-
# Copilot reads AGENTS.md automatically
|
|
765
|
-
# Start creating increment folders and files
|
|
766
|
-
```
|
|
827
|
+
# Plan your first feature
|
|
828
|
+
/specweave:inc "User authentication with JWT"
|
|
767
829
|
|
|
768
|
-
|
|
830
|
+
# Execute the implementation
|
|
831
|
+
/specweave:do
|
|
769
832
|
|
|
770
|
-
|
|
833
|
+
# Check progress
|
|
834
|
+
/specweave:progress
|
|
771
835
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
cd my-project
|
|
775
|
-
|
|
776
|
-
# Adapter creates:
|
|
777
|
-
# ✅ AGENTS.md (universal instructions)
|
|
778
|
-
# ✅ SPECWEAVE.md (detailed manual workflow)
|
|
779
|
-
|
|
780
|
-
# Follow manual workflow:
|
|
781
|
-
# 1. Read AGENTS.md in your AI tool (ChatGPT, Claude web, etc.)
|
|
782
|
-
# 2. Say: "Create increment for user authentication following SpecWeave"
|
|
783
|
-
# 3. Copy generated content to files
|
|
836
|
+
# Your increment is done automatically, start next feature
|
|
837
|
+
/specweave:inc "Payment processing with Stripe"
|
|
784
838
|
```
|
|
785
839
|
|
|
786
|
-
### For Existing Projects
|
|
840
|
+
### For Existing Projects (Brownfield)
|
|
787
841
|
|
|
788
842
|
```bash
|
|
789
|
-
#
|
|
843
|
+
# Navigate to your existing project
|
|
790
844
|
cd my-existing-project
|
|
791
|
-
npx specweave init .
|
|
792
845
|
|
|
793
|
-
# SpecWeave
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
# ✅ Adds .specweave/ and .claude/ directories
|
|
797
|
-
# ✅ Uses directory name as project name (or prompts if invalid)
|
|
846
|
+
# Install SpecWeave marketplace and core
|
|
847
|
+
/plugin marketplace add anton-abyzov/specweave
|
|
848
|
+
/plugin install specweave-core@specweave
|
|
798
849
|
|
|
799
|
-
#
|
|
800
|
-
|
|
801
|
-
# SpecWeave creates retroactive specifications
|
|
850
|
+
# Analyze existing code
|
|
851
|
+
"Analyze my authentication module"
|
|
852
|
+
# SpecWeave creates retroactive specifications and architecture docs
|
|
802
853
|
|
|
803
854
|
# Safe to modify
|
|
804
|
-
|
|
855
|
+
/specweave:inc "Add OAuth to authentication"
|
|
805
856
|
```
|
|
806
857
|
|
|
807
858
|
---
|
package/bin/install-agents.sh
CHANGED
package/bin/install-commands.sh
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
3
|
# SpecWeave Commands Installation Script
|
|
4
|
-
# Installs all slash commands from
|
|
4
|
+
# Installs all slash commands from commands/ (core) and plugins/*/commands/ (plugins)
|
|
5
5
|
|
|
6
6
|
set -e
|
|
7
7
|
|
|
8
|
-
COMMANDS_SRC="
|
|
8
|
+
COMMANDS_SRC="plugins/specweave-core/commands"
|
|
9
9
|
COMMANDS_DEST=".claude/commands"
|
|
10
10
|
|
|
11
11
|
echo "════════════════════════════════════════════════════════"
|
|
@@ -16,8 +16,13 @@ echo ""
|
|
|
16
16
|
# Create destination directory
|
|
17
17
|
mkdir -p "$COMMANDS_DEST"
|
|
18
18
|
|
|
19
|
-
#
|
|
20
|
-
|
|
19
|
+
# ───────────────────────────────────────────────────────────
|
|
20
|
+
# Part 1: Install Core Commands
|
|
21
|
+
# ───────────────────────────────────────────────────────────
|
|
22
|
+
echo "📦 Installing core commands..."
|
|
23
|
+
echo ""
|
|
24
|
+
|
|
25
|
+
core_count=0
|
|
21
26
|
|
|
22
27
|
for cmd_file in "$COMMANDS_SRC"/*.md; do
|
|
23
28
|
if [ -f "$cmd_file" ]; then
|
|
@@ -27,30 +32,77 @@ for cmd_file in "$COMMANDS_SRC"/*.md; do
|
|
|
27
32
|
# Copy to .claude/commands/
|
|
28
33
|
cp "$cmd_file" "$COMMANDS_DEST/${cmd_name}.md"
|
|
29
34
|
|
|
30
|
-
echo "✅
|
|
31
|
-
((
|
|
35
|
+
echo "✅ Core: /$cmd_name"
|
|
36
|
+
((core_count++))
|
|
32
37
|
fi
|
|
33
38
|
done
|
|
34
39
|
|
|
35
40
|
echo ""
|
|
41
|
+
echo "Installed $core_count core commands"
|
|
42
|
+
echo ""
|
|
43
|
+
|
|
44
|
+
# ───────────────────────────────────────────────────────────
|
|
45
|
+
# Part 2: Install Plugin Commands
|
|
46
|
+
# ───────────────────────────────────────────────────────────
|
|
47
|
+
echo "🔌 Installing plugin commands..."
|
|
48
|
+
echo ""
|
|
49
|
+
|
|
50
|
+
plugin_count=0
|
|
51
|
+
|
|
52
|
+
for plugin_dir in plugins/*/; do
|
|
53
|
+
if [ -d "$plugin_dir" ]; then
|
|
54
|
+
# Extract plugin name (remove specweave- prefix if present)
|
|
55
|
+
plugin_name=$(basename "$plugin_dir" | sed 's/^specweave-//')
|
|
56
|
+
|
|
57
|
+
if [ -d "$plugin_dir/commands" ]; then
|
|
58
|
+
echo " Plugin: $plugin_name"
|
|
59
|
+
|
|
60
|
+
for cmd_file in "$plugin_dir/commands"/*.md; do
|
|
61
|
+
if [ -f "$cmd_file" ]; then
|
|
62
|
+
cmd_name=$(basename "$cmd_file" .md)
|
|
63
|
+
# Prefix with specweave.plugin-name.
|
|
64
|
+
dest_name="specweave.${plugin_name}.${cmd_name}.md"
|
|
65
|
+
|
|
66
|
+
cp "$cmd_file" "$COMMANDS_DEST/$dest_name"
|
|
67
|
+
echo " ✅ Plugin: /$dest_name"
|
|
68
|
+
((plugin_count++))
|
|
69
|
+
fi
|
|
70
|
+
done
|
|
71
|
+
fi
|
|
72
|
+
fi
|
|
73
|
+
done
|
|
74
|
+
|
|
75
|
+
echo ""
|
|
76
|
+
echo "Installed $plugin_count plugin commands"
|
|
77
|
+
echo ""
|
|
78
|
+
|
|
79
|
+
# ───────────────────────────────────────────────────────────
|
|
80
|
+
# Summary
|
|
81
|
+
# ───────────────────────────────────────────────────────────
|
|
36
82
|
echo "════════════════════════════════════════════════════════"
|
|
37
83
|
echo " Installation Complete"
|
|
38
84
|
echo "════════════════════════════════════════════════════════"
|
|
39
85
|
echo ""
|
|
40
|
-
echo "
|
|
86
|
+
echo "Total: $((core_count + plugin_count)) commands installed"
|
|
87
|
+
echo " - Core: $core_count commands"
|
|
88
|
+
echo " - Plugins: $plugin_count commands"
|
|
41
89
|
echo ""
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
90
|
+
echo "Available plugins:"
|
|
91
|
+
for plugin_dir in plugins/*/; do
|
|
92
|
+
if [ -d "$plugin_dir" ]; then
|
|
93
|
+
plugin_name=$(basename "$plugin_dir")
|
|
94
|
+
echo " - $plugin_name"
|
|
95
|
+
fi
|
|
96
|
+
done
|
|
46
97
|
echo ""
|
|
98
|
+
|
|
47
99
|
echo "Usage: Type /command-name in Claude Code"
|
|
48
100
|
echo ""
|
|
49
101
|
echo "Examples:"
|
|
50
|
-
echo " specweave init my-project # CLI command to create project"
|
|
51
102
|
echo " /specweave inc \"user authentication\""
|
|
52
|
-
echo " /specweave
|
|
53
|
-
echo " /
|
|
103
|
+
echo " /specweave do"
|
|
104
|
+
echo " /specweave:github:create-issue 0001"
|
|
105
|
+
echo " /specweave:github:sync 0001"
|
|
54
106
|
echo ""
|
|
55
107
|
|
|
56
108
|
exit 0
|
package/bin/install-hooks.sh
CHANGED
package/bin/install-skills.sh
CHANGED
package/bin/specweave.js
CHANGED
|
@@ -35,6 +35,7 @@ program
|
|
|
35
35
|
.option('-t, --template <type>', 'Project template (saas, api, fullstack)', 'saas')
|
|
36
36
|
.option('-a, --adapter <tool>', 'AI tool adapter (claude, cursor, copilot, generic)', undefined)
|
|
37
37
|
.option('--tech-stack <language>', 'Technology stack (nodejs, python, etc.)', undefined)
|
|
38
|
+
.option('-l, --language <lang>', 'Language for generated content (en, ru, es, zh, de, fr, ja, ko, pt)', 'en')
|
|
38
39
|
.action(async (projectName, options) => {
|
|
39
40
|
const { initCommand } = await import('../dist/cli/commands/init.js');
|
|
40
41
|
await initCommand(projectName, options);
|
|
@@ -99,6 +100,7 @@ program.on('--help', () => {
|
|
|
99
100
|
console.log('Examples:');
|
|
100
101
|
console.log(' $ specweave init my-saas # Create new project (auto-detect tool)');
|
|
101
102
|
console.log(' $ specweave init my-saas --adapter cursor # Create project for Cursor');
|
|
103
|
+
console.log(' $ specweave init my-saas --language ru # Create project with Russian language');
|
|
102
104
|
console.log(' $ specweave adapters # List available AI tool adapters');
|
|
103
105
|
console.log(' $ specweave plugin list # List all plugins');
|
|
104
106
|
console.log(' $ specweave plugin enable specweave-github # Enable GitHub plugin');
|