universal-dev-standards 4.1.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 +239 -4
- 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 +544 -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 +211 -510
- 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-friendly-architecture.md +306 -0
- 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 +145 -46
- 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/GEMINI.md +35 -3
- package/bundled/locales/zh-CN/integrations/gemini-cli/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +89 -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 +23 -7
- 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 +217 -490
- 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-friendly-architecture.md +306 -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 +145 -46
- 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/gemini-cli/GEMINI.md +35 -3
- package/bundled/locales/zh-TW/integrations/github-copilot/COPILOT-CHAT-REFERENCE.md +89 -3
- package/bundled/locales/zh-TW/integrations/github-copilot/copilot-instructions.md +3 -3
- package/bundled/locales/zh-TW/integrations/github-copilot/skills-mapping.md +23 -7
- 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/agents/README.md +305 -0
- package/bundled/skills/agents/code-architect.md +259 -0
- package/bundled/skills/agents/doc-writer.md +406 -0
- package/bundled/skills/agents/reviewer.md +353 -0
- package/bundled/skills/agents/spec-analyst.md +374 -0
- package/bundled/skills/agents/test-specialist.md +364 -0
- 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/workflows/README.md +303 -0
- package/bundled/skills/workflows/code-review.workflow.yaml +186 -0
- package/bundled/skills/workflows/feature-dev.workflow.yaml +174 -0
- package/bundled/skills/workflows/integrated-flow.workflow.yaml +238 -0
- package/bundled/skills/workflows/large-codebase-analysis.workflow.yaml +226 -0
- package/bundled/skills/workflows/release.workflow.yaml +893 -0
- package/package.json +14 -1
- package/src/commands/agent.js +417 -0
- package/src/commands/ai-context.js +552 -0
- package/src/commands/check.js +196 -131
- 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 -1027
- 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 +689 -0
- package/src/config/ai-agent-paths.js +292 -28
- package/src/core/constants.js +520 -0
- package/src/core/errors.js +398 -0
- package/src/core/manifest.js +474 -0
- package/src/core/paths.js +398 -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 +235 -135
- package/src/prompts/integrations.js +13 -1
- package/src/schemas/standard.schema.json +117 -0
- package/src/utils/agent-adapter.js +320 -0
- package/src/utils/agents-installer.js +393 -0
- 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/context-chunker.js +467 -0
- package/src/utils/copier.js +59 -99
- package/src/utils/github.js +22 -18
- package/src/utils/hasher.js +2 -16
- package/src/utils/inquirer-patch.js +98 -0
- package/src/utils/integration-generator.js +420 -110
- 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 +545 -0
- package/src/vibe/auto-sweep.js +349 -0
- package/src/vibe/micro-spec.js +428 -0
- package/standards-registry.json +429 -107
- 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 -207
- 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
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
# UDS Workflows
|
|
2
|
+
|
|
3
|
+
> **Language**: English | [繁體中文](../../locales/zh-TW/skills/workflows/README.md)
|
|
4
|
+
|
|
5
|
+
**Version**: 1.1.0
|
|
6
|
+
**Last Updated**: 2026-01-21
|
|
7
|
+
**Status**: Experimental
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
UDS Workflows orchestrate multiple agents to complete complex development tasks. Each workflow defines a sequence of steps, where each step can be executed by an agent or require manual intervention.
|
|
14
|
+
|
|
15
|
+
## Workflow YAML Format
|
|
16
|
+
|
|
17
|
+
### Schema
|
|
18
|
+
|
|
19
|
+
```yaml
|
|
20
|
+
name: workflow-name # Unique identifier (kebab-case)
|
|
21
|
+
version: 1.0.0 # Semantic version
|
|
22
|
+
description: | # Multi-line description
|
|
23
|
+
Brief description of the workflow.
|
|
24
|
+
|
|
25
|
+
# Workflow metadata
|
|
26
|
+
metadata:
|
|
27
|
+
author: universal-dev-standards
|
|
28
|
+
category: development # development | review | testing | documentation
|
|
29
|
+
difficulty: intermediate # beginner | intermediate | advanced
|
|
30
|
+
estimated_steps: 6 # Approximate number of steps
|
|
31
|
+
|
|
32
|
+
# Prerequisites
|
|
33
|
+
prerequisites:
|
|
34
|
+
- Project initialized with UDS
|
|
35
|
+
- Git repository configured
|
|
36
|
+
- AI tool with Task support (recommended)
|
|
37
|
+
|
|
38
|
+
# Steps definition
|
|
39
|
+
steps:
|
|
40
|
+
- id: step-1
|
|
41
|
+
name: Step Name
|
|
42
|
+
description: What this step does
|
|
43
|
+
type: agent # agent | manual | conditional
|
|
44
|
+
agent: agent-name # Required if type=agent
|
|
45
|
+
inputs: # Optional: what this step needs
|
|
46
|
+
- user_requirements
|
|
47
|
+
outputs: # Optional: what this step produces
|
|
48
|
+
- analysis_report
|
|
49
|
+
|
|
50
|
+
- id: step-2
|
|
51
|
+
name: Manual Step
|
|
52
|
+
type: manual
|
|
53
|
+
description: Human intervention required
|
|
54
|
+
instructions: |
|
|
55
|
+
Detailed instructions for the manual step.
|
|
56
|
+
checklist:
|
|
57
|
+
- [ ] Item 1
|
|
58
|
+
- [ ] Item 2
|
|
59
|
+
|
|
60
|
+
- id: step-3
|
|
61
|
+
name: Conditional Step
|
|
62
|
+
type: conditional
|
|
63
|
+
condition: analysis_report.has_issues
|
|
64
|
+
then:
|
|
65
|
+
agent: reviewer
|
|
66
|
+
task: Review and fix issues
|
|
67
|
+
else:
|
|
68
|
+
skip: true
|
|
69
|
+
|
|
70
|
+
# Output artifacts
|
|
71
|
+
outputs:
|
|
72
|
+
- name: final_report
|
|
73
|
+
description: Generated documentation
|
|
74
|
+
format: markdown
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### RLM Context Configuration (v1.1.0)
|
|
78
|
+
|
|
79
|
+
Workflows can include RLM-inspired context handling for large codebases:
|
|
80
|
+
|
|
81
|
+
```yaml
|
|
82
|
+
# === RLM CONTEXT CONFIGURATION ===
|
|
83
|
+
context-strategy:
|
|
84
|
+
enable-rlm: true # Enable RLM-aware processing
|
|
85
|
+
max-context-per-step: 100000 # Maximum tokens per step
|
|
86
|
+
context-inheritance: selective # full | selective | summary
|
|
87
|
+
|
|
88
|
+
steps:
|
|
89
|
+
- id: parallel-analysis
|
|
90
|
+
type: parallel-agents # NEW: Execute agent on multiple inputs
|
|
91
|
+
agent: code-architect
|
|
92
|
+
foreach: ${modules} # Dynamic iteration variable
|
|
93
|
+
context-mode: focused # minimal | focused | full
|
|
94
|
+
merge-strategy: aggregate # aggregate | sequential | summary
|
|
95
|
+
outputs: [analysis_results]
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
#### Context Inheritance Modes
|
|
99
|
+
|
|
100
|
+
| Mode | Description | Use Case |
|
|
101
|
+
|------|-------------|----------|
|
|
102
|
+
| `full` | Pass all previous outputs to next step | Sequential analysis |
|
|
103
|
+
| `selective` | Pass only specified outputs | Memory-efficient pipelines |
|
|
104
|
+
| `summary` | Pass summarized version of outputs | Large-scale processing |
|
|
105
|
+
|
|
106
|
+
#### Context Modes for Steps
|
|
107
|
+
|
|
108
|
+
| Mode | Description | Token Usage |
|
|
109
|
+
|------|-------------|-------------|
|
|
110
|
+
| `minimal` | Only essential context | Low |
|
|
111
|
+
| `focused` | Context relevant to current item | Medium |
|
|
112
|
+
| `full` | Complete available context | High |
|
|
113
|
+
|
|
114
|
+
#### Merge Strategies for Parallel Results
|
|
115
|
+
|
|
116
|
+
| Strategy | Description | Output Format |
|
|
117
|
+
|----------|-------------|---------------|
|
|
118
|
+
| `aggregate` | Combine all results into array | Array of results |
|
|
119
|
+
| `sequential` | Maintain processing order | Ordered list |
|
|
120
|
+
| `summary` | AI-generated summary of all results | Single summary |
|
|
121
|
+
|
|
122
|
+
### Step Types
|
|
123
|
+
|
|
124
|
+
| Type | Description | Execution |
|
|
125
|
+
|------|-------------|-----------|
|
|
126
|
+
| `agent` | Executed by a UDS agent | Automatic |
|
|
127
|
+
| `manual` | Requires human intervention | Interactive |
|
|
128
|
+
| `conditional` | Branching based on conditions | Depends on condition |
|
|
129
|
+
| `parallel-agents` | Execute agent on multiple inputs concurrently | Parallel (v1.1.0) |
|
|
130
|
+
|
|
131
|
+
#### Parallel-Agents Step Configuration (v1.1.0)
|
|
132
|
+
|
|
133
|
+
```yaml
|
|
134
|
+
- id: parallel-module-analysis
|
|
135
|
+
name: Analyze Modules in Parallel
|
|
136
|
+
type: parallel-agents
|
|
137
|
+
agent: code-architect
|
|
138
|
+
foreach: ${modules} # Variable containing items to iterate
|
|
139
|
+
context-mode: focused # minimal | focused | full
|
|
140
|
+
merge-strategy: aggregate # How to combine results
|
|
141
|
+
max-concurrent: 3 # Optional: limit concurrent executions
|
|
142
|
+
timeout: 300 # Optional: timeout per item (seconds)
|
|
143
|
+
inputs: # Optional: additional inputs
|
|
144
|
+
- project_context
|
|
145
|
+
outputs:
|
|
146
|
+
- module_analysis_results
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Built-in Workflows
|
|
150
|
+
|
|
151
|
+
| Workflow | Steps | Description |
|
|
152
|
+
|----------|-------|-------------|
|
|
153
|
+
| [integrated-flow](./integrated-flow.workflow.yaml) | 8 | Complete ATDD → SDD → BDD → TDD cycle |
|
|
154
|
+
| [feature-dev](./feature-dev.workflow.yaml) | 6 | Feature development workflow |
|
|
155
|
+
| [code-review](./code-review.workflow.yaml) | 4 | Comprehensive code review workflow |
|
|
156
|
+
| [large-codebase-analysis](./large-codebase-analysis.workflow.yaml) | 4 | RLM-enhanced workflow for analyzing 50+ file projects |
|
|
157
|
+
|
|
158
|
+
## Usage
|
|
159
|
+
|
|
160
|
+
### CLI Installation
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
# List available workflows
|
|
164
|
+
uds workflow list
|
|
165
|
+
|
|
166
|
+
# Install specific workflow
|
|
167
|
+
uds workflow install integrated-flow
|
|
168
|
+
|
|
169
|
+
# Install all workflows
|
|
170
|
+
uds workflow install --all
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Execution
|
|
174
|
+
|
|
175
|
+
Workflows are executed step-by-step. For tools supporting Task tool (Claude Code, OpenCode):
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
User: Start the integrated-flow workflow for user authentication
|
|
179
|
+
|
|
180
|
+
AI: Starting Integrated Development Flow...
|
|
181
|
+
|
|
182
|
+
Step 1/8: Specification Workshop (spec-analyst)
|
|
183
|
+
[Agent executes analysis...]
|
|
184
|
+
|
|
185
|
+
Step 2/8: Spec Proposal (spec-analyst)
|
|
186
|
+
[Agent drafts proposal...]
|
|
187
|
+
|
|
188
|
+
Step 3/8: Spec Review (manual)
|
|
189
|
+
Please review the specification:
|
|
190
|
+
- [ ] Requirements are clear
|
|
191
|
+
- [ ] Acceptance criteria defined
|
|
192
|
+
- [ ] Risks identified
|
|
193
|
+
|
|
194
|
+
[User confirms...]
|
|
195
|
+
|
|
196
|
+
Step 4/8: Discovery (test-specialist)
|
|
197
|
+
[Agent identifies test scenarios...]
|
|
198
|
+
|
|
199
|
+
...continues...
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### For Tools Without Task Support
|
|
203
|
+
|
|
204
|
+
Workflows are converted to guided checklists:
|
|
205
|
+
|
|
206
|
+
```markdown
|
|
207
|
+
## Integrated Development Flow
|
|
208
|
+
|
|
209
|
+
### Step 1: Specification Workshop
|
|
210
|
+
**Agent**: spec-analyst
|
|
211
|
+
**Task**: Analyze requirements and identify acceptance criteria
|
|
212
|
+
|
|
213
|
+
[Copy this to your AI assistant]
|
|
214
|
+
|
|
215
|
+
### Step 2: Spec Proposal
|
|
216
|
+
...
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
## Creating Custom Workflows
|
|
220
|
+
|
|
221
|
+
### 1. Create Workflow File
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
mkdir -p .claude/workflows
|
|
225
|
+
touch .claude/workflows/my-workflow.workflow.yaml
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### 2. Define Workflow
|
|
229
|
+
|
|
230
|
+
```yaml
|
|
231
|
+
name: my-custom-workflow
|
|
232
|
+
version: 1.0.0
|
|
233
|
+
description: Custom workflow for my project
|
|
234
|
+
|
|
235
|
+
steps:
|
|
236
|
+
- id: analyze
|
|
237
|
+
name: Analyze Requirements
|
|
238
|
+
type: agent
|
|
239
|
+
agent: spec-analyst
|
|
240
|
+
outputs: [requirements_doc]
|
|
241
|
+
|
|
242
|
+
- id: implement
|
|
243
|
+
name: Implementation
|
|
244
|
+
type: manual
|
|
245
|
+
description: Implement based on analysis
|
|
246
|
+
|
|
247
|
+
- id: review
|
|
248
|
+
name: Code Review
|
|
249
|
+
type: agent
|
|
250
|
+
agent: reviewer
|
|
251
|
+
inputs: [code_changes]
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
## Workflow vs Agent vs Skill
|
|
255
|
+
|
|
256
|
+
| Aspect | Workflow | Agent | Skill |
|
|
257
|
+
|--------|----------|-------|-------|
|
|
258
|
+
| **Purpose** | Orchestrate multi-step processes | Execute autonomous tasks | Provide knowledge/context |
|
|
259
|
+
| **Composition** | Contains multiple agents | Uses skills as context | Standalone |
|
|
260
|
+
| **State** | Tracks progress across steps | Single task state | Stateless |
|
|
261
|
+
| **User Involvement** | Can include manual steps | Minimal | None |
|
|
262
|
+
|
|
263
|
+
## Best Practices
|
|
264
|
+
|
|
265
|
+
### Do's
|
|
266
|
+
|
|
267
|
+
- Break complex tasks into discrete steps
|
|
268
|
+
- Include manual checkpoints for critical decisions
|
|
269
|
+
- Define clear inputs/outputs for each step
|
|
270
|
+
- Use conditional steps for error handling
|
|
271
|
+
- Document prerequisites clearly
|
|
272
|
+
|
|
273
|
+
### Don'ts
|
|
274
|
+
|
|
275
|
+
- Don't create overly long workflows (>10 steps)
|
|
276
|
+
- Don't skip review/verification steps
|
|
277
|
+
- Don't assume all tools support automatic execution
|
|
278
|
+
- Don't make steps too granular
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## Related Resources
|
|
283
|
+
|
|
284
|
+
- [Agents Documentation](../agents/README.md)
|
|
285
|
+
- [Skills Documentation](../README.md)
|
|
286
|
+
- [Methodology System](../methodology-system/SKILL.md)
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
## Version History
|
|
291
|
+
|
|
292
|
+
| Version | Date | Changes |
|
|
293
|
+
|---------|------|---------|
|
|
294
|
+
| 1.1.0 | 2026-01-21 | Added RLM context configuration, parallel-agents step type, large-codebase-analysis workflow |
|
|
295
|
+
| 1.0.0 | 2026-01-20 | Initial release |
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## License
|
|
300
|
+
|
|
301
|
+
This documentation is released under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
302
|
+
|
|
303
|
+
**Source**: [universal-dev-standards](https://github.com/AsiaOstrich/universal-dev-standards)
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# Code Review Workflow
|
|
2
|
+
# Comprehensive code review process
|
|
3
|
+
#
|
|
4
|
+
# This workflow guides a thorough code review process,
|
|
5
|
+
# ensuring quality, security, and maintainability.
|
|
6
|
+
|
|
7
|
+
name: code-review
|
|
8
|
+
version: 1.0.0
|
|
9
|
+
description: |
|
|
10
|
+
Comprehensive code review workflow for PRs and code changes.
|
|
11
|
+
Use for thorough review before merging to main branch.
|
|
12
|
+
Keywords: code review, PR review, pull request, 程式碼審查, PR 審查.
|
|
13
|
+
|
|
14
|
+
metadata:
|
|
15
|
+
author: universal-dev-standards
|
|
16
|
+
category: review
|
|
17
|
+
difficulty: intermediate
|
|
18
|
+
estimated_steps: 4
|
|
19
|
+
related_skills:
|
|
20
|
+
- code-review-assistant
|
|
21
|
+
- testing-guide
|
|
22
|
+
- checkin-assistant
|
|
23
|
+
|
|
24
|
+
prerequisites:
|
|
25
|
+
- Pull request created
|
|
26
|
+
- CI checks passing (or reasons documented)
|
|
27
|
+
- PR description complete
|
|
28
|
+
|
|
29
|
+
steps:
|
|
30
|
+
# Step 1: Context Understanding
|
|
31
|
+
- id: understand
|
|
32
|
+
name: Understand Context
|
|
33
|
+
type: agent
|
|
34
|
+
agent: spec-analyst
|
|
35
|
+
description: |
|
|
36
|
+
Understand the purpose and scope of the changes.
|
|
37
|
+
Review PR description, linked issues, and specs.
|
|
38
|
+
inputs:
|
|
39
|
+
- pr_description
|
|
40
|
+
- linked_issues
|
|
41
|
+
- diff_summary
|
|
42
|
+
outputs:
|
|
43
|
+
- context_summary
|
|
44
|
+
- review_focus_areas
|
|
45
|
+
questions:
|
|
46
|
+
- What problem does this solve?
|
|
47
|
+
- What is the expected behavior?
|
|
48
|
+
- What are the risks?
|
|
49
|
+
|
|
50
|
+
# Step 2: Code Quality Review
|
|
51
|
+
- id: quality-review
|
|
52
|
+
name: Code Quality Review
|
|
53
|
+
type: agent
|
|
54
|
+
agent: reviewer
|
|
55
|
+
description: |
|
|
56
|
+
Review code for quality, maintainability, and best practices.
|
|
57
|
+
Focus on readability, design patterns, and conventions.
|
|
58
|
+
inputs:
|
|
59
|
+
- code_changes
|
|
60
|
+
- context_summary
|
|
61
|
+
outputs:
|
|
62
|
+
- quality_report
|
|
63
|
+
- suggestions
|
|
64
|
+
checklist:
|
|
65
|
+
- Code follows project style guide
|
|
66
|
+
- Functions are appropriately sized
|
|
67
|
+
- No code duplication
|
|
68
|
+
- Error handling is appropriate
|
|
69
|
+
- Naming is clear and consistent
|
|
70
|
+
- Comments are helpful (not redundant)
|
|
71
|
+
severity_levels:
|
|
72
|
+
blocking: Must fix before merge
|
|
73
|
+
important: Should fix
|
|
74
|
+
suggestion: Nice to have
|
|
75
|
+
note: Informational
|
|
76
|
+
|
|
77
|
+
# Step 3: Security & Testing Review
|
|
78
|
+
- id: security-review
|
|
79
|
+
name: Security & Testing Review
|
|
80
|
+
type: agent
|
|
81
|
+
agent: test-specialist
|
|
82
|
+
description: |
|
|
83
|
+
Review for security vulnerabilities and test coverage.
|
|
84
|
+
Ensure changes are properly tested.
|
|
85
|
+
inputs:
|
|
86
|
+
- code_changes
|
|
87
|
+
- existing_tests
|
|
88
|
+
outputs:
|
|
89
|
+
- security_report
|
|
90
|
+
- coverage_assessment
|
|
91
|
+
security_checks:
|
|
92
|
+
- No hardcoded secrets
|
|
93
|
+
- Input validation present
|
|
94
|
+
- No SQL injection vulnerabilities
|
|
95
|
+
- No XSS vulnerabilities
|
|
96
|
+
- Proper authentication/authorization
|
|
97
|
+
- Dependencies are safe
|
|
98
|
+
testing_checks:
|
|
99
|
+
- New code has tests
|
|
100
|
+
- Edge cases covered
|
|
101
|
+
- Tests are meaningful (not just coverage)
|
|
102
|
+
- No flaky tests introduced
|
|
103
|
+
|
|
104
|
+
# Step 4: Final Decision
|
|
105
|
+
- id: decision
|
|
106
|
+
name: Review Decision
|
|
107
|
+
type: manual
|
|
108
|
+
description: |
|
|
109
|
+
Make final review decision based on findings.
|
|
110
|
+
Approve, request changes, or discuss.
|
|
111
|
+
inputs:
|
|
112
|
+
- quality_report
|
|
113
|
+
- security_report
|
|
114
|
+
- coverage_assessment
|
|
115
|
+
outputs:
|
|
116
|
+
- review_decision
|
|
117
|
+
- feedback_comments
|
|
118
|
+
decisions:
|
|
119
|
+
approve:
|
|
120
|
+
condition: No blocking issues
|
|
121
|
+
action: Approve PR
|
|
122
|
+
request_changes:
|
|
123
|
+
condition: Blocking issues found
|
|
124
|
+
action: Request changes with clear feedback
|
|
125
|
+
comment:
|
|
126
|
+
condition: Need clarification
|
|
127
|
+
action: Add comments and discuss
|
|
128
|
+
instructions: |
|
|
129
|
+
When providing feedback:
|
|
130
|
+
1. Use appropriate prefixes (BLOCKING, IMPORTANT, SUGGESTION)
|
|
131
|
+
2. Be specific about location and issue
|
|
132
|
+
3. Suggest solutions when possible
|
|
133
|
+
4. Be respectful and constructive
|
|
134
|
+
5. Acknowledge good practices
|
|
135
|
+
|
|
136
|
+
outputs:
|
|
137
|
+
- name: review_summary
|
|
138
|
+
description: Summary of review findings
|
|
139
|
+
format: markdown
|
|
140
|
+
|
|
141
|
+
- name: action_items
|
|
142
|
+
description: List of changes requested
|
|
143
|
+
format: checklist
|
|
144
|
+
|
|
145
|
+
- name: decision
|
|
146
|
+
description: Final review decision
|
|
147
|
+
format: status
|
|
148
|
+
|
|
149
|
+
# Review comment templates
|
|
150
|
+
comment_templates:
|
|
151
|
+
blocking: |
|
|
152
|
+
❗ BLOCKING: [Issue description]
|
|
153
|
+
|
|
154
|
+
[Why this is a problem]
|
|
155
|
+
|
|
156
|
+
Suggested fix:
|
|
157
|
+
```
|
|
158
|
+
[code suggestion]
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
important: |
|
|
162
|
+
⚠️ IMPORTANT: [Issue description]
|
|
163
|
+
|
|
164
|
+
[Why this should be addressed]
|
|
165
|
+
|
|
166
|
+
suggestion: |
|
|
167
|
+
💡 SUGGESTION: [Improvement idea]
|
|
168
|
+
|
|
169
|
+
[Rationale and benefits]
|
|
170
|
+
|
|
171
|
+
question: |
|
|
172
|
+
❓ QUESTION: [Your question]
|
|
173
|
+
|
|
174
|
+
[Context for the question]
|
|
175
|
+
|
|
176
|
+
note: |
|
|
177
|
+
📝 NOTE: [Observation]
|
|
178
|
+
|
|
179
|
+
[Additional context]
|
|
180
|
+
|
|
181
|
+
completion_criteria:
|
|
182
|
+
- All critical issues addressed or waived
|
|
183
|
+
- Security review completed
|
|
184
|
+
- Test coverage acceptable
|
|
185
|
+
- Review decision documented
|
|
186
|
+
- Feedback provided constructively
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# Feature Development Workflow
|
|
2
|
+
# Standard workflow for developing new features
|
|
3
|
+
#
|
|
4
|
+
# This workflow guides the development of new features from requirements
|
|
5
|
+
# through implementation and review.
|
|
6
|
+
|
|
7
|
+
name: feature-dev
|
|
8
|
+
version: 1.0.0
|
|
9
|
+
description: |
|
|
10
|
+
Standard feature development workflow from requirements to deployment.
|
|
11
|
+
Use for typical feature work with balanced rigor and efficiency.
|
|
12
|
+
Keywords: feature, development, implementation, 功能開發, 開發流程.
|
|
13
|
+
|
|
14
|
+
metadata:
|
|
15
|
+
author: universal-dev-standards
|
|
16
|
+
category: development
|
|
17
|
+
difficulty: intermediate
|
|
18
|
+
estimated_steps: 6
|
|
19
|
+
related_skills:
|
|
20
|
+
- spec-driven-dev
|
|
21
|
+
- testing-guide
|
|
22
|
+
- code-review-assistant
|
|
23
|
+
|
|
24
|
+
prerequisites:
|
|
25
|
+
- User story or feature request defined
|
|
26
|
+
- Git branch created (feature/xxx)
|
|
27
|
+
- Development environment ready
|
|
28
|
+
|
|
29
|
+
steps:
|
|
30
|
+
# Step 1: Requirements Analysis
|
|
31
|
+
- id: analyze
|
|
32
|
+
name: Analyze Requirements
|
|
33
|
+
type: agent
|
|
34
|
+
agent: spec-analyst
|
|
35
|
+
description: |
|
|
36
|
+
Analyze the feature request and clarify requirements.
|
|
37
|
+
Identify acceptance criteria and potential challenges.
|
|
38
|
+
inputs:
|
|
39
|
+
- feature_request
|
|
40
|
+
- existing_codebase_context
|
|
41
|
+
outputs:
|
|
42
|
+
- requirements_analysis
|
|
43
|
+
- acceptance_criteria
|
|
44
|
+
- technical_considerations
|
|
45
|
+
checklist:
|
|
46
|
+
- Requirements understood
|
|
47
|
+
- Questions clarified
|
|
48
|
+
- Scope defined
|
|
49
|
+
|
|
50
|
+
# Step 2: Architecture Design
|
|
51
|
+
- id: design
|
|
52
|
+
name: Design Architecture
|
|
53
|
+
type: agent
|
|
54
|
+
agent: code-architect
|
|
55
|
+
description: |
|
|
56
|
+
Design the technical architecture for the feature.
|
|
57
|
+
Identify components, interfaces, and data flow.
|
|
58
|
+
inputs:
|
|
59
|
+
- requirements_analysis
|
|
60
|
+
- existing_architecture
|
|
61
|
+
outputs:
|
|
62
|
+
- architecture_design
|
|
63
|
+
- component_list
|
|
64
|
+
- api_contracts
|
|
65
|
+
considerations:
|
|
66
|
+
- Reuse existing components where possible
|
|
67
|
+
- Follow project patterns and conventions
|
|
68
|
+
- Consider performance and scalability
|
|
69
|
+
|
|
70
|
+
# Step 3: Test Planning
|
|
71
|
+
- id: test-plan
|
|
72
|
+
name: Plan Tests
|
|
73
|
+
type: agent
|
|
74
|
+
agent: test-specialist
|
|
75
|
+
description: |
|
|
76
|
+
Define testing strategy for the feature.
|
|
77
|
+
Identify test cases at different levels.
|
|
78
|
+
inputs:
|
|
79
|
+
- acceptance_criteria
|
|
80
|
+
- architecture_design
|
|
81
|
+
outputs:
|
|
82
|
+
- test_plan
|
|
83
|
+
- test_cases
|
|
84
|
+
test_levels:
|
|
85
|
+
- unit: Core logic functions
|
|
86
|
+
- integration: Component interactions
|
|
87
|
+
- e2e: Critical user paths
|
|
88
|
+
|
|
89
|
+
# Step 4: Implementation
|
|
90
|
+
- id: implement
|
|
91
|
+
name: Implement Feature
|
|
92
|
+
type: manual
|
|
93
|
+
description: |
|
|
94
|
+
Implement the feature following the design and test plan.
|
|
95
|
+
Use TDD approach where appropriate.
|
|
96
|
+
inputs:
|
|
97
|
+
- architecture_design
|
|
98
|
+
- test_plan
|
|
99
|
+
outputs:
|
|
100
|
+
- implementation_code
|
|
101
|
+
- tests
|
|
102
|
+
instructions: |
|
|
103
|
+
Implementation guidelines:
|
|
104
|
+
1. Start with tests (TDD recommended)
|
|
105
|
+
2. Implement core functionality first
|
|
106
|
+
3. Add edge case handling
|
|
107
|
+
4. Run tests frequently
|
|
108
|
+
5. Commit in logical chunks
|
|
109
|
+
checklist:
|
|
110
|
+
- Core functionality implemented
|
|
111
|
+
- Unit tests written and passing
|
|
112
|
+
- Integration tests passing
|
|
113
|
+
- No linting errors
|
|
114
|
+
- Code committed
|
|
115
|
+
|
|
116
|
+
# Step 5: Self Review
|
|
117
|
+
- id: self-review
|
|
118
|
+
name: Self Code Review
|
|
119
|
+
type: agent
|
|
120
|
+
agent: reviewer
|
|
121
|
+
description: |
|
|
122
|
+
Perform self-review before requesting peer review.
|
|
123
|
+
Check for common issues and improvements.
|
|
124
|
+
inputs:
|
|
125
|
+
- implementation_code
|
|
126
|
+
- tests
|
|
127
|
+
outputs:
|
|
128
|
+
- self_review_report
|
|
129
|
+
- improvement_suggestions
|
|
130
|
+
focus_areas:
|
|
131
|
+
- Code quality and style
|
|
132
|
+
- Test coverage
|
|
133
|
+
- Security considerations
|
|
134
|
+
- Performance implications
|
|
135
|
+
|
|
136
|
+
# Step 6: Documentation
|
|
137
|
+
- id: document
|
|
138
|
+
name: Update Documentation
|
|
139
|
+
type: agent
|
|
140
|
+
agent: doc-writer
|
|
141
|
+
description: |
|
|
142
|
+
Update relevant documentation for the new feature.
|
|
143
|
+
Include API docs, user guides, and changelog.
|
|
144
|
+
inputs:
|
|
145
|
+
- implementation_code
|
|
146
|
+
- architecture_design
|
|
147
|
+
outputs:
|
|
148
|
+
- updated_docs
|
|
149
|
+
- changelog_entry
|
|
150
|
+
documentation_types:
|
|
151
|
+
- API documentation
|
|
152
|
+
- User-facing documentation
|
|
153
|
+
- CHANGELOG entry
|
|
154
|
+
- README updates (if needed)
|
|
155
|
+
|
|
156
|
+
outputs:
|
|
157
|
+
- name: feature_branch
|
|
158
|
+
description: Git branch with implemented feature
|
|
159
|
+
format: git-branch
|
|
160
|
+
|
|
161
|
+
- name: test_suite
|
|
162
|
+
description: Tests for the feature
|
|
163
|
+
format: varies
|
|
164
|
+
|
|
165
|
+
- name: documentation
|
|
166
|
+
description: Updated documentation
|
|
167
|
+
format: markdown
|
|
168
|
+
|
|
169
|
+
completion_criteria:
|
|
170
|
+
- All acceptance criteria met
|
|
171
|
+
- Tests passing
|
|
172
|
+
- Self-review completed
|
|
173
|
+
- Documentation updated
|
|
174
|
+
- Ready for peer review/PR
|