universal-dev-standards 4.2.0 → 5.0.0-beta.10
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/README.md +3 -3
- package/bin/uds.js +165 -5
- package/bundled/core/acceptance-test-driven-development.md +19 -721
- package/bundled/core/accessibility-standards.md +862 -0
- package/bundled/core/ai-agreement-standards.md +95 -0
- package/bundled/core/ai-friendly-architecture.md +2 -0
- package/bundled/core/ai-instruction-standards.md +2 -0
- package/bundled/core/anti-hallucination.md +90 -637
- package/bundled/core/behavior-driven-development.md +20 -735
- package/bundled/core/changelog-standards.md +4 -0
- package/bundled/core/checkin-standards.md +21 -4
- package/bundled/core/code-review-checklist.md +3 -0
- package/bundled/core/commit-message-guide.md +14 -3
- package/bundled/core/deployment-standards.md +296 -0
- package/bundled/core/developer-memory.md +568 -0
- package/bundled/core/documentation-structure.md +114 -18
- package/bundled/core/documentation-writing-standards.md +272 -2
- package/bundled/core/error-code-standards.md +3 -0
- package/bundled/core/forward-derivation-standards.md +134 -8
- package/bundled/core/git-workflow.md +72 -686
- package/bundled/core/guides/anti-hallucination-guide.md +517 -0
- package/bundled/core/guides/git-workflow-guide.md +954 -0
- package/bundled/core/guides/performance-guide.md +508 -0
- package/bundled/core/guides/refactoring-guide.md +608 -0
- package/bundled/core/guides/security-guide.md +485 -0
- package/bundled/core/logging-standards.md +337 -2
- package/bundled/core/performance-standards.md +231 -0
- package/bundled/core/project-context-memory.md +180 -0
- package/bundled/core/project-structure.md +315 -2
- package/bundled/core/refactoring-standards.md +81 -761
- package/bundled/core/requirement-engineering.md +39 -0
- package/bundled/core/reverse-engineering-standards.md +6 -4
- package/bundled/core/security-standards.md +244 -0
- package/bundled/core/spec-driven-development.md +20 -319
- package/bundled/core/test-completeness-dimensions.md +213 -11
- package/bundled/core/test-driven-development.md +22 -978
- package/bundled/core/testing-standards.md +222 -2903
- package/bundled/core/versioning.md +16 -55
- package/bundled/core/virtual-organization-standards.md +85 -0
- package/bundled/locales/README.md +4 -4
- package/bundled/locales/zh-CN/CHANGELOG.md +18 -18
- package/bundled/locales/zh-CN/CLAUDE.md +3 -3
- package/bundled/locales/zh-CN/MAINTENANCE.md +7 -7
- package/bundled/locales/zh-CN/README.md +2 -2
- package/bundled/locales/zh-CN/STANDARDS-MAPPING.md +1 -1
- package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +3 -3
- package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
- package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
- package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +5 -5
- package/bundled/locales/zh-CN/adoption/checklists/minimal.md +4 -4
- package/bundled/locales/zh-CN/adoption/checklists/recommended.md +5 -5
- package/bundled/locales/zh-CN/ai/MAINTENANCE.md +13 -13
- package/bundled/locales/zh-CN/core/ai-instruction-standards.md +1 -1
- package/bundled/locales/zh-CN/core/anti-hallucination.md +39 -3
- package/bundled/locales/zh-CN/core/checkin-standards.md +18 -5
- package/bundled/locales/zh-CN/core/commit-message-guide.md +1 -1
- package/bundled/locales/zh-CN/core/developer-memory.md +576 -0
- package/bundled/locales/zh-CN/core/documentation-structure.md +43 -5
- package/bundled/locales/zh-CN/core/documentation-writing-standards.md +146 -5
- package/bundled/locales/zh-CN/core/git-workflow.md +179 -4
- package/bundled/locales/zh-CN/core/logging-standards.md +177 -4
- package/bundled/locales/zh-CN/core/project-structure.md +117 -5
- package/bundled/locales/zh-CN/core/refactoring-standards.md +3 -3
- package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +6 -6
- package/bundled/locales/zh-CN/core/spec-driven-development.md +516 -14
- package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +155 -24
- package/bundled/locales/zh-CN/core/test-driven-development.md +71 -20
- package/bundled/locales/zh-CN/core/testing-standards.md +4 -4
- package/bundled/locales/zh-CN/core/versioning.md +1 -1
- package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +90 -51
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +184 -0
- package/bundled/locales/zh-CN/docs/CLI-FLOW.md +239 -0
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +320 -0
- package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +43 -43
- package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +440 -0
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +1 -1
- package/bundled/locales/zh-CN/docs/WINDOWS-GUIDE.md +1 -1
- package/bundled/locales/zh-CN/integrations/codex/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/github-copilot/README.md +5 -5
- package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +9 -9
- package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +18 -6
- package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +2 -2
- package/bundled/locales/zh-CN/integrations/opencode/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +22 -10
- package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
- package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +3 -3
- package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/bilingual.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/english.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +1 -1
- package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/dotnet.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/go.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/java.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/nodejs.md +1 -1
- package/bundled/locales/zh-CN/options/project-structure/python.md +1 -1
- package/bundled/locales/zh-CN/options/testing/e2e-testing.md +1 -1
- package/bundled/locales/zh-CN/options/testing/integration-testing.md +1 -1
- package/bundled/locales/zh-CN/options/testing/system-testing.md +1 -1
- package/bundled/locales/zh-CN/options/testing/unit-testing.md +1 -1
- package/bundled/locales/zh-CN/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
- package/bundled/locales/zh-CN/skills/README.md +131 -81
- package/bundled/locales/zh-CN/skills/agents/README.md +281 -0
- package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +10 -10
- package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
- package/bundled/locales/zh-CN/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
- package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +221 -0
- package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +214 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +71 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +484 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/guide.md +368 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +68 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +406 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +454 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +324 -0
- package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +64 -0
- package/bundled/locales/zh-CN/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
- package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-CN/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
- package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +5 -6
- package/bundled/locales/zh-CN/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/bdd.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/methodology.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/commands → commands}/refactor.md +3 -3
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +61 -0
- package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
- package/bundled/locales/zh-CN/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
- package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +59 -0
- package/bundled/locales/zh-CN/skills/docs-generator/guide.md +262 -0
- package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
- package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +62 -0
- package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +130 -0
- package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +78 -0
- package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
- package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +66 -0
- package/bundled/locales/zh-CN/skills/project-discovery/guide.md +371 -0
- package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
- package/bundled/locales/zh-CN/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
- package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
- package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +64 -0
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +5 -6
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/release-workflow.md +7 -7
- package/bundled/locales/zh-CN/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
- package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +4 -5
- package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +67 -0
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
- package/bundled/locales/zh-CN/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +75 -0
- package/bundled/locales/zh-CN/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +10 -11
- package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +66 -0
- package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +12 -16
- package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
- package/bundled/locales/zh-CN/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
- package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +65 -0
- package/bundled/locales/zh-CN/skills/test-coverage-assistant/guide.md +284 -0
- package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +8 -8
- package/bundled/locales/zh-CN/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
- package/bundled/locales/zh-CN/skills/{cline → tools/cline}/README.md +1 -1
- package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/README.md +1 -1
- package/bundled/locales/zh-CN/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
- package/bundled/locales/zh-CN/skills/{cursor → tools/cursor}/README.md +1 -1
- package/bundled/locales/zh-CN/skills/{windsurf → tools/windsurf}/README.md +1 -1
- package/bundled/locales/zh-TW/CHANGELOG.md +16 -16
- package/bundled/locales/zh-TW/CLAUDE.md +3 -3
- package/bundled/locales/zh-TW/MAINTENANCE.md +7 -7
- package/bundled/locales/zh-TW/README.md +13 -7
- package/bundled/locales/zh-TW/STANDARDS-MAPPING.md +1 -1
- package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +4 -4
- package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +66 -7
- package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +22 -22
- package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +5 -5
- package/bundled/locales/zh-TW/adoption/checklists/minimal.md +4 -4
- package/bundled/locales/zh-TW/adoption/checklists/recommended.md +5 -5
- package/bundled/locales/zh-TW/ai/MAINTENANCE.md +13 -13
- package/bundled/locales/zh-TW/ai/standards/anti-hallucination.ai.yaml +3 -2
- package/bundled/locales/zh-TW/ai/standards/git-workflow.ai.yaml +4 -3
- package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +3 -3
- package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +1 -0
- package/bundled/locales/zh-TW/core/ai-instruction-standards.md +1 -1
- package/bundled/locales/zh-TW/core/anti-hallucination.md +38 -701
- package/bundled/locales/zh-TW/core/changelog-standards.md +1 -1
- package/bundled/locales/zh-TW/core/checkin-standards.md +18 -5
- package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-TW/core/commit-message-guide.md +1 -1
- package/bundled/locales/zh-TW/core/developer-memory.md +576 -0
- package/bundled/locales/zh-TW/core/documentation-structure.md +115 -22
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +126 -5
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +2 -2
- package/bundled/locales/zh-TW/core/git-workflow.md +38 -812
- package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +779 -0
- package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +1016 -0
- package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +864 -0
- package/bundled/locales/zh-TW/core/guides/testing-guide.md +2280 -0
- package/bundled/locales/zh-TW/core/logging-standards.md +159 -4
- package/bundled/locales/zh-TW/core/project-structure.md +102 -9
- package/bundled/locales/zh-TW/core/refactoring-standards.md +37 -823
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +6 -6
- package/bundled/locales/zh-TW/core/spec-driven-development.md +17 -268
- package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +128 -14
- package/bundled/locales/zh-TW/core/test-driven-development.md +20 -983
- package/bundled/locales/zh-TW/core/testing-standards.md +120 -2105
- package/bundled/locales/zh-TW/core/versioning.md +13 -55
- package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +90 -51
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +184 -0
- package/bundled/locales/zh-TW/docs/CLI-FLOW.md +239 -0
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +320 -0
- package/bundled/locales/zh-TW/docs/MIGRATION-V5.md +71 -0
- package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +42 -42
- package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +440 -0
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +1 -1
- package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
- package/bundled/locales/zh-TW/integrations/claude-code/README.md +44 -0
- package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +3 -3
- package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +18 -6
- package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +22 -10
- package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +338 -0
- package/bundled/locales/zh-TW/methodologies/guides/tdd-guide.md +1055 -0
- package/bundled/locales/zh-TW/options/commit-message/bilingual.md +1 -1
- package/bundled/locales/zh-TW/options/commit-message/english.md +1 -1
- package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +1 -1
- package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/dotnet.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/go.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/java.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/nodejs.md +1 -1
- package/bundled/locales/zh-TW/options/project-structure/python.md +1 -1
- package/bundled/locales/zh-TW/options/testing/e2e-testing.md +1 -1
- package/bundled/locales/zh-TW/options/testing/integration-testing.md +1 -1
- package/bundled/locales/zh-TW/options/testing/system-testing.md +1 -1
- package/bundled/locales/zh-TW/options/testing/unit-testing.md +1 -1
- package/bundled/locales/zh-TW/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +2 -2
- package/bundled/locales/zh-TW/skills/README.md +131 -79
- package/bundled/locales/zh-TW/skills/agents/README.md +281 -0
- package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +7 -7
- package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +8 -8
- package/bundled/locales/zh-TW/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +8 -8
- package/bundled/locales/zh-TW/skills/ai-friendly-architecture/SKILL.md +221 -0
- package/bundled/locales/zh-TW/skills/ai-instruction-standards/SKILL.md +214 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +71 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +428 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +484 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +368 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +68 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +406 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +454 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +324 -0
- package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +64 -0
- package/bundled/locales/zh-TW/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +6 -7
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-TW/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -7
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +56 -0
- package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +2 -3
- package/bundled/locales/zh-TW/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/bdd.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/methodology.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/commands → commands}/refactor.md +3 -3
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +61 -0
- package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +5 -6
- package/bundled/locales/zh-TW/skills/{claude-code/commit-standards → commit-standards}/language-options.md +3 -3
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +59 -0
- package/bundled/locales/zh-TW/skills/docs-generator/guide.md +262 -0
- package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -8
- package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +62 -0
- package/bundled/locales/zh-TW/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +24 -19
- package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +78 -0
- package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/methodology-system → methodology-system}/runtime.md +3 -3
- package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +66 -0
- package/bundled/locales/zh-TW/skills/project-discovery/guide.md +371 -0
- package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +574 -0
- package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +4 -4
- package/bundled/locales/zh-TW/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +1 -1
- package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-TW/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -8
- package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +64 -0
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/changelog-format.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +2 -3
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/release-workflow.md +60 -28
- package/bundled/locales/zh-TW/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +3 -3
- package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +67 -0
- package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +2 -3
- package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +3 -3
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +67 -0
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +17 -18
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +2 -2
- package/bundled/locales/zh-TW/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +3 -3
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +75 -0
- package/bundled/locales/zh-TW/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +9 -10
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +66 -0
- package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +9 -10
- package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
- package/bundled/locales/zh-TW/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +3 -3
- package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +65 -0
- package/bundled/locales/zh-TW/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +27 -24
- package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +6 -6
- package/bundled/locales/zh-TW/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +4 -4
- package/bundled/locales/zh-TW/skills/{cline → tools/cline}/README.md +1 -1
- package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/README.md +1 -1
- package/bundled/locales/zh-TW/skills/{copilot → tools/copilot}/copilot-instructions.md +1 -1
- package/bundled/locales/zh-TW/skills/{cursor → tools/cursor}/README.md +1 -1
- package/bundled/locales/zh-TW/skills/{windsurf → tools/windsurf}/README.md +1 -1
- package/bundled/skills/INTEGRATION-GUIDE.md +210 -0
- package/bundled/skills/README.md +95 -0
- package/bundled/skills/_shared/README.md +60 -0
- package/bundled/skills/{claude-code/agents → agents}/README.md +2 -2
- package/bundled/skills/{claude-code/agents → agents}/code-architect.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/doc-writer.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/reviewer.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/spec-analyst.md +1 -1
- package/bundled/skills/{claude-code/agents → agents}/test-specialist.md +1 -1
- package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/SKILL.md +28 -5
- package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/anti-hallucination.md +24 -5
- package/bundled/skills/{claude-code/ai-collaboration-standards → ai-collaboration-standards}/certainty-labels.md +31 -6
- package/bundled/skills/ai-friendly-architecture/SKILL.md +216 -0
- package/bundled/skills/ai-instruction-standards/SKILL.md +209 -0
- package/bundled/skills/atdd-assistant/SKILL.md +74 -0
- package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/acceptance-criteria-guide.md +1 -1
- package/bundled/skills/{claude-code/atdd-assistant → atdd-assistant}/atdd-workflow.md +1 -1
- package/bundled/skills/{claude-code/atdd-assistant/SKILL.md → atdd-assistant/guide.md} +11 -11
- package/bundled/skills/bdd-assistant/SKILL.md +70 -0
- package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/bdd-workflow.md +1 -1
- package/bundled/skills/{claude-code/bdd-assistant → bdd-assistant}/gherkin-guide.md +1 -1
- package/bundled/skills/{claude-code/bdd-assistant/SKILL.md → bdd-assistant/guide.md} +11 -11
- package/bundled/skills/changelog-guide/SKILL.md +66 -0
- package/bundled/skills/{claude-code/changelog-guide/SKILL.md → changelog-guide/guide.md} +8 -6
- package/bundled/skills/checkin-assistant/SKILL.md +52 -0
- package/bundled/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md} +6 -6
- package/bundled/skills/code-review-assistant/SKILL.md +53 -0
- package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/checkin-checklist.md +3 -3
- package/bundled/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md} +7 -5
- package/bundled/skills/{claude-code/code-review-assistant → code-review-assistant}/review-checklist.md +3 -3
- package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +290 -0
- package/bundled/skills/{claude-code/commands → commands}/README.md +13 -3
- package/bundled/skills/{claude-code/commands → commands}/atdd.md +3 -3
- package/bundled/skills/{claude-code/commands → commands}/bdd.md +2 -2
- package/bundled/skills/commands/changelog.md +58 -0
- package/bundled/skills/{claude-code/commands → commands}/check.md +1 -1
- package/bundled/skills/commands/checkin.md +53 -0
- package/bundled/skills/{claude-code/commands → commands}/commit.md +3 -3
- package/bundled/skills/{claude-code/commands → commands}/config.md +1 -1
- package/bundled/skills/{claude-code/commands → commands}/coverage.md +5 -4
- package/bundled/skills/commands/derive-all.md +53 -0
- package/bundled/skills/commands/derive-atdd.md +49 -0
- package/bundled/skills/commands/derive-bdd.md +47 -0
- package/bundled/skills/commands/derive-tdd.md +48 -0
- package/bundled/skills/commands/derive.md +72 -0
- package/bundled/skills/commands/discover.md +80 -0
- package/bundled/skills/commands/docgen.md +61 -0
- package/bundled/skills/commands/docs.md +59 -0
- package/bundled/skills/commands/guide.md +44 -0
- package/bundled/skills/{claude-code/commands → commands}/init.md +2 -2
- package/bundled/skills/{claude-code/commands → commands}/methodology.md +32 -16
- package/bundled/skills/{claude-code/commands → commands}/refactor.md +2 -2
- package/bundled/skills/commands/release.md +56 -0
- package/bundled/skills/{claude-code/commands → commands}/requirement.md +3 -3
- package/bundled/skills/commands/reverse-bdd.md +47 -0
- package/bundled/skills/commands/reverse-sdd.md +51 -0
- package/bundled/skills/commands/reverse-tdd.md +51 -0
- package/bundled/skills/commands/reverse.md +63 -0
- package/bundled/skills/{claude-code/commands → commands}/review.md +3 -3
- package/bundled/skills/commands/sdd.md +135 -0
- package/bundled/skills/{claude-code/commands → commands}/tdd.md +3 -3
- package/bundled/skills/{claude-code/commands → commands}/update.md +2 -2
- package/bundled/skills/commit-standards/SKILL.md +60 -0
- package/bundled/skills/{claude-code/commit-standards → commit-standards}/conventional-commits.md +3 -3
- package/bundled/skills/{claude-code/commit-standards/SKILL.md → commit-standards/guide.md} +17 -5
- package/bundled/skills/{claude-code/commit-standards → commit-standards}/language-options.md +2 -2
- package/bundled/skills/docs-generator/SKILL.md +69 -0
- package/bundled/skills/docs-generator/guide.md +258 -0
- package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/SKILL.md +7 -7
- package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/documentation-structure.md +3 -3
- package/bundled/skills/{claude-code/documentation-guide → documentation-guide}/readme-template.md +2 -2
- package/bundled/skills/{claude-code/error-code-guide → error-code-guide}/SKILL.md +7 -5
- package/bundled/skills/forward-derivation/SKILL.md +61 -0
- package/bundled/skills/{claude-code/forward-derivation/SKILL.md → forward-derivation/guide.md} +44 -29
- package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/SKILL.md +7 -5
- package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/branch-naming.md +2 -2
- package/bundled/skills/{claude-code/git-workflow-guide → git-workflow-guide}/git-workflow.md +3 -3
- package/bundled/skills/{claude-code/logging-guide → logging-guide}/SKILL.md +7 -5
- package/bundled/skills/methodology-system/SKILL.md +75 -0
- package/bundled/skills/{claude-code/methodology-system → methodology-system}/create-methodology.md +1 -1
- package/bundled/skills/{claude-code/methodology-system/SKILL.md → methodology-system/guide.md} +51 -16
- package/bundled/skills/methodology-system/integrated-flow.md +454 -0
- package/bundled/skills/{claude-code/methodology-system → methodology-system}/runtime.md +2 -2
- package/bundled/skills/project-discovery/SKILL.md +63 -0
- package/bundled/skills/project-discovery/guide.md +367 -0
- package/bundled/skills/project-discovery/workflow.md +566 -0
- package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/SKILL.md +14 -4
- package/bundled/skills/refactoring-assistant/SKILL.md +78 -0
- package/bundled/skills/{claude-code/refactoring-assistant/SKILL.md → refactoring-assistant/guide.md} +7 -7
- package/bundled/skills/release-standards/SKILL.md +61 -0
- package/bundled/skills/{claude-code/release-standards → release-standards}/changelog-format.md +2 -2
- package/bundled/skills/{claude-code/release-standards/SKILL.md → release-standards/guide.md} +7 -5
- package/bundled/skills/{claude-code/release-standards → release-standards}/release-workflow.md +59 -24
- package/bundled/skills/{claude-code/release-standards → release-standards}/semantic-versioning.md +2 -2
- package/bundled/skills/requirement-assistant/SKILL.md +66 -0
- package/bundled/skills/{claude-code/requirement-assistant/SKILL.md → requirement-assistant/guide.md} +14 -6
- package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-checklist.md +2 -2
- package/bundled/skills/{claude-code/requirement-assistant → requirement-assistant}/requirement-writing.md +2 -2
- package/bundled/skills/reverse-engineer/SKILL.md +64 -0
- package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/bdd-extraction.md +1 -1
- package/bundled/skills/{claude-code/reverse-engineer/SKILL.md → reverse-engineer/guide.md} +21 -18
- package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/tdd-analysis.md +1 -1
- package/bundled/skills/{claude-code/reverse-engineer → reverse-engineer}/workflow.md +2 -2
- package/bundled/skills/spec-driven-dev/SKILL.md +80 -0
- package/bundled/skills/{claude-code/spec-driven-dev/SKILL.md → spec-driven-dev/guide.md} +50 -8
- package/bundled/skills/tdd-assistant/SKILL.md +65 -0
- package/bundled/skills/{claude-code/tdd-assistant/SKILL.md → tdd-assistant/guide.md} +10 -10
- package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/language-examples.md +3 -3
- package/bundled/skills/{claude-code/tdd-assistant → tdd-assistant}/tdd-workflow.md +2 -2
- package/bundled/skills/test-coverage-assistant/SKILL.md +63 -0
- package/bundled/skills/{claude-code/test-coverage-assistant/SKILL.md → test-coverage-assistant/guide.md} +39 -24
- package/bundled/skills/{claude-code/testing-guide → testing-guide}/SKILL.md +12 -7
- package/bundled/skills/{claude-code/testing-guide → testing-guide}/testing-pyramid.md +3 -3
- package/bundled/skills/testing-guide/testing-theory.md +2291 -0
- package/bundled/skills/tools/cline/.clinerules +79 -0
- package/bundled/skills/tools/cline/README.md +50 -0
- package/bundled/skills/tools/copilot/README.md +99 -0
- package/bundled/skills/tools/copilot/copilot-instructions.md +71 -0
- package/bundled/skills/tools/cursor/.cursorrules +101 -0
- package/bundled/skills/tools/cursor/README.md +50 -0
- package/bundled/skills/tools/windsurf/.windsurfrules +76 -0
- package/bundled/skills/tools/windsurf/README.md +51 -0
- package/bundled/skills/{claude-code/workflows → workflows}/README.md +1 -1
- package/bundled/skills/workflows/release.workflow.yaml +893 -0
- package/package.json +4 -1
- package/src/commands/check.js +195 -130
- package/src/commands/config.js +1262 -0
- package/src/commands/configure.js +3 -950
- package/src/commands/fix.js +53 -0
- package/src/commands/hitl.js +19 -0
- package/src/commands/init.js +320 -1030
- package/src/commands/list.js +1 -1
- package/src/commands/simulate.js +61 -0
- package/src/commands/spec.js +288 -0
- package/src/commands/start.js +373 -0
- package/src/commands/sweep.js +142 -0
- package/src/commands/update.js +136 -19
- package/src/commands/workflow.js +265 -1
- package/src/config/ai-agent-paths.js +89 -29
- package/src/core/constants.js +7 -1
- package/src/core/manifest.js +1 -0
- package/src/flows/init-flow.js +243 -0
- package/src/hitl/checkpoint.js +80 -0
- package/src/hitl/classifier.js +54 -0
- package/src/hitl/manager.js +88 -0
- package/src/i18n/messages.js +907 -99
- package/src/index.js +1 -0
- package/src/installers/integration-installer.js +237 -0
- package/src/installers/manifest-installer.js +131 -0
- package/src/installers/skills-installer.js +286 -0
- package/src/installers/standards-installer.js +193 -0
- package/src/missions/MissionManager.js +501 -0
- package/src/prompts/init.js +228 -130
- package/src/prompts/integrations.js +13 -1
- package/src/schemas/standard.schema.json +117 -0
- package/src/utils/agents-installer.js +2 -2
- package/src/utils/config-loader.js +47 -0
- package/src/utils/config-manager.js +108 -0
- package/src/utils/config-merger.js +47 -0
- package/src/utils/github.js +22 -18
- package/src/utils/inquirer-patch.js +98 -0
- package/src/utils/integration-generator.js +392 -58
- package/src/utils/reference-sync.js +69 -19
- package/src/utils/skills-installer.js +6 -3
- package/src/utils/standard-fixer.js +141 -0
- package/src/utils/standard-validator.js +329 -0
- package/src/utils/workflow-executor.js +886 -0
- package/src/utils/workflow-state.js +404 -0
- package/src/utils/workflows-installer.js +2 -2
- package/src/vibe/auto-sweep.js +349 -0
- package/src/vibe/micro-spec.js +428 -0
- package/standards-registry.json +278 -102
- package/bundled/locales/zh-CN/skills/claude-code/README.md +0 -174
- package/bundled/locales/zh-CN/skills/claude-code/test-coverage-assistant/SKILL.md +0 -282
- package/bundled/locales/zh-TW/skills/claude-code/README.md +0 -174
- package/bundled/skills/claude-code/README.md +0 -215
- package/bundled/skills/claude-code/commands/changelog.md +0 -57
- package/bundled/skills/claude-code/commands/derive-all.md +0 -214
- package/bundled/skills/claude-code/commands/derive-atdd.md +0 -177
- package/bundled/skills/claude-code/commands/derive-bdd.md +0 -158
- package/bundled/skills/claude-code/commands/derive-tdd.md +0 -259
- package/bundled/skills/claude-code/commands/docs.md +0 -75
- package/bundled/skills/claude-code/commands/release.md +0 -50
- package/bundled/skills/claude-code/commands/reverse-bdd.md +0 -264
- package/bundled/skills/claude-code/commands/reverse-spec.md +0 -185
- package/bundled/skills/claude-code/commands/reverse-tdd.md +0 -351
- package/bundled/skills/claude-code/commands/spec.md +0 -69
- package/bundled/skills/claude-code/methodology-system/integrated-flow.md +0 -322
- /package/bundled/skills/{claude-code/CONTRIBUTING.template.md → CONTRIBUTING.template.md} +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/checkin.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/commit.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/refactoring.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/ai → ai}/standards/testing.ai.yaml +0 -0
- /package/bundled/skills/{claude-code/project-structure-guide → project-structure-guide}/language-patterns.md +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/code-review.workflow.yaml +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/feature-dev.workflow.yaml +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/integrated-flow.workflow.yaml +0 -0
- /package/bundled/skills/{claude-code/workflows → workflows}/large-codebase-analysis.workflow.yaml +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
scope: partial
|
|
3
3
|
description: |
|
|
4
4
|
Guide developers through Behavior-Driven Development workflow.
|
|
5
5
|
Use when: writing BDD scenarios, using Gherkin syntax, Given-When-Then format, feature files, Three Amigos collaboration.
|
|
@@ -8,7 +8,7 @@ description: |
|
|
|
8
8
|
|
|
9
9
|
# BDD Assistant
|
|
10
10
|
|
|
11
|
-
> **Language**: English | [繁體中文](
|
|
11
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/bdd-assistant/SKILL.md)
|
|
12
12
|
|
|
13
13
|
**Version**: 1.0.0
|
|
14
14
|
**Last Updated**: 2026-01-19
|
|
@@ -270,14 +270,14 @@ If no configuration found and context is unclear:
|
|
|
270
270
|
## Detailed Guidelines
|
|
271
271
|
|
|
272
272
|
For complete standards, see:
|
|
273
|
-
- [BDD Core Standard](
|
|
273
|
+
- [BDD Core Standard](../../core/behavior-driven-development.md)
|
|
274
274
|
- [BDD Workflow Guide](./bdd-workflow.md)
|
|
275
275
|
- [Gherkin Quick Reference](./gherkin-guide.md)
|
|
276
276
|
|
|
277
277
|
For related standards:
|
|
278
|
-
- [TDD Standards](
|
|
279
|
-
- [ATDD Standards](
|
|
280
|
-
- [Testing Standards](
|
|
278
|
+
- [TDD Standards](../../core/test-driven-development.md)
|
|
279
|
+
- [ATDD Standards](../../core/acceptance-test-driven-development.md)
|
|
280
|
+
- [Testing Standards](../../core/testing-standards.md)
|
|
281
281
|
|
|
282
282
|
---
|
|
283
283
|
|
|
@@ -295,11 +295,11 @@ For related standards:
|
|
|
295
295
|
|
|
296
296
|
## Related Standards
|
|
297
297
|
|
|
298
|
-
- [Behavior-Driven Development](
|
|
299
|
-
- [Acceptance Test-Driven Development](
|
|
300
|
-
- [Test-Driven Development](
|
|
301
|
-
- [Spec-Driven Development](
|
|
302
|
-
- [Testing Standards](
|
|
298
|
+
- [Behavior-Driven Development](../../core/behavior-driven-development.md) - Core BDD standard
|
|
299
|
+
- [Acceptance Test-Driven Development](../../core/acceptance-test-driven-development.md) - ATDD standard
|
|
300
|
+
- [Test-Driven Development](../../core/test-driven-development.md) - TDD standard
|
|
301
|
+
- [Spec-Driven Development](../../core/spec-driven-development.md) - SDD workflow
|
|
302
|
+
- [Testing Standards](../../core/testing-standards.md) - Testing framework
|
|
303
303
|
- [TDD Assistant](../tdd-assistant/SKILL.md) - TDD skill
|
|
304
304
|
|
|
305
305
|
---
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: changelog
|
|
3
|
+
scope: partial
|
|
4
|
+
description: "[UDS] Generate and maintain CHANGELOG.md entries"
|
|
5
|
+
allowed-tools: Read, Write, Grep, Bash(git log:*)
|
|
6
|
+
disable-model-invocation: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Changelog Assistant | 變更日誌助手
|
|
10
|
+
|
|
11
|
+
Generate and maintain CHANGELOG.md entries following the Keep a Changelog format.
|
|
12
|
+
|
|
13
|
+
根據 Keep a Changelog 格式產生和維護 CHANGELOG.md 條目。
|
|
14
|
+
|
|
15
|
+
## Workflow | 工作流程
|
|
16
|
+
|
|
17
|
+
1. **Analyze git log** - Read commit history since last release using `git log`
|
|
18
|
+
2. **Categorize changes** - Map commits to changelog categories
|
|
19
|
+
3. **Generate entries** - Write user-friendly descriptions for each change
|
|
20
|
+
4. **Update CHANGELOG.md** - Insert entries into the [Unreleased] or versioned section
|
|
21
|
+
|
|
22
|
+
## Change Categories | 變更分類
|
|
23
|
+
|
|
24
|
+
| Category | When to Use | 使用時機 | Commit Types |
|
|
25
|
+
|----------|-------------|---------|-------------|
|
|
26
|
+
| **Added** | New features | 新功能 | `feat` |
|
|
27
|
+
| **Changed** | Modifications to existing features | 修改既有功能 | `perf`, `BREAKING CHANGE` |
|
|
28
|
+
| **Deprecated** | Features to be removed | 即將移除的功能 | -- |
|
|
29
|
+
| **Removed** | Removed features | 已移除的功能 | `BREAKING CHANGE` |
|
|
30
|
+
| **Fixed** | Bug fixes | 錯誤修復 | `fix` |
|
|
31
|
+
| **Security** | Security patches | 安全性修補 | `security` |
|
|
32
|
+
|
|
33
|
+
## Entry Format | 條目格式
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
## [Unreleased]
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
- Add user dashboard with customizable widgets (#123)
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
- **BREAKING**: Change API response format from XML to JSON (#789)
|
|
43
|
+
|
|
44
|
+
### Fixed
|
|
45
|
+
- Fix memory leak when processing large files (#456)
|
|
46
|
+
|
|
47
|
+
### Security
|
|
48
|
+
- Fix SQL injection vulnerability in search endpoint (CVE-2025-12345)
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Writing Guidelines | 撰寫指南
|
|
52
|
+
|
|
53
|
+
- Write for **users**, not developers | 為使用者而非開發者撰寫
|
|
54
|
+
- Focus on **impact**, not implementation | 聚焦影響而非實作
|
|
55
|
+
- Include issue/PR references | 附上 issue/PR 編號
|
|
56
|
+
- Mark breaking changes with **BREAKING** prefix | 用 **BREAKING** 標記破壞性變更
|
|
57
|
+
|
|
58
|
+
## Usage | 使用方式
|
|
59
|
+
|
|
60
|
+
- `/changelog` - Analyze recent commits and generate changelog entries
|
|
61
|
+
- Also available via `/release changelog [version]`
|
|
62
|
+
|
|
63
|
+
## Reference | 參考
|
|
64
|
+
|
|
65
|
+
- Detailed guide: [guide.md](./guide.md)
|
|
66
|
+
- Core standard: [changelog-standards.md](../../core/changelog-standards.md)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
scope: partial
|
|
3
3
|
description: |
|
|
4
4
|
Write and maintain CHANGELOG.md following Keep a Changelog format.
|
|
5
5
|
Use when: creating changelog entries, preparing releases, documenting changes.
|
|
@@ -8,7 +8,7 @@ description: |
|
|
|
8
8
|
|
|
9
9
|
# Changelog Guide
|
|
10
10
|
|
|
11
|
-
> **Language**: English | [繁體中文](
|
|
11
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/changelog-guide/SKILL.md)
|
|
12
12
|
|
|
13
13
|
**Version**: 1.0.0
|
|
14
14
|
**Last Updated**: 2025-12-30
|
|
@@ -16,6 +16,8 @@ description: |
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
> **Core Standard**: This skill implements [Changelog Standards](../../core/changelog-standards.md). For comprehensive methodology documentation, refer to the core standard.
|
|
20
|
+
|
|
19
21
|
## Purpose
|
|
20
22
|
|
|
21
23
|
This skill helps write and maintain CHANGELOG.md files following the Keep a Changelog format, ensuring clear communication of changes to users.
|
|
@@ -101,7 +103,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
101
103
|
## Detailed Guidelines
|
|
102
104
|
|
|
103
105
|
For complete standards, see:
|
|
104
|
-
- [Changelog Standards](
|
|
106
|
+
- [Changelog Standards](../../core/changelog-standards.md)
|
|
105
107
|
|
|
106
108
|
### AI-Optimized Format (Token-Efficient)
|
|
107
109
|
|
|
@@ -210,9 +212,9 @@ If no CHANGELOG.md exists:
|
|
|
210
212
|
|
|
211
213
|
## Related Standards
|
|
212
214
|
|
|
213
|
-
- [Changelog Standards](
|
|
214
|
-
- [Versioning Standard](
|
|
215
|
-
- [Commit Message Guide](
|
|
215
|
+
- [Changelog Standards](../../core/changelog-standards.md)
|
|
216
|
+
- [Versioning Standard](../../core/versioning.md)
|
|
217
|
+
- [Commit Message Guide](../../core/commit-message-guide.md)
|
|
216
218
|
- [Release Standards Skill](../release-standards/SKILL.md)
|
|
217
219
|
|
|
218
220
|
---
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: checkin
|
|
3
|
+
scope: partial
|
|
4
|
+
description: "[UDS] Pre-commit quality gates verification"
|
|
5
|
+
allowed-tools: Read, Grep, Glob, Bash(git diff:*), Bash(git status:*), Bash(npm test:*), Bash(npm run lint:*)
|
|
6
|
+
disable-model-invocation: true
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Check-in Assistant | 簽入助手
|
|
10
|
+
|
|
11
|
+
Verify pre-commit quality gates before committing code to ensure codebase stability.
|
|
12
|
+
|
|
13
|
+
在提交程式碼前驗證品質關卡,確保程式碼庫的穩定性。
|
|
14
|
+
|
|
15
|
+
## Workflow | 工作流程
|
|
16
|
+
|
|
17
|
+
1. **Check git status** - Run `git status` and `git diff` to understand pending changes
|
|
18
|
+
2. **Run tests** - Execute `npm test` (or project test command) to verify all tests pass
|
|
19
|
+
3. **Run linting** - Execute `npm run lint` to check code style compliance
|
|
20
|
+
4. **Verify quality gates** - Check each gate against the checklist below
|
|
21
|
+
5. **Report results** - Present pass/fail summary and recommend next steps
|
|
22
|
+
|
|
23
|
+
## Quality Gates | 品質關卡
|
|
24
|
+
|
|
25
|
+
| Gate | Check | 檢查項目 |
|
|
26
|
+
|------|-------|---------|
|
|
27
|
+
| **Build** | Code compiles with zero errors | 編譯零錯誤 |
|
|
28
|
+
| **Tests** | All existing tests pass (100%) | 所有測試通過 |
|
|
29
|
+
| **Coverage** | Test coverage not decreased | 覆蓋率未下降 |
|
|
30
|
+
| **Code Quality** | Follows coding standards, no code smells | 符合編碼規範 |
|
|
31
|
+
| **Security** | No hardcoded secrets or vulnerabilities | 無硬編碼密鑰 |
|
|
32
|
+
| **Documentation** | API docs and CHANGELOG updated if needed | 文件已更新 |
|
|
33
|
+
| **Workflow** | Branch naming and commit message correct | 分支和提交格式正確 |
|
|
34
|
+
|
|
35
|
+
## Never Commit When | 禁止提交的情況
|
|
36
|
+
|
|
37
|
+
- Build has errors | 建置有錯誤
|
|
38
|
+
- Tests are failing | 測試失敗
|
|
39
|
+
- Feature is incomplete and would break functionality | 功能不完整會破壞現有功能
|
|
40
|
+
- Contains WIP/TODO in critical logic | 關鍵邏輯中有 WIP/TODO
|
|
41
|
+
- Contains debugging code (console.log, print) | 包含除錯程式碼
|
|
42
|
+
- Contains commented-out code blocks | 包含被註解的程式碼區塊
|
|
43
|
+
|
|
44
|
+
## Usage | 使用方式
|
|
45
|
+
|
|
46
|
+
- `/checkin` - Run full quality gate verification on current changes
|
|
47
|
+
- After verification, proceed with `/commit` to create the commit message
|
|
48
|
+
|
|
49
|
+
## Reference | 參考
|
|
50
|
+
|
|
51
|
+
- Detailed guide: [guide.md](./guide.md)
|
|
52
|
+
- Core standard: [checkin-standards.md](../../core/checkin-standards.md)
|
package/bundled/skills/{claude-code/checkin-assistant/SKILL.md → checkin-assistant/guide.md}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
scope: partial
|
|
3
3
|
description: |
|
|
4
4
|
Guide pre-commit quality gates and check-in workflow.
|
|
5
5
|
Use when: committing code, preparing commits, quality gate verification.
|
|
@@ -8,7 +8,7 @@ description: |
|
|
|
8
8
|
|
|
9
9
|
# Checkin Assistant
|
|
10
10
|
|
|
11
|
-
> **Language**: English | [繁體中文](
|
|
11
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/checkin-assistant/SKILL.md)
|
|
12
12
|
|
|
13
13
|
**Version**: 1.0.0
|
|
14
14
|
**Last Updated**: 2026-01-12
|
|
@@ -373,15 +373,15 @@ npm run lint
|
|
|
373
373
|
## Detailed Guidelines
|
|
374
374
|
|
|
375
375
|
For complete standards, see:
|
|
376
|
-
- [Checkin Standards](
|
|
376
|
+
- [Checkin Standards](../../core/checkin-standards.md)
|
|
377
377
|
|
|
378
378
|
---
|
|
379
379
|
|
|
380
380
|
## Related Standards
|
|
381
381
|
|
|
382
|
-
- [Checkin Standards](
|
|
383
|
-
- [Commit Message Guide](
|
|
384
|
-
- [Code Review Checklist](
|
|
382
|
+
- [Checkin Standards](../../core/checkin-standards.md) - Core standard
|
|
383
|
+
- [Commit Message Guide](../../core/commit-message-guide.md) - Message format
|
|
384
|
+
- [Code Review Checklist](../../core/code-review-checklist.md) - PR review
|
|
385
385
|
- [Code Review Assistant](../code-review-assistant/SKILL.md) - Review skill
|
|
386
386
|
- [Commit Standards Skill](../commit-standards/SKILL.md) - Commit message skill
|
|
387
387
|
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review
|
|
3
|
+
scope: universal
|
|
4
|
+
description: "[UDS] Perform systematic code review with checklist"
|
|
5
|
+
allowed-tools: Read, Grep, Glob, Bash(git diff:*), Bash(git log:*), Bash(git show:*)
|
|
6
|
+
argument-hint: "[file path or branch | 檔案路徑或分支名稱]"
|
|
7
|
+
disable-model-invocation: true
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Code Review Assistant | 程式碼審查助手
|
|
11
|
+
|
|
12
|
+
Perform systematic code review using standardized checklists and comment prefixes.
|
|
13
|
+
|
|
14
|
+
執行系統性的程式碼審查,使用標準化的檢查清單和評論前綴。
|
|
15
|
+
|
|
16
|
+
## Workflow | 工作流程
|
|
17
|
+
|
|
18
|
+
1. **Identify changes** - Get diff of files to review via `git diff` or `git show`
|
|
19
|
+
2. **Apply checklist** - Check each review category systematically
|
|
20
|
+
3. **Generate report** - Output findings with standard comment prefixes
|
|
21
|
+
4. **Summarize** - Provide overall assessment and recommended actions
|
|
22
|
+
|
|
23
|
+
## Review Categories | 審查類別
|
|
24
|
+
|
|
25
|
+
1. **Functionality** - Does it work correctly? | 功能是否正確?
|
|
26
|
+
2. **Design** - Is the architecture appropriate? | 架構是否合適?
|
|
27
|
+
3. **Quality** - Is the code clean and maintainable? | 程式碼是否乾淨可維護?
|
|
28
|
+
4. **Readability** - Is it easy to understand? | 是否容易理解?
|
|
29
|
+
5. **Tests** - Is there adequate test coverage? | 測試覆蓋是否足夠?
|
|
30
|
+
6. **Security** - Are there any vulnerabilities? | 是否有安全漏洞?
|
|
31
|
+
7. **Performance** - Is it efficient? | 是否有效率?
|
|
32
|
+
8. **Error Handling** - Are errors handled properly? | 錯誤處理是否妥當?
|
|
33
|
+
|
|
34
|
+
## Comment Prefixes | 評論前綴
|
|
35
|
+
|
|
36
|
+
| Prefix | Meaning | Action | 動作 |
|
|
37
|
+
|--------|---------|--------|------|
|
|
38
|
+
| **BLOCKING** | Must fix before merge | Required | 必須修復 |
|
|
39
|
+
| **IMPORTANT** | Should fix | Recommended | 建議修復 |
|
|
40
|
+
| **SUGGESTION** | Nice-to-have | Optional | 可選改善 |
|
|
41
|
+
| **QUESTION** | Need clarification | Discuss | 需要討論 |
|
|
42
|
+
| **NOTE** | Informational | FYI | 僅供參考 |
|
|
43
|
+
|
|
44
|
+
## Usage | 使用方式
|
|
45
|
+
|
|
46
|
+
- `/review` - Review all changes in current branch
|
|
47
|
+
- `/review src/auth.js` - Review specific file
|
|
48
|
+
- `/review feature/login` - Review specific branch
|
|
49
|
+
|
|
50
|
+
## Reference | 參考
|
|
51
|
+
|
|
52
|
+
- Detailed guide: [guide.md](./guide.md)
|
|
53
|
+
- Core standard: [code-review-checklist.md](../../core/code-review-checklist.md)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pre-Commit Checklist
|
|
2
2
|
|
|
3
|
-
> **Language**: English | [繁體中文](
|
|
3
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/code-review-assistant/checkin-checklist.md)
|
|
4
4
|
|
|
5
5
|
**Version**: 1.0.0
|
|
6
6
|
**Last Updated**: 2025-12-24
|
|
@@ -228,9 +228,9 @@ git commit -m "feat(module-c): add export feature"
|
|
|
228
228
|
|
|
229
229
|
## Related Standards
|
|
230
230
|
|
|
231
|
-
- [Checkin Standards](
|
|
231
|
+
- [Checkin Standards](../../core/checkin-standards.md)
|
|
232
232
|
- [Code Review Checklist](./review-checklist.md)
|
|
233
|
-
- [Commit Message Guide](
|
|
233
|
+
- [Commit Message Guide](../../core/commit-message-guide.md)
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
package/bundled/skills/{claude-code/code-review-assistant/SKILL.md → code-review-assistant/guide.md}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
scope: universal
|
|
3
3
|
description: |
|
|
4
4
|
Systematic code review checklist and pre-commit quality gates for PRs.
|
|
5
5
|
Use when: reviewing pull requests, checking code quality, before committing code.
|
|
@@ -8,7 +8,7 @@ description: |
|
|
|
8
8
|
|
|
9
9
|
# Code Review Assistant
|
|
10
10
|
|
|
11
|
-
> **Language**: English | [繁體中文](
|
|
11
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/code-review-assistant/SKILL.md)
|
|
12
12
|
|
|
13
13
|
**Version**: 1.0.0
|
|
14
14
|
**Last Updated**: 2025-12-24
|
|
@@ -16,6 +16,8 @@ description: |
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
> **Core Standard**: This skill implements [Code Review Checklist](../../core/code-review-checklist.md). For comprehensive methodology documentation, refer to the core standard.
|
|
20
|
+
|
|
19
21
|
## Purpose
|
|
20
22
|
|
|
21
23
|
This skill provides systematic checklists for code review and pre-commit verification.
|
|
@@ -199,9 +201,9 @@ BLOCKING, IMPORTANT, SUGGESTION, QUESTION, NOTE
|
|
|
199
201
|
|
|
200
202
|
## Related Standards
|
|
201
203
|
|
|
202
|
-
- [Code Review Checklist](../../core/code-review-checklist.md)
|
|
203
|
-
- [Checkin Standards](../../core/checkin-standards.md)
|
|
204
|
-
- [Testing Standards](../../core/testing-standards.md)
|
|
204
|
+
- [Code Review Checklist](../../core/code-review-checklist.md) - Core code review standard
|
|
205
|
+
- [Checkin Standards](../../core/checkin-standards.md) - Pre-commit quality gates
|
|
206
|
+
- [Testing Standards](../../core/testing-standards.md) - Testing requirements
|
|
205
207
|
|
|
206
208
|
---
|
|
207
209
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Code Review Checklist
|
|
2
2
|
|
|
3
|
-
> **Language**: English | [繁體中文](
|
|
3
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/code-review-assistant/review-checklist.md)
|
|
4
4
|
|
|
5
5
|
**Version**: 1.0.0
|
|
6
6
|
**Last Updated**: 2025-12-24
|
|
@@ -217,8 +217,8 @@ This document provides a comprehensive checklist for code review to ensure code
|
|
|
217
217
|
|
|
218
218
|
## Related Standards
|
|
219
219
|
|
|
220
|
-
- [Code Review Checklist](
|
|
221
|
-
- [Checkin Standards](
|
|
220
|
+
- [Code Review Checklist](../../core/code-review-checklist.md)
|
|
221
|
+
- [Checkin Standards](../../core/checkin-standards.md)
|
|
222
222
|
- [Pre-Commit Checklist](./checkin-checklist.md)
|
|
223
223
|
|
|
224
224
|
---
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# Command Family Overview | 指令家族總覽
|
|
2
|
+
|
|
3
|
+
**Version**: 1.0.0
|
|
4
|
+
**Last Updated**: 2026-01-25
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Overview | 總覽
|
|
9
|
+
|
|
10
|
+
This document provides a comprehensive guide to the development methodology commands in Universal Development Standards. These commands support two independent methodology systems and an optional collaborative input method.
|
|
11
|
+
|
|
12
|
+
本文件提供 Universal Development Standards 開發方法論指令的完整指南。這些指令支援兩個獨立的方法論系統和一個可選的協作輸入方法。
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Command Architecture | 指令架構
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
20
|
+
│ Command Family Overview │
|
|
21
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
22
|
+
│ │
|
|
23
|
+
│ System A: SDD (AI-Era Methodology) │
|
|
24
|
+
│ ──────────────────────────────────── │
|
|
25
|
+
│ /sdd → Create specification proposal │
|
|
26
|
+
│ /derive-all → Generate BDD + TDD from spec (Forward Derivation) │
|
|
27
|
+
│ /derive-bdd → Generate BDD scenarios only │
|
|
28
|
+
│ /derive-tdd → Generate TDD skeletons only │
|
|
29
|
+
│ │
|
|
30
|
+
│ System B: Double-Loop TDD (Traditional) │
|
|
31
|
+
│ ──────────────────────────────────── │
|
|
32
|
+
│ /bdd → Start BDD outer loop (Discovery → Formulation) │
|
|
33
|
+
│ /tdd → Start TDD inner loop (Red → Green → Refactor) │
|
|
34
|
+
│ │
|
|
35
|
+
│ Optional Input (可選輸入) │
|
|
36
|
+
│ ──────────────────────────────────── │
|
|
37
|
+
│ /atdd → Start ATDD Workshop (Three Amigos collaboration) │
|
|
38
|
+
│ /derive-atdd → Generate ATDD tables (optional output) │
|
|
39
|
+
│ │
|
|
40
|
+
│ Utility (工具) │
|
|
41
|
+
│ ──────────────────────────────────── │
|
|
42
|
+
│ /methodology → Show/switch current methodology │
|
|
43
|
+
│ │
|
|
44
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Command Selection by Scenario | 依情境選擇指令
|
|
50
|
+
|
|
51
|
+
| Scenario / 情境 | Recommended Commands / 推薦指令 |
|
|
52
|
+
|-----------------|-------------------------------|
|
|
53
|
+
| New project with AI assistance | `/sdd` → `/derive-all` → Implement |
|
|
54
|
+
| Greenfield feature development | `/sdd` → `/derive-all` → Implement |
|
|
55
|
+
| Legacy system modification | `/bdd` → `/tdd` cycles |
|
|
56
|
+
| Complex business logic | `/bdd discovery` → `/tdd` |
|
|
57
|
+
| Multiple stakeholders need alignment | `/atdd` → then `/sdd` or `/bdd` |
|
|
58
|
+
| Quick prototype | `/tdd` only |
|
|
59
|
+
| API-first development | `/sdd` → `/derive-all` |
|
|
60
|
+
| Check methodology status | `/methodology` |
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## System A: SDD Commands | 系統 A:SDD 指令
|
|
65
|
+
|
|
66
|
+
SDD (Spec-Driven Development) is optimized for AI-assisted development workflows.
|
|
67
|
+
|
|
68
|
+
SDD(規格驅動開發)針對 AI 輔助開發工作流程進行了優化。
|
|
69
|
+
|
|
70
|
+
### Command Details | 指令詳細
|
|
71
|
+
|
|
72
|
+
| Command | Purpose / 用途 | Input / 輸入 | Output / 輸出 |
|
|
73
|
+
|---------|----------------|--------------|---------------|
|
|
74
|
+
| `/sdd` | Create specification proposal | Requirements description | `SPEC-XXX.md` |
|
|
75
|
+
| `/sdd review` | Review specification | SPEC file | Review comments |
|
|
76
|
+
| `/derive-all` | Full forward derivation | SPEC file | `.feature` + `.test.ts` |
|
|
77
|
+
| `/derive-bdd` | BDD derivation only | SPEC file | `.feature` |
|
|
78
|
+
| `/derive-tdd` | TDD derivation only | SPEC file | `.test.ts` |
|
|
79
|
+
|
|
80
|
+
### Typical SDD Workflow | 典型 SDD 工作流程
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Step 1: Create specification
|
|
84
|
+
/sdd user-authentication
|
|
85
|
+
|
|
86
|
+
# Step 2: Review and approve
|
|
87
|
+
/sdd review specs/SPEC-001.md
|
|
88
|
+
|
|
89
|
+
# Step 3: Derive test structures
|
|
90
|
+
/derive-all specs/SPEC-001.md
|
|
91
|
+
|
|
92
|
+
# Step 4: Implement (with AI assistance or TDD cycles)
|
|
93
|
+
# Fill in [TODO] sections, implement step definitions
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## System B: Double-Loop TDD Commands | 系統 B:雙迴圈 TDD 指令
|
|
99
|
+
|
|
100
|
+
Double-Loop TDD combines BDD (outer loop) with TDD (inner loop) for behavior-driven development.
|
|
101
|
+
|
|
102
|
+
雙迴圈 TDD 將 BDD(外層迴圈)與 TDD(內層迴圈)結合,實現行為驅動開發。
|
|
103
|
+
|
|
104
|
+
### Command Details | 指令詳細
|
|
105
|
+
|
|
106
|
+
| Command | Purpose / 用途 | Phase / 階段 |
|
|
107
|
+
|---------|----------------|--------------|
|
|
108
|
+
| `/bdd` | Start BDD workflow | Discovery → Formulation → Automation |
|
|
109
|
+
| `/bdd discovery` | Discovery phase only | Example Mapping with Three Amigos |
|
|
110
|
+
| `/bdd formulation` | Formulation phase only | Write Gherkin scenarios |
|
|
111
|
+
| `/tdd` | Start TDD workflow | Red → Green → Refactor |
|
|
112
|
+
| `/tdd red` | Enter Red phase | Write failing test |
|
|
113
|
+
| `/tdd green` | Enter Green phase | Implement minimum code |
|
|
114
|
+
| `/tdd refactor` | Enter Refactor phase | Improve code quality |
|
|
115
|
+
|
|
116
|
+
### Typical Double-Loop TDD Workflow | 典型雙迴圈 TDD 工作流程
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
# Step 1: (Optional) ATDD Workshop for stakeholder alignment
|
|
120
|
+
/atdd
|
|
121
|
+
|
|
122
|
+
# Step 2: BDD Discovery - understand behavior
|
|
123
|
+
/bdd discovery
|
|
124
|
+
|
|
125
|
+
# Step 3: BDD Formulation - write Gherkin
|
|
126
|
+
/bdd formulation
|
|
127
|
+
|
|
128
|
+
# Step 4: TDD cycles for implementation
|
|
129
|
+
/tdd red
|
|
130
|
+
/tdd green
|
|
131
|
+
/tdd refactor
|
|
132
|
+
# Repeat for each scenario step
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Optional: ATDD Commands | 可選:ATDD 指令
|
|
138
|
+
|
|
139
|
+
ATDD (Acceptance Test-Driven Development) provides collaborative input methods. It is NOT a mandatory step in either system.
|
|
140
|
+
|
|
141
|
+
ATDD(驗收測試驅動開發)提供協作輸入方法。它**不是**任一系統的必要步驟。
|
|
142
|
+
|
|
143
|
+
### When to Use ATDD | 何時使用 ATDD
|
|
144
|
+
|
|
145
|
+
| Situation / 情境 | Use ATDD? |
|
|
146
|
+
|------------------|-----------|
|
|
147
|
+
| Multiple stakeholders with differing views | ✅ Yes |
|
|
148
|
+
| Complex business rules | ✅ Yes |
|
|
149
|
+
| New domain for the team | ✅ Yes |
|
|
150
|
+
| Solo developer with clear requirements | ❌ No |
|
|
151
|
+
| Technical refactoring | ❌ No |
|
|
152
|
+
| Bug fixes | ❌ No |
|
|
153
|
+
|
|
154
|
+
### ATDD Commands | ATDD 指令
|
|
155
|
+
|
|
156
|
+
| Command | Purpose / 用途 | Output / 輸出 |
|
|
157
|
+
|---------|----------------|---------------|
|
|
158
|
+
| `/atdd` | Start ATDD Workshop | User Story + AC + Out of Scope |
|
|
159
|
+
| `/derive-atdd` | Generate ATDD tables (optional) | `acceptance.md` |
|
|
160
|
+
|
|
161
|
+
> **Note**: BDD scenarios already serve as executable acceptance tests. `/derive-atdd` is only needed for specialized manual testing workflows.
|
|
162
|
+
>
|
|
163
|
+
> **注意**:BDD 場景已是可執行的驗收測試。`/derive-atdd` 僅在需要特殊手動測試工作流程時使用。
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Utility Commands | 工具指令
|
|
168
|
+
|
|
169
|
+
| Command | Purpose / 用途 |
|
|
170
|
+
|---------|----------------|
|
|
171
|
+
| `/methodology` | Show current active methodology |
|
|
172
|
+
| `/methodology sdd` | Switch to SDD workflow |
|
|
173
|
+
| `/methodology double-loop` | Switch to Double-Loop TDD workflow |
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## Workflow Examples | 工作流程範例
|
|
178
|
+
|
|
179
|
+
### Example 1: SDD Complete Flow | 範例 1:SDD 完整流程
|
|
180
|
+
|
|
181
|
+
Best for: New features, AI-assisted development, greenfield projects
|
|
182
|
+
|
|
183
|
+
適用於:新功能、AI 輔助開發、全新專案
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
# Create and review specification
|
|
187
|
+
/sdd user-authentication
|
|
188
|
+
/sdd review specs/SPEC-001.md
|
|
189
|
+
|
|
190
|
+
# Generate all test structures
|
|
191
|
+
/derive-all specs/SPEC-001.md
|
|
192
|
+
|
|
193
|
+
# Output:
|
|
194
|
+
# - features/SPEC-001.feature (BDD scenarios)
|
|
195
|
+
# - tests/SPEC-001.test.ts (TDD skeletons)
|
|
196
|
+
# - DERIVATION-REPORT.md (summary)
|
|
197
|
+
|
|
198
|
+
# Implementation: Fill [TODO], implement code
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Example 2: Double-Loop TDD Flow | 範例 2:雙迴圈 TDD 流程
|
|
202
|
+
|
|
203
|
+
Best for: Legacy systems, complex business logic, team collaboration
|
|
204
|
+
|
|
205
|
+
適用於:遺留系統、複雜業務邏輯、團隊協作
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
# Optional: ATDD Workshop for alignment
|
|
209
|
+
/atdd
|
|
210
|
+
|
|
211
|
+
# BDD Outer Loop
|
|
212
|
+
/bdd discovery # Example Mapping session
|
|
213
|
+
/bdd formulation # Write Gherkin scenarios
|
|
214
|
+
|
|
215
|
+
# For each scenario step:
|
|
216
|
+
/tdd red # Write failing test
|
|
217
|
+
/tdd green # Implement minimum code
|
|
218
|
+
/tdd refactor # Improve quality
|
|
219
|
+
|
|
220
|
+
# Repeat TDD inner loop until scenario passes
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### Example 3: Hybrid Flow | 範例 3:混合流程
|
|
224
|
+
|
|
225
|
+
Best for: When you need spec clarity + TDD discipline
|
|
226
|
+
|
|
227
|
+
適用於:需要規格清晰度 + TDD 紀律時
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
# Start with SDD for specification
|
|
231
|
+
/sdd feature-x
|
|
232
|
+
/derive-all specs/SPEC-001.md
|
|
233
|
+
|
|
234
|
+
# Use TDD for complex implementation logic
|
|
235
|
+
/tdd red → /tdd green → /tdd refactor
|
|
236
|
+
|
|
237
|
+
# BDD scenarios serve as acceptance criteria
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
---
|
|
241
|
+
|
|
242
|
+
## Quick Reference Card | 快速參考卡
|
|
243
|
+
|
|
244
|
+
### Most Common Commands | 最常用指令
|
|
245
|
+
|
|
246
|
+
| Goal / 目標 | Command / 指令 |
|
|
247
|
+
|-------------|----------------|
|
|
248
|
+
| Start new feature with spec | `/sdd <feature-name>` |
|
|
249
|
+
| Generate tests from spec | `/derive-all <spec-file>` |
|
|
250
|
+
| Start BDD workflow | `/bdd` |
|
|
251
|
+
| Start TDD cycle | `/tdd` |
|
|
252
|
+
| Check methodology status | `/methodology` |
|
|
253
|
+
|
|
254
|
+
### Decision Tree | 決策樹
|
|
255
|
+
|
|
256
|
+
```
|
|
257
|
+
Is this a new feature with clear requirements?
|
|
258
|
+
├─ Yes → Use /sdd + /derive-all (System A: SDD)
|
|
259
|
+
└─ No
|
|
260
|
+
├─ Is this legacy code modification?
|
|
261
|
+
│ └─ Yes → Use /bdd + /tdd (System B: Double-Loop)
|
|
262
|
+
├─ Need stakeholder alignment?
|
|
263
|
+
│ └─ Yes → Start with /atdd, then choose system
|
|
264
|
+
└─ Quick prototype?
|
|
265
|
+
└─ Yes → Use /tdd only
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## Related Documentation | 相關文件
|
|
271
|
+
|
|
272
|
+
- [Forward Derivation SKILL](../forward-derivation/SKILL.md) - Detailed derivation workflow
|
|
273
|
+
- [Integrated Flow Guide](../methodology-system/integrated-flow.md) - Complete methodology integration
|
|
274
|
+
- [Individual Command Files](./README.md) - All command references
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
|
|
278
|
+
## Version History | 版本歷史
|
|
279
|
+
|
|
280
|
+
| Version | Date | Changes |
|
|
281
|
+
|---------|------|---------|
|
|
282
|
+
| 1.0.0 | 2026-01-25 | Initial release - Two independent systems architecture |
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## License | 授權
|
|
287
|
+
|
|
288
|
+
This document is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
289
|
+
|
|
290
|
+
**Source**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|