@xulthekl/team-flow 0.22.4
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/.agents/plugins/marketplace.json +20 -0
- package/.agents/skills +1 -0
- package/.claude/always/phase-guard.md +3 -0
- package/.claude-plugin/marketplace.json +20 -0
- package/.claude-plugin/plugin.json +31 -0
- package/.codex-plugin/plugin.json +45 -0
- package/.codexignore +6 -0
- package/.cursor-plugin/marketplace.json +17 -0
- package/.cursor-plugin/plugin.json +31 -0
- package/.github/copilot-instructions.md +15 -0
- package/.github/dependabot.yml +10 -0
- package/.github/plugin/marketplace.json +42 -0
- package/.github/workflows/ci.yml +98 -0
- package/.github/workflows/hol-plugin-scanner.yml +17 -0
- package/.opencode/INSTALL.md +61 -0
- package/.opencode/plugins/team-flow.js +70 -0
- package/AGENTS.md +280 -0
- package/CHANGELOG.md +635 -0
- package/CONTRIBUTING.md +115 -0
- package/GEMINI.md +14 -0
- package/HANDOFF.md +219 -0
- package/INSTALL.md +810 -0
- package/LICENSE +21 -0
- package/README.md +185 -0
- package/SECURITY.md +37 -0
- package/agents/bug-investigator.md +180 -0
- package/agents/change-split-auditor.md +257 -0
- package/agents/code-reviewer.md +171 -0
- package/agents/cross-change-consistency-checker.md +215 -0
- package/agents/prd-completeness-reviewer.md +197 -0
- package/agents/prototype-builder.md +230 -0
- package/agents/prototype-env-scout.md +156 -0
- package/agents/prototype-reviewer.md +226 -0
- package/assets/icon.svg +6 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +5 -0
- package/dist/parsing/change-parser.d.ts +12 -0
- package/dist/parsing/change-parser.js +54 -0
- package/dist/parsing/requirement-blocks.d.ts +31 -0
- package/dist/parsing/requirement-blocks.js +192 -0
- package/dist/schema/base.d.ts +7 -0
- package/dist/schema/base.js +1 -0
- package/dist/schema/change.d.ts +25 -0
- package/dist/schema/change.js +1 -0
- package/dist/schema/index.d.ts +3 -0
- package/dist/schema/index.js +1 -0
- package/dist/schema/spec.d.ts +11 -0
- package/dist/schema/spec.js +1 -0
- package/dist/validation/constants.d.ts +42 -0
- package/dist/validation/constants.js +42 -0
- package/dist/validation/tokenizer.d.ts +17 -0
- package/dist/validation/tokenizer.js +173 -0
- package/dist/validation/types.d.ts +40 -0
- package/dist/validation/types.js +1 -0
- package/dist/validation/validator.d.ts +21 -0
- package/dist/validation/validator.js +489 -0
- package/docs/README_en.md +358 -0
- package/docs/artifact-contract.md +96 -0
- package/docs/decision-points.md +88 -0
- package/docs/e2e-integration-design.md +207 -0
- package/docs/examples/README.md +25 -0
- package/docs/examples/add-dark-mode/README.md +13 -0
- package/docs/examples/add-dark-mode/design.md +49 -0
- package/docs/examples/add-dark-mode/execution-contract.md +56 -0
- package/docs/examples/add-dark-mode/proposal.md +46 -0
- package/docs/examples/add-dark-mode/specs/ui-theme/spec.md +35 -0
- package/docs/examples/add-dark-mode/tasks.md +26 -0
- package/docs/examples/refactor-auth-boundary/README.md +15 -0
- package/docs/examples/refactor-auth-boundary/design.md +41 -0
- package/docs/examples/refactor-auth-boundary/execution-contract.md +61 -0
- package/docs/examples/refactor-auth-boundary/proposal.md +47 -0
- package/docs/examples/refactor-auth-boundary/specs/auth-boundary/spec.md +45 -0
- package/docs/examples/refactor-auth-boundary/tasks.md +25 -0
- package/docs/plans/2026-07-07-fix-batch-design.md +68 -0
- package/docs/plans/2026-07-20-001-refactor-skill-collaboration-protocol-plan.md +128 -0
- package/docs/platform-matrix.md +45 -0
- package/docs/prototype-design-research.md +206 -0
- package/docs/release-checklist.md +96 -0
- package/docs/showcase.html +699 -0
- package/docs/skill-rename-v0.8.0.md +49 -0
- package/docs/state-machine.md +162 -0
- package/gemini-extension.json +6 -0
- package/hooks/hooks-cursor.json +8 -0
- package/hooks/hooks.json +26 -0
- package/hooks/pre-tool-use-guard +116 -0
- package/hooks/session-start +14 -0
- package/llms.txt +51 -0
- package/package.json +48 -0
- package/plugin.json +27 -0
- package/prd/v1/plan.md +443 -0
- package/prd/v1/prd.md +580 -0
- package/scripts/check-update.mjs +91 -0
- package/scripts/check-version-consistency.mjs +345 -0
- package/scripts/ensure-branch.mjs +71 -0
- package/scripts/get-config +31 -0
- package/scripts/guard/checks/artifacts-exist.mjs +36 -0
- package/scripts/guard/checks/contract-current.mjs +33 -0
- package/scripts/guard/checks/contract-fresh.mjs +17 -0
- package/scripts/guard/checks/dp-gate-passed.mjs +35 -0
- package/scripts/guard/checks/dp3-approved.mjs +22 -0
- package/scripts/guard/checks/execution-plan-ready.mjs +40 -0
- package/scripts/guard/checks/execution-reviews-passed.mjs +36 -0
- package/scripts/guard/checks/schema-valid.mjs +63 -0
- package/scripts/guard/checks/specs-merged.mjs +51 -0
- package/scripts/guard/checks/tasks-complete.mjs +31 -0
- package/scripts/guard/checks/tests-passing.mjs +31 -0
- package/scripts/guard/design-token-guard.mjs +237 -0
- package/scripts/guard/guard.mjs +205 -0
- package/scripts/infer-workflow.mjs +136 -0
- package/scripts/install-amazon-q.mjs +9 -0
- package/scripts/install-cline.mjs +9 -0
- package/scripts/install-continue.mjs +9 -0
- package/scripts/install-cursor.mjs +265 -0
- package/scripts/install-git-hooks.mjs +82 -0
- package/scripts/install-kiro.mjs +9 -0
- package/scripts/install-pi.mjs +9 -0
- package/scripts/install-qoder.mjs +9 -0
- package/scripts/install-qwen.mjs +9 -0
- package/scripts/install-roocode.mjs +9 -0
- package/scripts/install-windsurf.mjs +9 -0
- package/scripts/install-zcode.mjs +265 -0
- package/scripts/lib/cmd-audit.mjs +127 -0
- package/scripts/lib/cmd-checkpoint.mjs +118 -0
- package/scripts/lib/cmd-config.mjs +88 -0
- package/scripts/lib/cmd-doctor.mjs +267 -0
- package/scripts/lib/cmd-execution.mjs +206 -0
- package/scripts/lib/cmd-handoff.mjs +94 -0
- package/scripts/lib/cmd-inject.mjs +310 -0
- package/scripts/lib/cmd-install-amazon-q.mjs +11 -0
- package/scripts/lib/cmd-install-cline.mjs +11 -0
- package/scripts/lib/cmd-install-continue.mjs +11 -0
- package/scripts/lib/cmd-install-cursor.mjs +14 -0
- package/scripts/lib/cmd-install-kiro.mjs +11 -0
- package/scripts/lib/cmd-install-pi.mjs +11 -0
- package/scripts/lib/cmd-install-qoder.mjs +11 -0
- package/scripts/lib/cmd-install-qwen.mjs +11 -0
- package/scripts/lib/cmd-install-roocode.mjs +11 -0
- package/scripts/lib/cmd-install-windsurf.mjs +11 -0
- package/scripts/lib/cmd-install-workbuddy.mjs +359 -0
- package/scripts/lib/cmd-install-zcode.mjs +14 -0
- package/scripts/lib/cmd-isolate.mjs +37 -0
- package/scripts/lib/cmd-list.mjs +71 -0
- package/scripts/lib/cmd-runtime.mjs +85 -0
- package/scripts/lib/cmd-solutions.mjs +71 -0
- package/scripts/lib/cmd-state.mjs +231 -0
- package/scripts/lib/cmd-sync.mjs +102 -0
- package/scripts/lib/cmd-validate.mjs +105 -0
- package/scripts/lib/cmd-version.mjs +148 -0
- package/scripts/lib/config-loader.mjs +107 -0
- package/scripts/lib/execution-plan.mjs +492 -0
- package/scripts/lib/execution-recommendation.mjs +221 -0
- package/scripts/lib/hash.mjs +74 -0
- package/scripts/lib/install.mjs +267 -0
- package/scripts/lib/platform-runtime-inventory.mjs +27 -0
- package/scripts/lib/platforms.mjs +165 -0
- package/scripts/lib/prototype-sync.mjs +192 -0
- package/scripts/lib/sdd-overlay.mjs +262 -0
- package/scripts/lib/shell-quote.mjs +4 -0
- package/scripts/lib/solutions-capture.mjs +102 -0
- package/scripts/lib/solutions-index-gen.mjs +112 -0
- package/scripts/lib/solutions-inject.mjs +77 -0
- package/scripts/lib/solutions-promote.mjs +145 -0
- package/scripts/lib/spec-paths.mjs +85 -0
- package/scripts/lib/state-loader.mjs +154 -0
- package/scripts/lint/lint-skills.mjs +149 -0
- package/scripts/lint/rules/behavior-consistency.mjs +56 -0
- package/scripts/lint/rules/dp-trigger-points.mjs +60 -0
- package/scripts/lint/rules/exception-handling.mjs +59 -0
- package/scripts/lint/rules/no-contradictory-instructions.mjs +67 -0
- package/scripts/lint/rules/no-redundant-checks.mjs +50 -0
- package/scripts/lint/rules/token-rules.mjs +122 -0
- package/scripts/review-package +44 -0
- package/scripts/task-brief +40 -0
- package/scripts/team-flow.mjs +164 -0
- package/scripts/token-baseline.mjs +158 -0
- package/scripts/validate-artifacts +96 -0
- package/scripts/verify-marketplace-release.mjs +59 -0
- package/skills/architecture-design/SKILL.md +140 -0
- package/skills/architecture-design/chapters/ch01-4a-domains.md +27 -0
- package/skills/architecture-design/chapters/ch02-change-cascade.md +27 -0
- package/skills/architecture-design/chapters/ch03-architecture-outputs.md +25 -0
- package/skills/architecture-design/chapters/ch04-entity-to-aggregate.md +27 -0
- package/skills/architecture-design/chapters/ch05-cqrs.md +32 -0
- package/skills/architecture-design/chapters/ch06-integration.md +54 -0
- package/skills/architecture-design/cheatsheet.md +51 -0
- package/skills/architecture-design/glossary.md +23 -0
- package/skills/architecture-design/patterns.md +32 -0
- package/skills/bug-investigator/SKILL.md +77 -0
- package/skills/build-executor/SKILL.md +163 -0
- package/skills/build-executor/implementer-prompt.md +162 -0
- package/skills/build-executor/references/execution-modes.md +86 -0
- package/skills/build-executor/task-reviewer-prompt.md +195 -0
- package/skills/ce-brainstorm/SKILL.md +415 -0
- package/skills/ce-brainstorm/references/agents/slack-researcher.md +127 -0
- package/skills/ce-brainstorm/references/blindspot-pass.md +70 -0
- package/skills/ce-brainstorm/references/brainstorm-sections.md +285 -0
- package/skills/ce-brainstorm/references/handoff.md +168 -0
- package/skills/ce-brainstorm/references/html-rendering.md +634 -0
- package/skills/ce-brainstorm/references/markdown-rendering.md +241 -0
- package/skills/ce-brainstorm/references/model-tiers.md +9 -0
- package/skills/ce-brainstorm/references/prd-mapping.md +71 -0
- package/skills/ce-brainstorm/references/product-pressure-test.md +42 -0
- package/skills/ce-brainstorm/references/reasoning-elevation.md +63 -0
- package/skills/ce-brainstorm/references/settled-decisions.md +45 -0
- package/skills/ce-brainstorm/references/synthesis-summary.md +282 -0
- package/skills/ce-brainstorm/references/universal-brainstorming.md +73 -0
- package/skills/ce-brainstorm/references/verdict-routing.md +26 -0
- package/skills/ce-brainstorm/references/visual-probes.md +158 -0
- package/skills/ce-brainstorm/scripts/visual-probe-server.js +418 -0
- package/skills/ce-compound/SKILL.md +114 -0
- package/skills/ce-compound/assets/resolution-template.md +94 -0
- package/skills/ce-compound/references/agents/best-practices-researcher.md +115 -0
- package/skills/ce-compound/references/agents/data-integrity-guardian.md +68 -0
- package/skills/ce-compound/references/agents/framework-docs-researcher.md +93 -0
- package/skills/ce-compound/references/agents/pattern-recognition-specialist.md +55 -0
- package/skills/ce-compound/references/agents/performance-oracle.md +108 -0
- package/skills/ce-compound/references/agents/security-sentinel.md +91 -0
- package/skills/ce-compound/references/agents/session-historian.md +83 -0
- package/skills/ce-compound/references/concepts-vocabulary.md +78 -0
- package/skills/ce-compound/references/full-mode-workflow.md +413 -0
- package/skills/ce-compound/references/grounding-validation.md +84 -0
- package/skills/ce-compound/references/lightweight-mode.md +53 -0
- package/skills/ce-compound/references/output-standards.md +182 -0
- package/skills/ce-compound/references/promotion-rules.md +38 -0
- package/skills/ce-compound/references/schema.yaml +231 -0
- package/skills/ce-compound/references/three-tier-index.md +55 -0
- package/skills/ce-compound/references/v0.5-upgrade.md +32 -0
- package/skills/ce-compound/references/write-flow.md +36 -0
- package/skills/ce-compound/references/yaml-schema.md +118 -0
- package/skills/ce-compound/scripts/session-history/discover-sessions.sh +130 -0
- package/skills/ce-compound/scripts/session-history/extract-errors.py +254 -0
- package/skills/ce-compound/scripts/session-history/extract-metadata.py +456 -0
- package/skills/ce-compound/scripts/session-history/extract-skeleton.py +575 -0
- package/skills/ce-compound/scripts/validate-doc-claims.py +346 -0
- package/skills/ce-compound/scripts/validate-frontmatter.py +137 -0
- package/skills/ce-ideate/SKILL.md +402 -0
- package/skills/ce-ideate/references/agents/issue-intelligence-analyst.md +200 -0
- package/skills/ce-ideate/references/agents/learnings-researcher.md +247 -0
- package/skills/ce-ideate/references/agents/slack-researcher.md +127 -0
- package/skills/ce-ideate/references/agents/web-researcher.md +121 -0
- package/skills/ce-ideate/references/divergent-ideation.md +89 -0
- package/skills/ce-ideate/references/html-rendering.md +634 -0
- package/skills/ce-ideate/references/ideation-sections.md +191 -0
- package/skills/ce-ideate/references/markdown-rendering.md +238 -0
- package/skills/ce-ideate/references/post-ideation-workflow.md +167 -0
- package/skills/ce-ideate/references/universal-ideation.md +107 -0
- package/skills/ce-ideate/references/web-research-cache.md +56 -0
- package/skills/ce-plan/SKILL.md +137 -0
- package/skills/ce-plan/references/agents/agent-native-planning-strategist.md +62 -0
- package/skills/ce-plan/references/agents/architecture-strategist.md +46 -0
- package/skills/ce-plan/references/agents/best-practices-researcher.md +114 -0
- package/skills/ce-plan/references/agents/data-integrity-guardian.md +68 -0
- package/skills/ce-plan/references/agents/data-migration-reviewer.md +103 -0
- package/skills/ce-plan/references/agents/deployment-verification-agent.md +157 -0
- package/skills/ce-plan/references/agents/framework-docs-researcher.md +93 -0
- package/skills/ce-plan/references/agents/git-history-analyzer.md +40 -0
- package/skills/ce-plan/references/agents/learnings-researcher.md +247 -0
- package/skills/ce-plan/references/agents/pattern-recognition-specialist.md +55 -0
- package/skills/ce-plan/references/agents/performance-oracle.md +108 -0
- package/skills/ce-plan/references/agents/repo-research-analyst.md +258 -0
- package/skills/ce-plan/references/agents/security-sentinel.md +91 -0
- package/skills/ce-plan/references/agents/slack-researcher.md +127 -0
- package/skills/ce-plan/references/agents/spec-flow-analyzer.md +80 -0
- package/skills/ce-plan/references/agents/web-researcher.md +121 -0
- package/skills/ce-plan/references/approach-altitude.md +55 -0
- package/skills/ce-plan/references/change-splitting.md +65 -0
- package/skills/ce-plan/references/completion-contract.md +33 -0
- package/skills/ce-plan/references/core-principles.md +40 -0
- package/skills/ce-plan/references/deepening-workflow.md +263 -0
- package/skills/ce-plan/references/dependency-graph.md +36 -0
- package/skills/ce-plan/references/html-rendering.md +634 -0
- package/skills/ce-plan/references/intake-routing.md +189 -0
- package/skills/ce-plan/references/markdown-rendering.md +238 -0
- package/skills/ce-plan/references/plan-handoff.md +150 -0
- package/skills/ce-plan/references/plan-sections.md +427 -0
- package/skills/ce-plan/references/plan-structure.md +120 -0
- package/skills/ce-plan/references/planning-modes.md +69 -0
- package/skills/ce-plan/references/reasoning-elevation.md +63 -0
- package/skills/ce-plan/references/research-workflow.md +165 -0
- package/skills/ce-plan/references/review-and-write.md +127 -0
- package/skills/ce-plan/references/settled-decisions.md +45 -0
- package/skills/ce-plan/references/synthesis-summary.md +418 -0
- package/skills/ce-plan/references/universal-planning.md +168 -0
- package/skills/ce-proof/SKILL.md +346 -0
- package/skills/ce-strategy/SKILL.md +97 -0
- package/skills/ce-strategy/references/interview.md +143 -0
- package/skills/ce-strategy/references/strategy-template.md +89 -0
- package/skills/code-reviewer/SKILL.md +84 -0
- package/skills/code-reviewer/code-reviewer-prompt.md +195 -0
- package/skills/contract-builder/SKILL.md +72 -0
- package/skills/design-system/SKILL.md +75 -0
- package/skills/design-system/references/agents/design-system-architect.md +138 -0
- package/skills/design-system/references/creation-flow.md +170 -0
- package/skills/design-system/references/preview-template.html +319 -0
- package/skills/design-system/references/token-derivation.md +115 -0
- package/skills/design-system/references/variant-schema.md +60 -0
- package/skills/e2e/SKILL.md +56 -0
- package/skills/e2e/references/test-verifier.md +40 -0
- package/skills/need-explorer/SKILL.md +79 -0
- package/skills/prototype/SKILL.md +98 -0
- package/skills/prototype/references/agents/design-system-architect.md +122 -0
- package/skills/prototype/references/checklist.md +82 -0
- package/skills/prototype/references/craft/accessibility-baseline.md +71 -0
- package/skills/prototype/references/craft/anti-ai-slop.md +87 -0
- package/skills/prototype/references/craft/laws-of-ux.md +60 -0
- package/skills/prototype/references/craft/state-coverage.md +81 -0
- package/skills/prototype/references/craft/typography-hierarchy.md +50 -0
- package/skills/prototype/references/layouts.md +223 -0
- package/skills/prototype/references/orchestration-flow.md +101 -0
- package/skills/prototype/references/prototype-scaffold/assets/design-tokens.css +19 -0
- package/skills/prototype/references/prototype-scaffold/components/button.html +3 -0
- package/skills/prototype/references/prototype-scaffold/design-system.md +7 -0
- package/skills/prototype/references/prototype-scaffold/flow.md +11 -0
- package/skills/prototype/references/prototype-scaffold/index.html +20 -0
- package/skills/prototype/references/prototype-scaffold/pages/index.html +11 -0
- package/skills/prototype/references/template.html +396 -0
- package/skills/release-archivist/SKILL.md +166 -0
- package/skills/release-archivist/references/closing-procedures.md +81 -0
- package/skills/session-handoff/SKILL.md +110 -0
- package/skills/session-handoff/references/context-extraction.md +70 -0
- package/skills/session-handoff/references/handoff-template.md +90 -0
- package/skills/session-handoff/references/skill-recommendation.md +43 -0
- package/skills/spec-merger/SKILL.md +66 -0
- package/skills/spec-writer/SKILL.md +149 -0
- package/skills/workflow-bootstrap/SKILL.md +148 -0
- package/skills/workflow-bootstrap/references/agents/codebase-recon-analyst.md +121 -0
- package/skills/workflow-bootstrap/references/b1-reconnaissance.md +80 -0
- package/skills/workflow-bootstrap/scripts/recon-probe.sh +328 -0
- package/skills/workflow-feedback/SKILL.md +120 -0
- package/skills/workflow-feedback/references/category-guide.md +121 -0
- package/skills/workflow-feedback/references/feedback-template.md +73 -0
- package/skills/workflow-feedback/references/review-mode.md +92 -0
- package/skills/workflow-orchestrator/SKILL.md +94 -0
- package/skills/workflow-orchestrator/references/feedback-loops.md +56 -0
- package/skills/workflow-orchestrator/references/s1-path-router.md +81 -0
- package/skills/workflow-orchestrator/references/s2-prd-prototype-loop.md +96 -0
- package/skills/workflow-orchestrator/references/s3-plan-pipeline.md +50 -0
- package/skills/workflow-orchestrator/references/s4-split-validate.md +108 -0
- package/skills/workflow-orchestrator/references/s5-monitoring.md +61 -0
- package/skills/workflow-orchestrator/references/state-model.md +185 -0
- package/skills/workflow-start/SKILL.md +147 -0
- package/skills/workflow-start/references/routing-rules.md +155 -0
- package/src/index.ts +16 -0
- package/src/parsing/change-parser.ts +79 -0
- package/src/parsing/requirement-blocks.ts +244 -0
- package/src/schema/base.ts +8 -0
- package/src/schema/change.ts +29 -0
- package/src/schema/index.ts +3 -0
- package/src/schema/spec.ts +12 -0
- package/src/validation/constants.ts +53 -0
- package/src/validation/tokenizer.ts +180 -0
- package/src/validation/types.ts +47 -0
- package/src/validation/validator.ts +552 -0
- package/templates/abandonment-summary.md +29 -0
- package/templates/design.md +37 -0
- package/templates/execution-contract.md +99 -0
- package/templates/plan.md +86 -0
- package/templates/prd.md +468 -0
- package/templates/proposal.md +37 -0
- package/templates/spec.md +31 -0
- package/templates/tasks.md +47 -0
- package/tests/e2e.test.mjs +266 -0
- package/tests/lib/cmd-audit.test.mjs +202 -0
- package/tests/lib/cmd-checkpoint.test.mjs +98 -0
- package/tests/lib/cmd-config.test.mjs +101 -0
- package/tests/lib/cmd-doctor.test.mjs +450 -0
- package/tests/lib/cmd-execution.test.mjs +647 -0
- package/tests/lib/cmd-handoff.test.mjs +137 -0
- package/tests/lib/cmd-inject.test.mjs +218 -0
- package/tests/lib/cmd-install-workbuddy.test.mjs +113 -0
- package/tests/lib/cmd-install-zcode.test.mjs +42 -0
- package/tests/lib/cmd-isolate.test.mjs +68 -0
- package/tests/lib/cmd-list.test.mjs +127 -0
- package/tests/lib/cmd-runtime.test.mjs +83 -0
- package/tests/lib/cmd-state-missing.test.mjs +65 -0
- package/tests/lib/cmd-state.test.mjs +365 -0
- package/tests/lib/cmd-sync-paths.test.mjs +84 -0
- package/tests/lib/cmd-validate-paths.test.mjs +90 -0
- package/tests/lib/config-loader.test.mjs +175 -0
- package/tests/lib/ensure-branch.test.mjs +59 -0
- package/tests/lib/execution-control-plane.test.mjs +168 -0
- package/tests/lib/execution-plan.test.mjs +474 -0
- package/tests/lib/guard-specs-merged.test.mjs +108 -0
- package/tests/lib/guard-tests-passing.test.mjs +112 -0
- package/tests/lib/guard-transitions.test.mjs +262 -0
- package/tests/lib/guard.test.mjs +611 -0
- package/tests/lib/hash.test.mjs +138 -0
- package/tests/lib/infer-workflow.test.mjs +161 -0
- package/tests/lib/install-git-hooks.test.mjs +20 -0
- package/tests/lib/marketplace-release-docs.test.mjs +31 -0
- package/tests/lib/minimality-discipline.test.mjs +37 -0
- package/tests/lib/model-profiles-docs.test.mjs +33 -0
- package/tests/lib/node20-compatibility.test.mjs +73 -0
- package/tests/lib/node20-test-entry.test.mjs +17 -0
- package/tests/lib/platform-runtime-distribution.test.mjs +150 -0
- package/tests/lib/raw-mode-smoke.test.mjs +42 -0
- package/tests/lib/sdd-overlay.test.mjs +118 -0
- package/tests/lib/spec-paths.test.mjs +80 -0
- package/tests/lib/state-loader.test.mjs +251 -0
- package/tests/lib/token-baseline.test.mjs +72 -0
- package/tests/lib/token-rules.test.mjs +94 -0
- package/tests/lib/verify-marketplace-release.test.mjs +128 -0
- package/tests/tsconfig.json +12 -0
- package/token-baseline.json +95 -0
- package/tsconfig.json +14 -0
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for considering a contribution to `team-flow`.
|
|
4
|
+
|
|
5
|
+
This repository is not just a collection of prompt files. It is a workflow system.
|
|
6
|
+
|
|
7
|
+
Contributions should preserve three core properties:
|
|
8
|
+
|
|
9
|
+
- spec-first planning
|
|
10
|
+
- guarded handoff through `execution-contract.md`
|
|
11
|
+
- one visible workflow owner
|
|
12
|
+
|
|
13
|
+
## Contribution Areas
|
|
14
|
+
|
|
15
|
+
Good contributions include:
|
|
16
|
+
|
|
17
|
+
- improving skill trigger clarity
|
|
18
|
+
- strengthening workflow guardrails
|
|
19
|
+
- adding or refining templates
|
|
20
|
+
- adding realistic example change sets
|
|
21
|
+
- improving installation or publishing docs
|
|
22
|
+
- clarifying artifact contracts or state transitions
|
|
23
|
+
|
|
24
|
+
## Before You Change Anything
|
|
25
|
+
|
|
26
|
+
Read these files first:
|
|
27
|
+
|
|
28
|
+
- `README.md`
|
|
29
|
+
- `INSTALL.md`
|
|
30
|
+
- `docs/artifact-contract.md`
|
|
31
|
+
- `docs/state-machine.md`
|
|
32
|
+
- `docs/release-checklist.md`
|
|
33
|
+
|
|
34
|
+
If your change affects workflow behavior, also read:
|
|
35
|
+
|
|
36
|
+
- `skills/workflow-start/SKILL.md`
|
|
37
|
+
- `skills/contract-builder/SKILL.md`
|
|
38
|
+
|
|
39
|
+
## Repository Conventions
|
|
40
|
+
|
|
41
|
+
### 1. Preserve self-contained ownership
|
|
42
|
+
|
|
43
|
+
Do not turn `team-flow` into a runtime wrapper that depends on separately installed OpenSpec or Superpowers packages.
|
|
44
|
+
|
|
45
|
+
It can learn from those systems, but this repository should remain self-contained.
|
|
46
|
+
|
|
47
|
+
### 2. Keep planning and execution distinct
|
|
48
|
+
|
|
49
|
+
Planning artifacts define the change.
|
|
50
|
+
|
|
51
|
+
`execution-contract.md` is the formal bridge into implementation.
|
|
52
|
+
|
|
53
|
+
Do not blur these roles.
|
|
54
|
+
|
|
55
|
+
### 3. Examples must be complete
|
|
56
|
+
|
|
57
|
+
If you add an example under `docs/examples/<change-name>/`, include:
|
|
58
|
+
|
|
59
|
+
- `README.md`
|
|
60
|
+
- `proposal.md`
|
|
61
|
+
- `specs/`
|
|
62
|
+
- `design.md`
|
|
63
|
+
- `tasks.md`
|
|
64
|
+
- `execution-contract.md`
|
|
65
|
+
|
|
66
|
+
### 4. Repository Artifact Boundaries
|
|
67
|
+
|
|
68
|
+
`docs/examples/` is the public location for complete example change sets.
|
|
69
|
+
The following root-local paths are working artifacts and must remain local and
|
|
70
|
+
uncommitted:
|
|
71
|
+
|
|
72
|
+
- `changes/`
|
|
73
|
+
- `.superpowers/`
|
|
74
|
+
- `docs/superpowers/`
|
|
75
|
+
- `contest-2026/`
|
|
76
|
+
- `scripts/sdd-workspace/`
|
|
77
|
+
|
|
78
|
+
### 5. Prefer operational wording
|
|
79
|
+
|
|
80
|
+
Skill text should help an agent decide:
|
|
81
|
+
|
|
82
|
+
- when to trigger
|
|
83
|
+
- what to inspect
|
|
84
|
+
- what to block
|
|
85
|
+
- what to do next
|
|
86
|
+
|
|
87
|
+
Avoid vague motivational language when an operational rule would be clearer.
|
|
88
|
+
|
|
89
|
+
## Pull Request Guidance
|
|
90
|
+
|
|
91
|
+
When opening a change, explain:
|
|
92
|
+
|
|
93
|
+
- what problem you are solving
|
|
94
|
+
- which workflow stage or artifact is affected
|
|
95
|
+
- whether any behavior, trigger logic, or guardrails changed
|
|
96
|
+
- whether docs and examples were updated to match
|
|
97
|
+
|
|
98
|
+
## Quality Checklist
|
|
99
|
+
|
|
100
|
+
Before submitting:
|
|
101
|
+
|
|
102
|
+
- remove placeholder text like `TODO` or `TBD`
|
|
103
|
+
- verify all markdown links still make sense
|
|
104
|
+
- keep README and README.zh-CN aligned when behavior changes
|
|
105
|
+
- keep example indexes aligned with actual example folders
|
|
106
|
+
- update `CHANGELOG.md` for user-visible repository changes
|
|
107
|
+
- review `docs/release-checklist.md` if the change affects release readiness
|
|
108
|
+
|
|
109
|
+
## Large Changes
|
|
110
|
+
|
|
111
|
+
If you want to make a major workflow or architecture change, start by writing a design note in:
|
|
112
|
+
|
|
113
|
+
- `docs/`
|
|
114
|
+
|
|
115
|
+
Then update the relevant skills, templates, and examples together so the repository stays coherent.
|
package/GEMINI.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# team-flow
|
|
2
|
+
|
|
3
|
+
Use the bundled agent skills in `skills/` to run the team-flow workflow.
|
|
4
|
+
|
|
5
|
+
Start from `workflow-start` when a user wants to start, continue, resume, plan, implement, review, debug, close, or inspect a team-flow change.
|
|
6
|
+
|
|
7
|
+
The workflow is self-contained and does not require OpenSpec or Superpowers at runtime. It uses OpenSpec-style planning artifacts and Superpowers-style execution discipline through the `execution-contract.md` handoff.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<!-- team-flow-phase-guard-start -->
|
|
11
|
+
# team-flow v0.22.4 | 阶段: {{state}} | 工作流: {{workflow}}
|
|
12
|
+
当前阶段允许的操作由 workflow-start 路由规则定义。
|
|
13
|
+
禁止跨越 DP gate 进入下一阶段。变更范围以 execution-contract.md 的 Intent Lock 为准。
|
|
14
|
+
<!-- team-flow-phase-guard-end -->
|
package/HANDOFF.md
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
# team-flow · Handoff 文档(Claude Code 继续开发用)
|
|
2
|
+
|
|
3
|
+
> 本文件用于把「team-flow 统一插件」的当前状态、设计决策、安装方式、剩余待办一次性交接清楚,
|
|
4
|
+
> 以便后续在 **Claude Code** 中直接打开 `team-flow/` 目录继续开发,无需回看历史对话。
|
|
5
|
+
> 最后更新:2026-07-20
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 0. 这是什么 / 目标
|
|
10
|
+
|
|
11
|
+
`team-flow` 是一个**统一插件**,把四套能力合并进一个 `plugin.json`,一次安装即加载全部 17 个 skill,覆盖
|
|
12
|
+
「需求探索 → PRD → 架构增量 → 本地原型 → spec 驱动实现 → 全局复利回写」的完整工作流。
|
|
13
|
+
|
|
14
|
+
| 来源 | 并入范围 | skill 数 |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| **team-flow**(底座,v0.10.0) | 全部 9 个 spec 驱动开发 skill | 9 |
|
|
17
|
+
| **compound-engineering 核心子集(C 方案)** | ce-brainstorm / ce-plan / ce-compound / ce-strategy / ce-ideate / ce-proof | 6 |
|
|
18
|
+
| **architecture-design**(4A+DDD 增量设计) | 整个 skill | 1 |
|
|
19
|
+
| **prototype**(本地 HTML 原型,新建) | 整个 skill(含脚手架) | 1 |
|
|
20
|
+
| **合计** | | **17** |
|
|
21
|
+
|
|
22
|
+
- 零运行时外部依赖(team-flow 底座自包含)。
|
|
23
|
+
- prototype 额外**零外部依赖、可离线**(自包含 HTML + 页面内 Tweaks 控件,无 CDN)。
|
|
24
|
+
- 插件保持通用:所有风格由项目 `design-system.md` / `prd.template` 注入,不固化任何公司/产品风格。
|
|
25
|
+
- 支持 9 安装面:Claude Code、Cursor、OpenAI Codex CLI/App、GitHub Copilot CLI、Gemini CLI、OpenCode、WorkBuddy、Trae、ima-copilot。
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 1. 当前状态
|
|
30
|
+
|
|
31
|
+
### ✅ 已完成
|
|
32
|
+
- [x] 以 `team-flow` 工程为底座复制出 `team-flow/`(目录、`.claude-plugin/`、scripts、dist、hooks 等齐全)。
|
|
33
|
+
- [x] **统一插件名 `team-flow`**:所有插件清单(顶层 `plugin.json`、`.claude-plugin/`、`marketplace.json`、`.cursor-plugin/`、`gemini-extension.json`、`.github/plugin/marketplace.json`、`.agents/plugins/marketplace.json`)的 `name` 已改为 `team-flow`,作者改为 `LT`,homepage/repository 指向 `https://github.com/LT/team-flow`。
|
|
34
|
+
- [x] **compound 核心子集(C 方案 6 个)** 已复制到 `team-flow/skills/`,architecture-design 一并复制(排除 ima 嵌套冗余副本)。
|
|
35
|
+
- [x] **新建 `prototype` skill**:`skills/prototype/SKILL.md` + `references/prototype-scaffold/`(6 文件:index.html / design-system.md / flow.md / assets/design-tokens.css / components/button.html / pages/index.html)。
|
|
36
|
+
- [x] **统一 `AGENTS.md`**:合并 team-flow 8 态机 + compound 核心 6 skill + architecture-design(4A/DDD)+ prototype 四套机制、全局产物结构、SOP、配置注入、关键约束。
|
|
37
|
+
- [x] `README.md` / `INSTALL.md` 已改写为 team-flow 顶层说明。
|
|
38
|
+
- [x] **版本一致性检查通过**:`node scripts/check-version-consistency.mjs` → ✅ all files at 0.10.0。
|
|
39
|
+
- [x] 两份权威设计文档已归入 `docs/`(`architecture-api-db-design-enhancement-v0.3.md`、`prototype-design-research.md`)。
|
|
40
|
+
|
|
41
|
+
### ⏳ 待办(详见 §6)
|
|
42
|
+
- 品牌重命名残留(package.json name、GEMINI.md/phase-guard 头部、INSTALL.md marketplace URL、`npx team-flow@0.10.0` 调用、CHANGELOG)。
|
|
43
|
+
- 实测 `tf runtime config --get prototype.designSystem`(v0.3 修正 A)。
|
|
44
|
+
- 跑通 `npm test` / `npm run validate`(开发期尚未执行)。
|
|
45
|
+
- 验证 17 个 skill 在 Claude Code/各宿主被正确加载。
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## 2. 目录结构与关键文件
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
team-flow/
|
|
53
|
+
├── HANDOFF.md # 本文件
|
|
54
|
+
├── plugin.json # 顶层插件清单(name=team-flow, version=0.10.0)
|
|
55
|
+
├── .claude-plugin/
|
|
56
|
+
│ ├── plugin.json # ★ Claude Code 实际读取的清单(name=team-flow)
|
|
57
|
+
│ └── marketplace.json
|
|
58
|
+
├── .cursor-plugin/ .codex-plugin/ .github/plugin/ .agents/plugins/ .opencode/plugins/
|
|
59
|
+
│ # 各宿主安装面清单(均已统一为 team-flow)
|
|
60
|
+
├── AGENTS.md # 插件级机制说明(四套合一 + SOP + 配置注入)
|
|
61
|
+
├── README.md / INSTALL.md # 顶层说明 / 9 安装面安装指南
|
|
62
|
+
├── package.json # npm 包(name 仍为 team-flow,见 §6 品牌残留)
|
|
63
|
+
├── scripts/ # tf 运行时 + 各宿主安装器 + 版本一致性检查
|
|
64
|
+
│ └── check-version-consistency.mjs # CI 守卫:所有 manifest 版本须=package.json
|
|
65
|
+
├── src/ dist/ # team-flow TypeScript 底座(schema/parsing/validation)
|
|
66
|
+
├── skills/ # ★ 17 个 skill(开发重点目录)
|
|
67
|
+
│ ├── workflow-start … bug-investigator # team-flow 9 个
|
|
68
|
+
│ ├── ce-brainstorm … ce-proof # compound 核心 6 个(含 references/agents/*)
|
|
69
|
+
│ ├── architecture-design # 4A+DDD 增量设计
|
|
70
|
+
│ └── prototype # 本地 HTML 原型(新建)
|
|
71
|
+
├── docs/ # 设计文档 + 上游 team-flow 文档
|
|
72
|
+
│ ├── architecture-api-db-design-enhancement-v0.3.md # ★ 权威设计规格(含原型章)
|
|
73
|
+
│ ├── prototype-design-research.md # 原型方案调研
|
|
74
|
+
│ ├── state-machine.md / artifact-contract.md / decision-points.md …
|
|
75
|
+
├── hooks/ templates/ tests/ assets/ llms.txt GEMINI.md .claude/ .codex/
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**设计权威来源**(改方案前必读):
|
|
79
|
+
- `docs/architecture-api-db-design-enhancement-v0.3.md` —— v0.3 终稿,含第十五章原型设计能力(§15.0–§15.8:五方案对比 / 两层层级模型 / 迭代模型 / 完整目录 / 配置驱动 / 本地 HTML 原型 skill / 衔接 / I/O 钉死 / 设计系统复利)。用户已于第 16 轮通过并采纳 3 条专家评审修正。
|
|
80
|
+
- `docs/prototype-design-research.md` —— 原型五方案事实对比与「零外部依赖」结论。
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 3. 关键设计决策(ADR 速记)
|
|
85
|
+
|
|
86
|
+
1. **插件名 = `team-flow`**(用户拍板)。
|
|
87
|
+
2. **compound 范围 = 核心子集(C 方案,6 个)**,非全量 33。理由:避免 27 个嵌套 agent 全部并入导致膨胀;6 个核心已覆盖「头脑风暴→PRD→全局复利→策略→创意→验证」主链路。
|
|
88
|
+
3. **compound 的 agent 随所属 skill 自动并入**:~27 个 agent 全部嵌套在各 skill 内部的 `skills/<name>/references/agents/*.md`,作为运行时子代理/研究员参考,**非独立顶层 agents**,复制 skill 目录即带入,无需单独注册。6 个核心 skill 携带 agents 数:ce-plan 15 / ce-compound 7 / ce-ideate 4 / ce-brainstorm 1 / ce-strategy 0 / ce-proof 0。
|
|
89
|
+
4. **版本保持 `0.10.0`**(对齐 team-flow base),不擅自 bump。理由:① `check-version-consistency.mjs` 强制所有 manifest 版本=package.json;② 运行时 `tf` 与 `npx team-flow@0.10.0` 仍指向 team-flow base,bump 需先发布 team-flow 到 npm。见 §6。
|
|
90
|
+
5. **配置扩展字段为插件层(非 team-flow 原生 schema)**:原生仅 `artifacts.order` / `artifacts.skip`;`prd.template` / `prototype.designSystem` / `prototype.entry` 是我们在 `team-flow.config.json` 上扩展的字段,由插件层自读(`tf runtime config --get <key>`)。
|
|
91
|
+
|
|
92
|
+
### v0.3 三条专家评审修正(已采纳)
|
|
93
|
+
- **修正 A(§15.4)**:明确上述扩展字段非原生 schema,需实测 `tf runtime config --get prototype.designSystem` 是否真能读。
|
|
94
|
+
- **修正 B(§11)**:`arch-merge` → `prototype-sync` **顺序提交**(同一 change closing 内)。
|
|
95
|
+
- **修正 C(§15.3)**:原型膨胀防控(components/ 复用 design-system,禁内联漂移)+ 分支约定(原型随 PRD 当前版本分支维护)。
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 4. 在 Claude Code 中安装 / 继续开发
|
|
100
|
+
|
|
101
|
+
### 4.1 本地安装(开发态)
|
|
102
|
+
```bash
|
|
103
|
+
# 进入 team-flow 目录,用 Claude Code 加载为插件
|
|
104
|
+
cd team-flow
|
|
105
|
+
claude # 启动 Claude Code
|
|
106
|
+
/plugin add /absolute/path/to/team-flow # 本地路径安装
|
|
107
|
+
# 或从仓库
|
|
108
|
+
git clone <your-repo> && cd team-flow && claude
|
|
109
|
+
/plugin add ./team-flow
|
|
110
|
+
```
|
|
111
|
+
> Claude Code 实际读取 `.claude-plugin/plugin.json`(已统一为 team-flow)。安装后自动加载 `hooks/hooks.json`,新会话注入上下文。
|
|
112
|
+
|
|
113
|
+
### 4.2 项目级配置注入
|
|
114
|
+
项目根 `team-flow.config.json`(注意:文件名仍沿用 team-flow,因为 `tf` 运行时只读此名,见 §6):
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"artifacts": { "order": ["proposal","specs","design","tasks"], "skip": [] },
|
|
118
|
+
"prd": { "template": ".team-flow/prd.template.md" },
|
|
119
|
+
"prototype": {
|
|
120
|
+
"designSystem": "prototype/design-system.md",
|
|
121
|
+
"entry": "prototype/index.html"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
```
|
|
125
|
+
读取:`tf runtime config --get prototype.designSystem`(插件层自读,字段命名避开原生 key 冲突)。
|
|
126
|
+
|
|
127
|
+
### 4.3 初始化本地原型(首次)
|
|
128
|
+
```bash
|
|
129
|
+
cp -r skills/prototype/references/prototype-scaffold/ <project>/prototype/
|
|
130
|
+
# 随后按 prototype/design-system.md 填 token;prototype/ 与 prd/ 同级、git 分支隔离版本
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### 4.4 开发与验证命令
|
|
134
|
+
```bash
|
|
135
|
+
npm install
|
|
136
|
+
npm run build # tsc 编译 src/ → dist/
|
|
137
|
+
npm test # node --test 集成测试
|
|
138
|
+
npm run validate # 校验 artifacts(用 docs/examples 数据)
|
|
139
|
+
npm run check-versions # 版本一致性守卫(当前应 ✅ 全 0.10.0)
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## 5. 关键机制与 SOP
|
|
145
|
+
|
|
146
|
+
### 5.1 全局产物结构(Discoverability:设计/开发前先检索)
|
|
147
|
+
```
|
|
148
|
+
prd/ PRD(有版本 v1→v2→v3,git 分支隔离)
|
|
149
|
+
prototype/ 全局原型系统(UI 契约真相源):index.html / pages / components / assets / design-system.md / flow.md
|
|
150
|
+
docs/architecture/ 全局架构锚点:ARCHITECTURE.md / DATABASE.md / <bc>/(限界上下文目录)
|
|
151
|
+
specs/<cap>/ 每变更设计/任务/契约:spec.md / design.md / tasks.md / execution-contract.md / architecture.md / database.md / api.md
|
|
152
|
+
STRATEGY.md CONCEPTS.md 产品策略(BA) / 领域词汇
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### 5.2 标准工作流(SOP)
|
|
156
|
+
```
|
|
157
|
+
模糊需求
|
|
158
|
+
→ [ce-brainstorm → ce-plan 就地 enrich] → prd/vN
|
|
159
|
+
→ 拆 change(一份 PRD 可拆多 change)
|
|
160
|
+
→ team-flow: exploring → … → closing
|
|
161
|
+
每 change:引用全局 prototype/ 作 UI 契约(进 execution-contract.md)
|
|
162
|
+
architecture-design 增量(As-Is 冻结 → To-Be → 复利回写)
|
|
163
|
+
api.md 经 execution-contract.md 被 build-executor 硬消费
|
|
164
|
+
→ change 完成:arch-merge → prototype-sync(顺序提交)复利回写全局
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### 5.3 关键约束
|
|
168
|
+
- **原型全局一份**、与 PRD 同级、git 分支隔离版本;change 不直接拥有原型文件(引用全局 `prototype/` 作 UI 契约)。
|
|
169
|
+
- **design.md 不可变**:架构增量经 `arch-merge` 回写全局 `ARCHITECTURE.md`,不就地改 change 的 design.md。
|
|
170
|
+
- **顺序提交**:`arch-merge` → `prototype-sync`(同一 change closing 内),避免全局文档半更新态。
|
|
171
|
+
- **膨胀防控**:`prototype/components/` 必须复用 `design-system.md`,禁止页面内联样式漂移;新增组件先沉淀进 design-system 再引用。
|
|
172
|
+
- **分支约定**:原型随 PRD 当前版本分支维护;change 引用其所在 PRD 版本分支的 `prototype/`。
|
|
173
|
+
|
|
174
|
+
### 5.4 team-flow 8 态状态机
|
|
175
|
+
`exploring → specifying → bridging → approved-for-build → executing → closing`(另有 `onboarding` / `archived`)。
|
|
176
|
+
`workflow-start` 做内容级状态检测与非法跳变拦截;详见 `docs/state-machine.md`。
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 6. 剩余待办 / 已知项(按优先级)
|
|
181
|
+
|
|
182
|
+
### P0 —— 不影响安装,但建议尽快收口
|
|
183
|
+
- [ ] **品牌重命名残留**(当前仅 manifest 的 `name` 改了,以下仍写 `team-flow`):
|
|
184
|
+
- `package.json` 的 `"name": "team-flow"`(npm 包名;bin 暴露 `tf` 与 `team-flow`)。建议保留 bin `tf`,包名可改 `team-flow`。
|
|
185
|
+
- `GEMINI.md` 第 1/3/5 行、`llms.txt` 第 1/3-5 行、`.claude/always/phase-guard.md` 第 1 行头部 `# team-flow v0.10.0 |`(**注意**:`check-version-consistency.mjs` 的 GEMINI/phase-guard 版本正则硬编码了 `team-flow`,若改头部须同步改该脚本的正则,否则一致性检查会失败)。
|
|
186
|
+
- `INSTALL.md` 的 marketplace 命令 `MageByte-Zero/team-flow`、`/plugin install team-flow@team-flow`(第 44-45、53 行等)—— 要发布到 Claude Code marketplace 前必须替换。
|
|
187
|
+
- 各 team-flow skill 内 `npx --yes --package @xulthekl/team-flow@0.10.0 tf`(由 `check-version-consistency.mjs` 的 RUNTIME_FILES 校验,必须保持 `team-flow@0.10.0` 直到 team-flow 发布到 npm)。
|
|
188
|
+
- [ ] **实测 v0.3 修正 A**:验证 `tf runtime config --get prototype.designSystem` 真能读到扩展字段(当前未跑,是设计假设)。
|
|
189
|
+
|
|
190
|
+
### P1 —— 质量与发布
|
|
191
|
+
- [ ] 跑通 `npm test` 与 `npm run validate`(开发期尚未执行,确认底座未因复制/改名损坏)。
|
|
192
|
+
- [ ] 验证 17 个 skill 被 Claude Code 与各宿主正确发现加载(`.claude-plugin/plugin.json` 的 `skills: "./skills/"` 路径)。
|
|
193
|
+
- [ ] 更新 `CHANGELOG.md`(当前仍为 team-flow 历史)。
|
|
194
|
+
- [ ] 补一张团队 flow 图(可选)。
|
|
195
|
+
|
|
196
|
+
### P2 —— 语义与发布决策
|
|
197
|
+
- [ ] **版本语义**:当前 0.10.0 对齐 base。要 bump 到 team-flow 自有 semver(如 0.1.0)时,须:① `npm run version <x.y.z>`(会跑 `tf version` + `check-version-consistency` + 改所有 manifest + 文本戳);② 同步改 README/INSTALL/`docs/README_en.md`/`hooks/session-start`/`llms.txt`/GEMINI.md/phase-guard.md 里的版本戳;③ 把 `npx team-flow@` 改 `npx team-flow@`(需先 `npm publish`)。
|
|
198
|
+
- [ ] **注册到平台**:`ima_skill_create` 仅注册单个 skill(非插件);team-flow 作为 plugin.json 插件通过宿主 `/plugin add` 安装,不通过 ima 平台注册。不要在未明需求时调用 `ima_skill_create`。
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## 7. 继续开发的最小路径(Claude Code)
|
|
203
|
+
|
|
204
|
+
1. 打开 `team-flow/` 目录启动 Claude Code。
|
|
205
|
+
2. `/plugin add ./`(或绝对路径)加载插件;新会话会注入 `AGENTS.md` + `GEMINI.md` 上下文。
|
|
206
|
+
3. 读 `HANDOFF.md` + `docs/architecture-api-db-design-enhancement-v0.3.md` 建立全局认知。
|
|
207
|
+
4. 想改能力 → 改 `skills/<name>/SKILL.md`(或 `references/`);想改运行时 → 改 `src/` 后 `npm run build`。
|
|
208
|
+
5. 改完跑 `npm run check-versions` 与 `npm test` 守门。
|
|
209
|
+
6. 按 §6 清单逐项收口品牌与验证。
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## 8. 交付物清单(本次 workspace)
|
|
214
|
+
|
|
215
|
+
- `team-flow/` —— 统一插件工程(本 handoff 的载体)。
|
|
216
|
+
- `architecture-api-db-design-enhancement-v0.3.md` / `prototype-design-research.md` —— 权威设计文档(已复制进 `team-flow/docs/`)。
|
|
217
|
+
- `team-flow/`、`compound-engineering/`、`team-flow-main/`、`compound-engineering-plugin-main/` —— 上游源工程(参考/溯源用)。
|
|
218
|
+
- `ce.zip` / `team-flow.zip` —— 上游源 zip(溯源用)。
|
|
219
|
+
- `skills/architecture-design/`、`architecture-design-source/` —— 蒸馏源(已并入 team-flow/skills/architecture-design)。
|