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
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for GitHub sync plugin
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export interface Task {
|
|
6
|
+
id: string; // e.g., "T-001"
|
|
7
|
+
title: string;
|
|
8
|
+
priority: 'P0' | 'P1' | 'P2' | 'P3';
|
|
9
|
+
estimate: string; // e.g., "2 hours"
|
|
10
|
+
status: 'pending' | 'in_progress' | 'completed' | 'blocked';
|
|
11
|
+
githubIssue?: number; // GitHub issue number
|
|
12
|
+
assignee?: string; // GitHub username (without @)
|
|
13
|
+
description: string;
|
|
14
|
+
subtasks?: Subtask[];
|
|
15
|
+
filesToCreate?: string[];
|
|
16
|
+
filesToModify?: string[];
|
|
17
|
+
implementation?: string; // Code snippets
|
|
18
|
+
acceptanceCriteria?: string[];
|
|
19
|
+
dependencies?: string[]; // e.g., ["T-001", "T-002"]
|
|
20
|
+
blocks?: string[]; // e.g., ["T-005", "T-006"]
|
|
21
|
+
phase?: string; // e.g., "Phase 1: Foundation"
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Subtask {
|
|
25
|
+
id: string; // e.g., "S-001-01"
|
|
26
|
+
description: string;
|
|
27
|
+
estimate: string; // e.g., "30min"
|
|
28
|
+
completed: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface IncrementMetadata {
|
|
32
|
+
id: string; // e.g., "0004-plugin-architecture"
|
|
33
|
+
title: string;
|
|
34
|
+
version?: string; // e.g., "0.4.0"
|
|
35
|
+
priority: 'P0' | 'P1' | 'P2' | 'P3';
|
|
36
|
+
status: 'planning' | 'in-progress' | 'completed' | 'cancelled';
|
|
37
|
+
github?: {
|
|
38
|
+
milestone?: number; // GitHub milestone number
|
|
39
|
+
epic_issue?: number; // Epic issue number
|
|
40
|
+
task_issues?: Record<string, number>; // Task ID → GitHub issue number
|
|
41
|
+
last_sync?: string; // ISO timestamp
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface GitHubIssue {
|
|
46
|
+
number: number;
|
|
47
|
+
title: string;
|
|
48
|
+
body: string;
|
|
49
|
+
state: 'open' | 'closed';
|
|
50
|
+
html_url: string;
|
|
51
|
+
labels: string[];
|
|
52
|
+
milestone?: {
|
|
53
|
+
number: number;
|
|
54
|
+
title: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface GitHubMilestone {
|
|
59
|
+
number: number;
|
|
60
|
+
title: string;
|
|
61
|
+
description: string;
|
|
62
|
+
state: 'open' | 'closed';
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface SyncResult {
|
|
66
|
+
milestone?: GitHubMilestone;
|
|
67
|
+
epic: GitHubIssue;
|
|
68
|
+
tasks: Array<{
|
|
69
|
+
taskId: string;
|
|
70
|
+
issue: GitHubIssue;
|
|
71
|
+
}>;
|
|
72
|
+
errors: Array<{
|
|
73
|
+
taskId?: string;
|
|
74
|
+
error: string;
|
|
75
|
+
}>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface GitHubSyncOptions {
|
|
79
|
+
force?: boolean; // Overwrite existing issues
|
|
80
|
+
dryRun?: boolean; // Don't actually create issues
|
|
81
|
+
batchDelay?: number; // Delay between batches (ms, default: 6000)
|
|
82
|
+
batchSize?: number; // Issues per batch (default: 10)
|
|
83
|
+
milestoneDays?: number; // Days until milestone due (default: 2 - SpecWeave AI velocity)
|
|
84
|
+
projectName?: string; // Optional: Add issues to GitHub Project (e.g., "SpecWeave v0.4.0")
|
|
85
|
+
fastMode?: boolean; // Skip rate limiting (for increments < 10 tasks)
|
|
86
|
+
}
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: github-issue-tracker
|
|
3
|
+
description: Task-level GitHub issue tracking for SpecWeave increments. Provides fine-grained progress tracking via issue comments, task checklists, and labels. Enables team collaboration on individual tasks. Activates for task tracking, GitHub comments, issue updates, task progress, team collaboration, granular tracking.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# GitHub Issue Tracker - Task-Level Progress Tracking
|
|
7
|
+
|
|
8
|
+
**Purpose**: Provide fine-grained task-level visibility in GitHub issues for detailed progress tracking and team collaboration.
|
|
9
|
+
|
|
10
|
+
**When to Use**:
|
|
11
|
+
- Detailed progress tracking (per-task updates)
|
|
12
|
+
- Team collaboration on specific tasks
|
|
13
|
+
- Task assignments via GitHub
|
|
14
|
+
- Blocking issue tracking
|
|
15
|
+
- Task-level comments and discussions
|
|
16
|
+
|
|
17
|
+
**Integration**: Works with `github-sync` skill and `/specweave:github:*` commands
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## How Task Tracking Works
|
|
22
|
+
|
|
23
|
+
### 1. Task Checklist in GitHub Issue
|
|
24
|
+
|
|
25
|
+
When creating an increment issue, automatically add task checklist:
|
|
26
|
+
|
|
27
|
+
```markdown
|
|
28
|
+
## Tasks
|
|
29
|
+
|
|
30
|
+
### Week 1: Foundation (12 tasks)
|
|
31
|
+
|
|
32
|
+
- [ ] T-001: Create plugin type definitions (6h) @developer1
|
|
33
|
+
- [ ] T-002: Create plugin manifest schema (4h) @developer1
|
|
34
|
+
- [ ] T-003: Implement PluginLoader (6h) @developer2
|
|
35
|
+
- [ ] T-004: Implement PluginManager (8h) @developer2
|
|
36
|
+
...
|
|
37
|
+
|
|
38
|
+
### Week 2: GitHub Plugin (10 tasks)
|
|
39
|
+
|
|
40
|
+
- [ ] T-013: Create GitHub plugin structure (2h)
|
|
41
|
+
- [ ] T-014: Implement github-sync skill (8h)
|
|
42
|
+
...
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Features**:
|
|
46
|
+
- Clickable checkboxes (GitHub native)
|
|
47
|
+
- Time estimates in parentheses
|
|
48
|
+
- Assignees via @mentions
|
|
49
|
+
- Organized by phase/week
|
|
50
|
+
|
|
51
|
+
### 2. Per-Task Comments
|
|
52
|
+
|
|
53
|
+
After each task completion, post detailed comment:
|
|
54
|
+
|
|
55
|
+
```markdown
|
|
56
|
+
### ✅ Task Completed: T-007
|
|
57
|
+
|
|
58
|
+
**Title**: Implement Claude plugin installer
|
|
59
|
+
**Estimated**: 8h
|
|
60
|
+
**Actual**: 7h
|
|
61
|
+
**Assignee**: @developer2
|
|
62
|
+
|
|
63
|
+
**What Changed**:
|
|
64
|
+
- Added `compilePlugin()` method to ClaudeAdapter
|
|
65
|
+
- Implemented plugin file copying to `.claude/`
|
|
66
|
+
- Added unload and status methods
|
|
67
|
+
- Updated adapter interface
|
|
68
|
+
|
|
69
|
+
**Files Modified**:
|
|
70
|
+
- `src/adapters/claude/adapter.ts` (+150 lines)
|
|
71
|
+
- `src/adapters/adapter-interface.ts` (+35 lines)
|
|
72
|
+
|
|
73
|
+
**Tests**:
|
|
74
|
+
- ✅ Unit tests passing (12 new tests)
|
|
75
|
+
- ✅ Integration test: plugin install/uninstall
|
|
76
|
+
|
|
77
|
+
**Next Task**: T-008 - Implement Cursor plugin compiler
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
**Progress**: 7/48 tasks (15%) | Week 1: 7/12 complete
|
|
82
|
+
|
|
83
|
+
🤖 Posted by SpecWeave at 2025-10-30 14:30:00
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
**Benefits**:
|
|
87
|
+
- Detailed change log per task
|
|
88
|
+
- Time tracking (estimated vs actual)
|
|
89
|
+
- File change summary
|
|
90
|
+
- Test status
|
|
91
|
+
- Context for code reviewers
|
|
92
|
+
|
|
93
|
+
### 3. Task Assignments
|
|
94
|
+
|
|
95
|
+
Assign tasks to team members via GitHub:
|
|
96
|
+
|
|
97
|
+
**Method 1: Task checklist with @mentions**
|
|
98
|
+
```markdown
|
|
99
|
+
- [ ] T-015: Create test suite (8h) @qa-engineer
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**Method 2: Issue comments**
|
|
103
|
+
```
|
|
104
|
+
@developer1 Can you take T-003 and T-004 this week?
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Method 3: GitHub Projects**
|
|
108
|
+
- Drag tasks to columns (To Do, In Progress, Done)
|
|
109
|
+
- Auto-sync with increment status
|
|
110
|
+
|
|
111
|
+
### 4. Blocking Issues
|
|
112
|
+
|
|
113
|
+
Track dependencies and blockers:
|
|
114
|
+
|
|
115
|
+
```markdown
|
|
116
|
+
### 🚨 Blocked: T-020
|
|
117
|
+
|
|
118
|
+
**Task**: Implement Kubernetes plugin
|
|
119
|
+
**Blocked By**: #127 (Infrastructure setup incomplete)
|
|
120
|
+
**Blocking**: T-021, T-022
|
|
121
|
+
**Reason**: Need staging cluster before testing K8s plugin
|
|
122
|
+
|
|
123
|
+
**Resolution**: Wait for #127 to close, then proceed with T-020
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
**ETA**: Blocked since 2025-10-28, expected resolution by 2025-11-01
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Configuration
|
|
133
|
+
|
|
134
|
+
Enable task-level tracking in `.specweave/config.yaml`:
|
|
135
|
+
|
|
136
|
+
```yaml
|
|
137
|
+
plugins:
|
|
138
|
+
settings:
|
|
139
|
+
specweave-github:
|
|
140
|
+
# Task-level tracking
|
|
141
|
+
task_tracking:
|
|
142
|
+
enabled: true
|
|
143
|
+
|
|
144
|
+
# Post comment after each task
|
|
145
|
+
post_task_comments: true
|
|
146
|
+
|
|
147
|
+
# Update checklist after each task
|
|
148
|
+
update_checklist: true
|
|
149
|
+
|
|
150
|
+
# Include file changes in comments
|
|
151
|
+
include_file_changes: true
|
|
152
|
+
|
|
153
|
+
# Include time tracking
|
|
154
|
+
include_time_tracking: true
|
|
155
|
+
|
|
156
|
+
# Auto-assign tasks based on git author
|
|
157
|
+
auto_assign: true
|
|
158
|
+
|
|
159
|
+
# Blocking issue detection
|
|
160
|
+
blocking_issues:
|
|
161
|
+
enabled: true
|
|
162
|
+
|
|
163
|
+
# Check for blocking keywords in task descriptions
|
|
164
|
+
keywords: ["blocked by", "depends on", "requires"]
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Commands
|
|
170
|
+
|
|
171
|
+
### Check Task Status
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
/specweave:github:status 0004
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
Output:
|
|
178
|
+
```
|
|
179
|
+
GitHub Issue: #130
|
|
180
|
+
Status: Open (In Progress)
|
|
181
|
+
|
|
182
|
+
Tasks: 7/48 completed (15%)
|
|
183
|
+
|
|
184
|
+
Week 1: Foundation
|
|
185
|
+
✅ T-001: Create plugin types (Done)
|
|
186
|
+
✅ T-002: Create manifest schema (Done)
|
|
187
|
+
✅ T-003: Implement PluginLoader (Done)
|
|
188
|
+
✅ T-004: Implement PluginManager (Done)
|
|
189
|
+
✅ T-005: Implement PluginDetector (Done)
|
|
190
|
+
✅ T-006: Update adapter interface (Done)
|
|
191
|
+
✅ T-007: Implement Claude installer (Done)
|
|
192
|
+
⏳ T-008: Implement Cursor compiler (In Progress)
|
|
193
|
+
⏸️ T-009: Implement Copilot compiler (Pending)
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Sync Task Checklist
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
/specweave:github:sync 0004 --tasks
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
Updates GitHub issue checklist to match current increment progress.
|
|
203
|
+
|
|
204
|
+
### Comment on Task
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
/specweave:github:comment 0004 T-008 "Cursor adapter completed, moving to testing phase"
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
Posts custom comment to GitHub issue for specific task.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## GitHub Labels for Tasks
|
|
215
|
+
|
|
216
|
+
Automatically apply labels based on task status:
|
|
217
|
+
|
|
218
|
+
| Label | When Applied | Purpose |
|
|
219
|
+
|-------|--------------|---------|
|
|
220
|
+
| `in-progress` | First task starts | Increment is actively being worked on |
|
|
221
|
+
| `testing` | Implementation tasks done | Ready for QA |
|
|
222
|
+
| `blocked` | Task marked as blocked | Needs attention |
|
|
223
|
+
| `review-requested` | PR created | Code review needed |
|
|
224
|
+
| `ready-for-merge` | Review approved | Can be merged |
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
## Team Collaboration Patterns
|
|
229
|
+
|
|
230
|
+
### Pattern 1: Daily Standups via GitHub
|
|
231
|
+
|
|
232
|
+
Team members comment on tasks with daily updates:
|
|
233
|
+
|
|
234
|
+
```markdown
|
|
235
|
+
**@developer1** on T-008:
|
|
236
|
+
Yesterday: Implemented Cursor adapter skeleton
|
|
237
|
+
Today: Adding plugin compilation logic
|
|
238
|
+
Blockers: None
|
|
239
|
+
|
|
240
|
+
**@developer2** on T-014:
|
|
241
|
+
Yesterday: Created github-sync skill
|
|
242
|
+
Today: Testing sync workflow
|
|
243
|
+
Blockers: Waiting for #130 review
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
### Pattern 2: Code Review Integration
|
|
247
|
+
|
|
248
|
+
Link PRs to tasks:
|
|
249
|
+
|
|
250
|
+
```markdown
|
|
251
|
+
### T-007: Claude plugin installer
|
|
252
|
+
|
|
253
|
+
**PR**: #45
|
|
254
|
+
**Status**: Ready for review
|
|
255
|
+
**Reviewers**: @tech-lead, @architect
|
|
256
|
+
|
|
257
|
+
**Changes**:
|
|
258
|
+
- Implemented plugin support in Claude adapter
|
|
259
|
+
- Added comprehensive tests
|
|
260
|
+
- Updated documentation
|
|
261
|
+
|
|
262
|
+
**Review Checklist**:
|
|
263
|
+
- [ ] Code quality (clean, readable)
|
|
264
|
+
- [ ] Test coverage (80%+)
|
|
265
|
+
- [ ] Documentation updated
|
|
266
|
+
- [ ] No security issues
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### Pattern 3: Task Handoff
|
|
270
|
+
|
|
271
|
+
Transfer task ownership:
|
|
272
|
+
|
|
273
|
+
```markdown
|
|
274
|
+
@developer1 → @developer2 (T-015)
|
|
275
|
+
|
|
276
|
+
**Context**:
|
|
277
|
+
- Tests framework configured
|
|
278
|
+
- Need to write E2E tests for plugin system
|
|
279
|
+
- Reference: T-007 implementation
|
|
280
|
+
|
|
281
|
+
**Handoff Notes**:
|
|
282
|
+
- Use Playwright for E2E tests
|
|
283
|
+
- Cover happy path + error scenarios
|
|
284
|
+
- See `.specweave/increments/0004/tests.md` for test cases
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## Time Tracking
|
|
290
|
+
|
|
291
|
+
### Automatic Time Tracking
|
|
292
|
+
|
|
293
|
+
Track time spent on tasks:
|
|
294
|
+
|
|
295
|
+
```yaml
|
|
296
|
+
# .specweave/increments/0004-plugin-architecture/.metadata.yaml
|
|
297
|
+
tasks:
|
|
298
|
+
T-007:
|
|
299
|
+
estimated_hours: 8
|
|
300
|
+
actual_hours: 7
|
|
301
|
+
started_at: 2025-10-30T10:00:00Z
|
|
302
|
+
completed_at: 2025-10-30T17:00:00Z
|
|
303
|
+
assignee: developer2
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
### Time Reports
|
|
307
|
+
|
|
308
|
+
Generate time reports:
|
|
309
|
+
|
|
310
|
+
```bash
|
|
311
|
+
/specweave:github:time-report 0004
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
Output:
|
|
315
|
+
```
|
|
316
|
+
Time Report: Increment 0004
|
|
317
|
+
|
|
318
|
+
Estimated: 240 hours (6 weeks)
|
|
319
|
+
Actual: 56 hours (1.4 weeks)
|
|
320
|
+
Remaining: 184 hours (4.6 weeks)
|
|
321
|
+
|
|
322
|
+
By Developer:
|
|
323
|
+
- developer1: 24h (5 tasks)
|
|
324
|
+
- developer2: 32h (2 tasks)
|
|
325
|
+
|
|
326
|
+
By Phase:
|
|
327
|
+
- Week 1 Foundation: 56h / 96h (58%)
|
|
328
|
+
- Week 2 GitHub Plugin: 0h / 80h (0%)
|
|
329
|
+
- Week 3 Plugins: 0h / 120h (0%)
|
|
330
|
+
- Week 4 Docs: 0h / 88h (0%)
|
|
331
|
+
|
|
332
|
+
Pace: On track (4% ahead of schedule)
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
---
|
|
336
|
+
|
|
337
|
+
## GitHub Projects Integration
|
|
338
|
+
|
|
339
|
+
### Automated Kanban Board
|
|
340
|
+
|
|
341
|
+
Sync increment tasks with GitHub Projects:
|
|
342
|
+
|
|
343
|
+
**Board Columns**:
|
|
344
|
+
1. **Backlog**: Pending tasks
|
|
345
|
+
2. **Ready**: Tasks ready to start
|
|
346
|
+
3. **In Progress**: Currently being worked on
|
|
347
|
+
4. **Review**: PRs open, needs review
|
|
348
|
+
5. **Done**: Completed tasks
|
|
349
|
+
|
|
350
|
+
**Auto-Move Rules**:
|
|
351
|
+
- Task starts → Move to "In Progress"
|
|
352
|
+
- PR created → Move to "Review"
|
|
353
|
+
- PR merged → Move to "Done"
|
|
354
|
+
|
|
355
|
+
### Milestone Tracking
|
|
356
|
+
|
|
357
|
+
Link increments to GitHub Milestones:
|
|
358
|
+
|
|
359
|
+
```yaml
|
|
360
|
+
# .specweave/config.yaml
|
|
361
|
+
plugins:
|
|
362
|
+
settings:
|
|
363
|
+
specweave-github:
|
|
364
|
+
milestones:
|
|
365
|
+
"v0.4.0":
|
|
366
|
+
increments:
|
|
367
|
+
- 0004-plugin-architecture
|
|
368
|
+
- 0005-user-authentication
|
|
369
|
+
due_date: 2025-11-30
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
GitHub Milestone view shows progress across multiple increments.
|
|
373
|
+
|
|
374
|
+
---
|
|
375
|
+
|
|
376
|
+
## Advanced Features
|
|
377
|
+
|
|
378
|
+
### Task Dependencies
|
|
379
|
+
|
|
380
|
+
Define task dependencies in `tasks.md`:
|
|
381
|
+
|
|
382
|
+
```markdown
|
|
383
|
+
### T-008: Implement Cursor compiler
|
|
384
|
+
|
|
385
|
+
**Dependencies**: T-006, T-007
|
|
386
|
+
**Blocks**: T-011, T-012
|
|
387
|
+
|
|
388
|
+
**Description**: ...
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
SpecWeave enforces dependency order and warns if attempting blocked task.
|
|
392
|
+
|
|
393
|
+
### Subtasks
|
|
394
|
+
|
|
395
|
+
Break complex tasks into subtasks:
|
|
396
|
+
|
|
397
|
+
```markdown
|
|
398
|
+
### T-014: Implement github-sync skill (8h)
|
|
399
|
+
|
|
400
|
+
**Subtasks**:
|
|
401
|
+
- [ ] T-014.1: Create SKILL.md (1h)
|
|
402
|
+
- [ ] T-014.2: Implement export (increment → issue) (3h)
|
|
403
|
+
- [ ] T-014.3: Implement import (issue → increment) (2h)
|
|
404
|
+
- [ ] T-014.4: Add progress updates (1h)
|
|
405
|
+
- [ ] T-014.5: Write tests (1h)
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
Subtasks appear as nested checkboxes in GitHub issue.
|
|
409
|
+
|
|
410
|
+
### External Issue Links
|
|
411
|
+
|
|
412
|
+
Reference external blocking issues:
|
|
413
|
+
|
|
414
|
+
```markdown
|
|
415
|
+
### T-020: Kubernetes plugin
|
|
416
|
+
|
|
417
|
+
**Blocked By**:
|
|
418
|
+
- #127 (this repo): Infrastructure setup
|
|
419
|
+
- https://github.com/kubernetes/kubernetes/issues/12345: K8s API bug
|
|
420
|
+
|
|
421
|
+
**Resolution Plan**:
|
|
422
|
+
1. Wait for #127 (ETA: 2025-11-01)
|
|
423
|
+
2. Work around K8s bug using alternative API
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
---
|
|
427
|
+
|
|
428
|
+
## Notifications
|
|
429
|
+
|
|
430
|
+
### Task Assignment Notifications
|
|
431
|
+
|
|
432
|
+
GitHub automatically notifies assignees:
|
|
433
|
+
|
|
434
|
+
```
|
|
435
|
+
@developer1 you were assigned T-015 in #130
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
### Blocking Notifications
|
|
439
|
+
|
|
440
|
+
Notify blocked task assignees when blocker resolves:
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
@developer2 Task T-020 is unblocked (#127 was closed)
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
### Deadline Reminders
|
|
447
|
+
|
|
448
|
+
Warn when tasks are behind schedule:
|
|
449
|
+
|
|
450
|
+
```
|
|
451
|
+
⚠️ T-008 is 2 days overdue (estimated: 2 days, actual: 4 days)
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
---
|
|
455
|
+
|
|
456
|
+
## Troubleshooting
|
|
457
|
+
|
|
458
|
+
**Checklist not updating?**
|
|
459
|
+
- Verify `update_checklist: true` in config
|
|
460
|
+
- Check GitHub API permissions (repo write access)
|
|
461
|
+
- Manually sync: `/specweave:github:sync 0004 --tasks`
|
|
462
|
+
|
|
463
|
+
**Comments not posting?**
|
|
464
|
+
- Check `post_task_comments: true`
|
|
465
|
+
- Verify GitHub CLI authenticated: `gh auth status`
|
|
466
|
+
- Check rate limits: `gh api rate_limit`
|
|
467
|
+
|
|
468
|
+
**Time tracking inaccurate?**
|
|
469
|
+
- Verify task timestamps in `.metadata.yaml`
|
|
470
|
+
- Check for manual edits to metadata
|
|
471
|
+
- Re-sync: `/specweave:github:sync 0004 --force`
|
|
472
|
+
|
|
473
|
+
---
|
|
474
|
+
|
|
475
|
+
## Best Practices
|
|
476
|
+
|
|
477
|
+
1. **Keep Tasks Atomic**: Each task should be completable in one work session (2-8 hours)
|
|
478
|
+
2. **Update Checklists Daily**: Sync progress at least once per day
|
|
479
|
+
3. **Use Assignees**: Assign tasks to specific developers for accountability
|
|
480
|
+
4. **Track Blockers**: Immediately flag blocking issues for visibility
|
|
481
|
+
5. **Link PRs**: Always reference task ID in PR title (`T-007: Add plugin support`)
|
|
482
|
+
6. **Comment Context**: Add context comments when handing off tasks
|
|
483
|
+
7. **Review Time Estimates**: Adjust estimates based on actual time tracked
|
|
484
|
+
|
|
485
|
+
---
|
|
486
|
+
|
|
487
|
+
## Related
|
|
488
|
+
|
|
489
|
+
- **github-sync**: High-level increment ↔ issue synchronization
|
|
490
|
+
- **github-manager agent**: AI agent for GitHub operations
|
|
491
|
+
- **Commands**: All `/specweave:github:*` commands
|
|
492
|
+
|
|
493
|
+
---
|
|
494
|
+
|
|
495
|
+
**Version**: 1.0.0
|
|
496
|
+
**Plugin**: specweave-github
|
|
497
|
+
**Last Updated**: 2025-10-30
|