universal-dev-standards 5.0.0-beta.9 → 5.0.0-rc.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/bin/uds.js +45 -3
- package/bundled/ai/FORMAT-GUIDE.md +191 -0
- package/bundled/ai/MAINTENANCE.md +765 -0
- package/bundled/ai/options/changelog/auto-generated.ai.yaml +96 -0
- package/bundled/ai/options/changelog/keep-a-changelog.ai.yaml +92 -0
- package/bundled/ai/options/code-review/automated-review.ai.yaml +155 -0
- package/bundled/ai/options/code-review/pair-programming.ai.yaml +111 -0
- package/bundled/ai/options/code-review/pr-review.ai.yaml +134 -0
- package/bundled/ai/options/commit-message/bilingual.ai.yaml +139 -0
- package/bundled/ai/options/commit-message/english.ai.yaml +86 -0
- package/bundled/ai/options/commit-message/traditional-chinese.ai.yaml +97 -0
- package/bundled/ai/options/documentation/api-docs.ai.yaml +180 -0
- package/bundled/ai/options/documentation/markdown-docs.ai.yaml +122 -0
- package/bundled/ai/options/documentation/wiki-style.ai.yaml +143 -0
- package/bundled/ai/options/git-workflow/gitflow.ai.yaml +110 -0
- package/bundled/ai/options/git-workflow/github-flow.ai.yaml +97 -0
- package/bundled/ai/options/git-workflow/merge-commit.ai.yaml +51 -0
- package/bundled/ai/options/git-workflow/rebase-ff.ai.yaml +75 -0
- package/bundled/ai/options/git-workflow/squash-merge.ai.yaml +56 -0
- package/bundled/ai/options/git-workflow/trunk-based.ai.yaml +100 -0
- package/bundled/ai/options/project-structure/dotnet.ai.yaml +85 -0
- package/bundled/ai/options/project-structure/go.ai.yaml +79 -0
- package/bundled/ai/options/project-structure/java.ai.yaml +82 -0
- package/bundled/ai/options/project-structure/kotlin.ai.yaml +123 -0
- package/bundled/ai/options/project-structure/nodejs.ai.yaml +81 -0
- package/bundled/ai/options/project-structure/php.ai.yaml +147 -0
- package/bundled/ai/options/project-structure/python.ai.yaml +95 -0
- package/bundled/ai/options/project-structure/ruby.ai.yaml +140 -0
- package/bundled/ai/options/project-structure/rust.ai.yaml +117 -0
- package/bundled/ai/options/project-structure/swift.ai.yaml +143 -0
- package/bundled/ai/options/testing/contract-testing.ai.yaml +250 -0
- package/bundled/ai/options/testing/e2e-testing.ai.yaml +113 -0
- package/bundled/ai/options/testing/industry-pyramid.ai.yaml +161 -0
- package/bundled/ai/options/testing/integration-testing.ai.yaml +89 -0
- package/bundled/ai/options/testing/istqb-framework.ai.yaml +107 -0
- package/bundled/ai/options/testing/performance-testing.ai.yaml +258 -0
- package/bundled/ai/options/testing/security-testing.ai.yaml +189 -0
- package/bundled/ai/options/testing/system-testing.ai.yaml +88 -0
- package/bundled/ai/options/testing/unit-testing.ai.yaml +81 -0
- package/bundled/ai/standards/acceptance-test-driven-development.ai.yaml +345 -0
- package/bundled/ai/standards/accessibility-standards.ai.yaml +146 -0
- package/bundled/ai/standards/ai-agreement-standards.ai.yaml +20 -0
- package/bundled/ai/standards/ai-friendly-architecture.ai.yaml +202 -0
- package/bundled/ai/standards/ai-instruction-standards.ai.yaml +142 -0
- package/bundled/ai/standards/anti-hallucination.ai.yaml +196 -0
- package/bundled/ai/standards/behavior-driven-development.ai.yaml +317 -0
- package/bundled/ai/standards/changelog.ai.yaml +120 -0
- package/bundled/ai/standards/checkin-standards.ai.yaml +158 -0
- package/bundled/ai/standards/code-review.ai.yaml +140 -0
- package/bundled/ai/standards/commit-message.ai.yaml +117 -0
- package/bundled/ai/standards/context-aware-loading.ai.yaml +178 -0
- package/bundled/ai/standards/deployment-standards.ai.yaml +132 -0
- package/bundled/ai/standards/developer-memory.ai.yaml +213 -0
- package/bundled/ai/standards/documentation-structure.ai.yaml +186 -0
- package/bundled/ai/standards/documentation-writing-standards.ai.yaml +260 -0
- package/bundled/ai/standards/error-codes.ai.yaml +139 -0
- package/bundled/ai/standards/forward-derivation-standards.ai.yaml +419 -0
- package/bundled/ai/standards/git-workflow.ai.yaml +97 -0
- package/bundled/ai/standards/logging.ai.yaml +128 -0
- package/bundled/ai/standards/performance-standards.ai.yaml +129 -0
- package/bundled/ai/standards/project-context-memory.ai.yaml +121 -0
- package/bundled/ai/standards/project-structure.ai.yaml +116 -0
- package/bundled/ai/standards/refactoring-standards.ai.yaml +463 -0
- package/bundled/ai/standards/requirement-engineering.ai.yaml +191 -0
- package/bundled/ai/standards/reverse-engineering-standards.ai.yaml +296 -0
- package/bundled/ai/standards/security-standards.ai.yaml +130 -0
- package/bundled/ai/standards/spec-driven-development.ai.yaml +172 -0
- package/bundled/ai/standards/structured-task-definition.ai.yaml +108 -0
- package/bundled/ai/standards/test-completeness-dimensions.ai.yaml +259 -0
- package/bundled/ai/standards/test-driven-development.ai.yaml +331 -0
- package/bundled/ai/standards/test-governance.ai.yaml +148 -0
- package/bundled/ai/standards/testing.ai.yaml +121 -0
- package/bundled/ai/standards/versioning.ai.yaml +186 -0
- package/bundled/ai/standards/virtual-organization-standards.ai.yaml +20 -0
- package/bundled/ai/standards/workflow-state-protocol.ai.yaml +121 -0
- package/bundled/core/commit-message-guide.md +32 -1
- package/bundled/core/context-aware-loading.md +171 -0
- package/bundled/core/documentation-structure.md +250 -3
- package/bundled/core/documentation-writing-standards.md +188 -9
- package/bundled/core/guides/file-placement-guide.md +384 -0
- package/bundled/core/project-context-memory.md +67 -6
- package/bundled/core/project-structure.md +98 -2
- package/bundled/core/spec-driven-development.md +2 -1
- package/bundled/core/structured-task-definition.md +245 -0
- package/bundled/core/test-governance.md +146 -0
- package/bundled/core/testing-standards.md +12 -6
- package/bundled/core/workflow-state-protocol.md +287 -0
- package/bundled/locales/zh-CN/CLAUDE.md +3 -3
- package/bundled/locales/zh-CN/README.md +89 -338
- package/bundled/locales/zh-CN/adoption/ADOPTION-GUIDE.md +10 -10
- package/bundled/locales/zh-CN/adoption/DAILY-WORKFLOW-GUIDE.md +17 -11
- package/bundled/locales/zh-CN/adoption/STATIC-DYNAMIC-GUIDE.md +24 -24
- package/bundled/locales/zh-CN/adoption/checklists/enterprise.md +5 -5
- package/bundled/locales/zh-CN/adoption/checklists/minimal.md +3 -3
- package/bundled/locales/zh-CN/adoption/checklists/recommended.md +5 -5
- package/bundled/locales/zh-CN/ai/MAINTENANCE.md +1 -1
- package/bundled/locales/zh-CN/ai/options/testing/industry-pyramid.ai.yaml +39 -28
- package/bundled/locales/zh-CN/ai/standards/spec-driven-development.ai.yaml +1 -1
- package/bundled/locales/zh-CN/ai/standards/testing.ai.yaml +11 -8
- package/bundled/locales/zh-CN/core/ai-friendly-architecture.md +1 -1
- package/bundled/locales/zh-CN/core/ai-instruction-standards.md +1 -1
- package/bundled/locales/zh-CN/core/anti-hallucination.md +2 -2
- package/bundled/locales/zh-CN/core/changelog-standards.md +1 -1
- package/bundled/locales/zh-CN/core/checkin-standards.md +1 -1
- package/bundled/locales/zh-CN/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-CN/core/commit-message-guide.md +24 -5
- package/bundled/locales/zh-CN/core/developer-memory.md +1 -1
- package/bundled/locales/zh-CN/core/documentation-structure.md +107 -6
- package/bundled/locales/zh-CN/core/documentation-writing-standards.md +6 -6
- package/bundled/locales/zh-CN/core/error-code-standards.md +1 -1
- package/bundled/locales/zh-CN/core/git-workflow.md +1 -1
- package/bundled/locales/zh-CN/core/guides/file-placement-guide.md +309 -0
- package/bundled/locales/zh-CN/core/logging-standards.md +1 -1
- package/bundled/locales/zh-CN/core/project-structure.md +102 -6
- package/bundled/locales/zh-CN/core/refactoring-standards.md +1 -1
- package/bundled/locales/zh-CN/core/reverse-engineering-standards.md +7 -7
- package/bundled/locales/zh-CN/core/spec-driven-development.md +18 -17
- package/bundled/locales/zh-CN/core/structured-task-definition.md +255 -0
- package/bundled/locales/zh-CN/core/test-completeness-dimensions.md +1 -1
- package/bundled/locales/zh-CN/core/test-driven-development.md +2 -2
- package/bundled/locales/zh-CN/core/testing-standards.md +2 -2
- package/bundled/locales/zh-CN/core/versioning.md +1 -1
- package/bundled/locales/zh-CN/core/workflow-state-protocol.md +297 -0
- package/bundled/locales/zh-CN/docs/AI-AGENT-ROADMAP.md +2 -2
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +52 -17
- package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +32 -113
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +69 -30
- package/bundled/locales/zh-CN/docs/OPERATION-WORKFLOW.md +6 -6
- package/bundled/locales/zh-CN/docs/STANDARDS-REFERENCE.md +2 -2
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +3 -3
- 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 +4 -4
- package/bundled/locales/zh-CN/integrations/github-copilot/README.md +5 -5
- package/bundled/locales/zh-CN/integrations/github-copilot/copilot-instructions.md +6 -6
- package/bundled/locales/zh-CN/integrations/github-copilot/skills-mapping.md +1 -1
- package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +3 -3
- package/bundled/locales/zh-CN/integrations/opencode/README.md +4 -4
- package/bundled/locales/zh-CN/integrations/opencode/skills-mapping.md +3 -3
- package/bundled/locales/zh-CN/integrations/openspec/README.md +1 -1
- package/bundled/locales/zh-CN/integrations/spec-kit/AGENTS.md +12 -11
- package/bundled/locales/zh-CN/integrations/spec-kit/README.md +1 -1
- package/bundled/locales/zh-CN/options/commit-message/bilingual.md +2 -2
- package/bundled/locales/zh-CN/options/commit-message/english.md +2 -2
- package/bundled/locales/zh-CN/options/commit-message/traditional-chinese.md +2 -2
- package/bundled/locales/zh-CN/options/git-workflow/gitflow.md +2 -2
- package/bundled/locales/zh-CN/options/git-workflow/github-flow.md +2 -2
- package/bundled/locales/zh-CN/options/git-workflow/merge-commit.md +2 -2
- package/bundled/locales/zh-CN/options/git-workflow/rebase-ff.md +2 -2
- package/bundled/locales/zh-CN/options/git-workflow/squash-merge.md +2 -2
- package/bundled/locales/zh-CN/options/git-workflow/trunk-based.md +2 -2
- package/bundled/locales/zh-CN/options/project-structure/dotnet.md +2 -2
- package/bundled/locales/zh-CN/options/project-structure/go.md +2 -2
- package/bundled/locales/zh-CN/options/project-structure/java.md +2 -2
- package/bundled/locales/zh-CN/options/project-structure/nodejs.md +2 -2
- package/bundled/locales/zh-CN/options/project-structure/python.md +2 -2
- package/bundled/locales/zh-CN/options/testing/e2e-testing.md +2 -2
- package/bundled/locales/zh-CN/options/testing/integration-testing.md +2 -2
- package/bundled/locales/zh-CN/options/testing/system-testing.md +2 -2
- package/bundled/locales/zh-CN/options/testing/unit-testing.md +2 -2
- package/bundled/locales/zh-CN/skills/README.md +23 -11
- package/bundled/locales/zh-CN/skills/agents/README.md +8 -8
- package/bundled/locales/zh-CN/skills/ai-collaboration-standards/SKILL.md +3 -3
- package/bundled/locales/zh-CN/skills/ai-collaboration-standards/anti-hallucination.md +1 -1
- package/bundled/locales/zh-CN/skills/ai-collaboration-standards/certainty-labels.md +1 -1
- package/bundled/locales/zh-CN/skills/ai-friendly-architecture/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/ai-instruction-standards/SKILL.md +6 -6
- package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/atdd-workflow.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/guide.md +9 -9
- package/bundled/locales/zh-CN/skills/audit-assistant/SKILL.md +123 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/bdd-workflow.md +1 -1
- package/bundled/locales/zh-CN/skills/bdd-assistant/gherkin-guide.md +1 -1
- package/bundled/locales/zh-CN/skills/bdd-assistant/guide.md +9 -9
- package/bundled/locales/zh-CN/skills/changelog-guide/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/changelog-guide/guide.md +4 -4
- package/bundled/locales/zh-CN/skills/checkin-assistant/SKILL.md +10 -0
- package/bundled/locales/zh-CN/skills/checkin-assistant/guide.md +4 -4
- package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +10 -0
- package/bundled/locales/zh-CN/skills/code-review-assistant/guide.md +3 -3
- package/bundled/locales/zh-CN/skills/commands/methodology.md +1 -1
- package/bundled/locales/zh-CN/skills/commands/refactor.md +1 -1
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +10 -0
- package/bundled/locales/zh-CN/skills/docs-generator/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/documentation-guide/SKILL.md +10 -10
- package/bundled/locales/zh-CN/skills/documentation-guide/readme-template.md +1 -1
- package/bundled/locales/zh-CN/skills/error-code-guide/SKILL.md +3 -3
- package/bundled/locales/zh-CN/skills/forward-derivation/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/forward-derivation/guide.md +3 -3
- package/bundled/locales/zh-CN/skills/git-workflow-guide/SKILL.md +3 -3
- package/bundled/locales/zh-CN/skills/logging-guide/SKILL.md +3 -3
- package/bundled/locales/zh-CN/skills/methodology-system/SKILL.md +10 -0
- package/bundled/locales/zh-CN/skills/methodology-system/guide.md +1 -1
- package/bundled/locales/zh-CN/skills/project-discovery/SKILL.md +10 -0
- package/bundled/locales/zh-CN/skills/project-discovery/guide.md +21 -21
- package/bundled/locales/zh-CN/skills/project-structure-guide/SKILL.md +22 -14
- package/bundled/locales/zh-CN/skills/refactoring-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/refactoring-assistant/guide.md +5 -5
- package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/release-standards/guide.md +3 -3
- package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/requirement-assistant/guide.md +2 -2
- package/bundled/locales/zh-CN/skills/requirement-assistant/requirement-checklist.md +1 -1
- package/bundled/locales/zh-CN/skills/requirement-assistant/requirement-writing.md +1 -1
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/reverse-engineer/guide.md +6 -6
- package/bundled/locales/zh-CN/skills/reverse-engineer/workflow.md +1 -1
- package/bundled/locales/zh-CN/skills/spec-driven-dev/SKILL.md +11 -0
- package/bundled/locales/zh-CN/skills/spec-driven-dev/guide.md +13 -12
- package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/test-coverage-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-CN/skills/test-coverage-assistant/guide.md +4 -4
- package/bundled/locales/zh-CN/skills/testing-guide/SKILL.md +2 -2
- package/bundled/locales/zh-CN/skills/testing-guide/testing-pyramid.md +2 -2
- package/bundled/locales/zh-TW/CLAUDE.md +3 -3
- package/bundled/locales/zh-TW/MAINTENANCE.md +9 -680
- package/bundled/locales/zh-TW/README.md +89 -344
- package/bundled/locales/zh-TW/adoption/ADOPTION-GUIDE.md +10 -10
- package/bundled/locales/zh-TW/adoption/DAILY-WORKFLOW-GUIDE.md +17 -11
- package/bundled/locales/zh-TW/adoption/STATIC-DYNAMIC-GUIDE.md +25 -25
- package/bundled/locales/zh-TW/adoption/checklists/enterprise.md +5 -5
- package/bundled/locales/zh-TW/adoption/checklists/minimal.md +3 -3
- package/bundled/locales/zh-TW/adoption/checklists/recommended.md +5 -5
- package/bundled/locales/zh-TW/ai/MAINTENANCE.md +1 -1
- package/bundled/locales/zh-TW/ai/options/testing/industry-pyramid.ai.yaml +30 -19
- package/bundled/locales/zh-TW/ai/standards/spec-driven-development.ai.yaml +1 -1
- package/bundled/locales/zh-TW/ai/standards/testing.ai.yaml +10 -7
- package/bundled/locales/zh-TW/core/ai-friendly-architecture.md +1 -1
- package/bundled/locales/zh-TW/core/ai-instruction-standards.md +1 -1
- package/bundled/locales/zh-TW/core/anti-hallucination.md +1 -1
- package/bundled/locales/zh-TW/core/changelog-standards.md +2 -2
- package/bundled/locales/zh-TW/core/checkin-standards.md +1 -1
- package/bundled/locales/zh-TW/core/code-review-checklist.md +1 -1
- package/bundled/locales/zh-TW/core/commit-message-guide.md +35 -4
- package/bundled/locales/zh-TW/core/developer-memory.md +1 -1
- package/bundled/locales/zh-TW/core/documentation-structure.md +250 -8
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +192 -13
- package/bundled/locales/zh-TW/core/forward-derivation-standards.md +3 -3
- package/bundled/locales/zh-TW/core/git-workflow.md +1 -1
- package/bundled/locales/zh-TW/core/guides/anti-hallucination-guide.md +6 -6
- package/bundled/locales/zh-TW/core/guides/file-placement-guide.md +309 -0
- package/bundled/locales/zh-TW/core/guides/git-workflow-guide.md +6 -6
- package/bundled/locales/zh-TW/core/guides/refactoring-guide.md +6 -6
- package/bundled/locales/zh-TW/core/guides/testing-guide.md +8 -8
- package/bundled/locales/zh-TW/core/project-structure.md +102 -6
- package/bundled/locales/zh-TW/core/refactoring-standards.md +1 -1
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +7 -7
- package/bundled/locales/zh-TW/core/spec-driven-development.md +3 -3
- package/bundled/locales/zh-TW/core/structured-task-definition.md +247 -0
- package/bundled/locales/zh-TW/core/test-completeness-dimensions.md +1 -1
- package/bundled/locales/zh-TW/core/test-driven-development.md +2 -2
- package/bundled/locales/zh-TW/core/testing-standards.md +1 -1
- package/bundled/locales/zh-TW/core/versioning.md +1 -1
- package/bundled/locales/zh-TW/core/workflow-state-protocol.md +289 -0
- package/bundled/locales/zh-TW/docs/AI-AGENT-ROADMAP.md +2 -2
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +52 -17
- package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +32 -113
- package/bundled/locales/zh-TW/docs/DEV-WORKFLOW-MAPPING.md +224 -0
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +69 -30
- package/bundled/locales/zh-TW/docs/OPERATION-WORKFLOW.md +6 -6
- package/bundled/locales/zh-TW/docs/SKILL-FALLBACK-GUIDE.md +407 -0
- package/bundled/locales/zh-TW/docs/STANDARDS-REFERENCE.md +2 -2
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +3 -3
- package/bundled/locales/zh-TW/docs/WINDOWS-GUIDE.md +1 -1
- package/bundled/locales/zh-TW/integrations/codex/README.md +1 -1
- package/bundled/locales/zh-TW/integrations/gemini-cli/README.md +1 -1
- package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +1 -1
- package/bundled/locales/zh-TW/integrations/opencode/README.md +1 -1
- package/bundled/locales/zh-TW/integrations/opencode/skills-mapping.md +3 -3
- package/bundled/locales/zh-TW/integrations/spec-kit/AGENTS.md +9 -8
- package/bundled/locales/zh-TW/methodologies/guides/sdd-guide.md +19 -18
- package/bundled/locales/zh-TW/methodologies/guides/tdd-guide.md +10 -10
- package/bundled/locales/zh-TW/options/commit-message/bilingual.md +2 -2
- package/bundled/locales/zh-TW/options/commit-message/english.md +2 -2
- package/bundled/locales/zh-TW/options/commit-message/traditional-chinese.md +2 -2
- package/bundled/locales/zh-TW/options/git-workflow/gitflow.md +2 -2
- package/bundled/locales/zh-TW/options/git-workflow/github-flow.md +2 -2
- package/bundled/locales/zh-TW/options/git-workflow/merge-commit.md +2 -2
- package/bundled/locales/zh-TW/options/git-workflow/rebase-ff.md +2 -2
- package/bundled/locales/zh-TW/options/git-workflow/squash-merge.md +2 -2
- package/bundled/locales/zh-TW/options/git-workflow/trunk-based.md +2 -2
- package/bundled/locales/zh-TW/options/project-structure/dotnet.md +2 -2
- package/bundled/locales/zh-TW/options/project-structure/go.md +2 -2
- package/bundled/locales/zh-TW/options/project-structure/java.md +2 -2
- package/bundled/locales/zh-TW/options/project-structure/nodejs.md +2 -2
- package/bundled/locales/zh-TW/options/project-structure/python.md +2 -2
- package/bundled/locales/zh-TW/options/testing/e2e-testing.md +2 -2
- package/bundled/locales/zh-TW/options/testing/integration-testing.md +2 -2
- package/bundled/locales/zh-TW/options/testing/system-testing.md +2 -2
- package/bundled/locales/zh-TW/options/testing/unit-testing.md +2 -2
- package/bundled/locales/zh-TW/skills/README.md +23 -11
- package/bundled/locales/zh-TW/skills/agents/README.md +8 -8
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/atdd-assistant/acceptance-criteria-guide.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/atdd-workflow.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/guide.md +4 -4
- package/bundled/locales/zh-TW/skills/audit-assistant/SKILL.md +123 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/bdd-workflow.md +1 -1
- package/bundled/locales/zh-TW/skills/bdd-assistant/gherkin-guide.md +1 -1
- package/bundled/locales/zh-TW/skills/bdd-assistant/guide.md +4 -4
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +119 -0
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +499 -0
- package/bundled/locales/zh-TW/skills/changelog-guide/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/checkin-assistant/SKILL.md +10 -0
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +10 -0
- package/bundled/locales/zh-TW/skills/commands/methodology.md +1 -1
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +10 -0
- package/bundled/locales/zh-TW/skills/docs-generator/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/documentation-guide/SKILL.md +6 -5
- package/bundled/locales/zh-TW/skills/forward-derivation/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/forward-derivation/guide.md +1 -1
- package/bundled/locales/zh-TW/skills/methodology-system/SKILL.md +10 -0
- package/bundled/locales/zh-TW/skills/methodology-system/guide.md +1 -1
- package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +10 -0
- package/bundled/locales/zh-TW/skills/project-discovery/guide.md +4 -4
- package/bundled/locales/zh-TW/skills/project-discovery/workflow.md +2 -2
- package/bundled/locales/zh-TW/skills/project-structure-guide/SKILL.md +14 -6
- package/bundled/locales/zh-TW/skills/refactoring-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/spec-driven-dev/SKILL.md +11 -0
- package/bundled/locales/zh-TW/skills/spec-driven-dev/guide.md +9 -8
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +9 -0
- package/bundled/locales/zh-TW/skills/test-coverage-assistant/SKILL.md +9 -0
- package/bundled/skills/README.md +5 -0
- package/bundled/skills/agents/README.md +65 -0
- package/bundled/skills/agents/spec-analyst.md +32 -0
- package/bundled/skills/ai/standards/commit.ai.yaml +1 -1
- package/bundled/skills/ai-collaboration-standards/SKILL.md +3 -3
- package/bundled/skills/atdd-assistant/SKILL.md +9 -0
- package/bundled/skills/audit-assistant/SKILL.md +132 -0
- package/bundled/skills/bdd-assistant/SKILL.md +9 -0
- package/bundled/skills/brainstorm-assistant/SKILL.md +125 -0
- package/bundled/skills/brainstorm-assistant/guide.md +505 -0
- package/bundled/skills/changelog-guide/SKILL.md +9 -0
- package/bundled/skills/checkin-assistant/SKILL.md +10 -0
- package/bundled/skills/code-review-assistant/SKILL.md +10 -0
- package/bundled/skills/commands/COMMAND-FAMILY-OVERVIEW.md +54 -22
- package/bundled/skills/commands/README.md +2 -0
- package/bundled/skills/commands/brainstorm.md +82 -0
- package/bundled/skills/commands/commit.md +9 -2
- package/bundled/skills/commands/dev-workflow.md +67 -0
- package/bundled/skills/commands/docs.md +1 -1
- package/bundled/skills/commands/methodology.md +1 -1
- package/bundled/skills/commands/requirement.md +1 -1
- package/bundled/skills/commands/sdd-retro.md +40 -0
- package/bundled/skills/commands/sdd.md +243 -27
- package/bundled/skills/commit-standards/SKILL.md +66 -1
- package/bundled/skills/commit-standards/guide.md +48 -5
- package/bundled/skills/dev-workflow-guide/SKILL.md +173 -0
- package/bundled/skills/dev-workflow-guide/workflow-phases.md +249 -0
- package/bundled/skills/docs-generator/SKILL.md +9 -0
- package/bundled/skills/documentation-guide/SKILL.md +56 -6
- package/bundled/skills/forward-derivation/SKILL.md +10 -0
- package/bundled/skills/forward-derivation/guide.md +1 -1
- package/bundled/skills/methodology-system/SKILL.md +10 -0
- package/bundled/skills/methodology-system/guide.md +1 -1
- package/bundled/skills/methodology-system/integrated-flow.md +45 -0
- package/bundled/skills/methodology-system/prerequisite-check.md +131 -0
- package/bundled/skills/methodology-system/runtime.md +18 -0
- package/bundled/skills/project-discovery/SKILL.md +10 -0
- package/bundled/skills/project-structure-guide/SKILL.md +12 -4
- package/bundled/skills/refactoring-assistant/SKILL.md +9 -0
- package/bundled/skills/release-standards/SKILL.md +10 -0
- package/bundled/skills/requirement-assistant/SKILL.md +9 -0
- package/bundled/skills/reverse-engineer/SKILL.md +85 -25
- package/bundled/skills/reverse-engineer/guide.md +147 -28
- package/bundled/skills/spec-driven-dev/SKILL.md +11 -0
- package/bundled/skills/spec-driven-dev/guide.md +10 -9
- package/bundled/skills/tdd-assistant/SKILL.md +9 -0
- package/bundled/skills/test-coverage-assistant/SKILL.md +9 -0
- package/bundled/skills/workflows/README.md +141 -0
- package/bundled/skills/workflows/feature-dev.workflow.yaml +6 -1
- package/package.json +2 -1
- package/src/commands/agent.js +3 -9
- package/src/commands/audit.js +385 -0
- package/src/commands/check.js +43 -59
- package/src/commands/config.js +92 -54
- package/src/commands/init.js +12 -18
- package/src/commands/list.js +6 -31
- package/src/commands/skills.js +3 -9
- package/src/commands/uninstall.js +292 -0
- package/src/commands/update.js +360 -27
- package/src/commands/workflow.js +6 -18
- package/src/config/ai-agent-paths.js +3 -0
- package/src/core/manifest.js +38 -22
- package/src/flows/init-flow.js +11 -23
- package/src/i18n/messages.js +348 -6
- package/src/installers/manifest-installer.js +5 -2
- package/src/installers/skills-installer.js +4 -2
- package/src/installers/standards-installer.js +5 -7
- package/src/prompts/init.js +45 -110
- package/src/reconciler/actual-state-scanner.js +393 -0
- package/src/reconciler/backup-manager.js +235 -0
- package/src/reconciler/desired-state-calculator.js +289 -0
- package/src/reconciler/diff-engine.js +385 -0
- package/src/reconciler/index.js +180 -0
- package/src/reconciler/manifest-migrator.js +161 -0
- package/src/reconciler/plan-executor.js +451 -0
- package/src/uninstallers/hook-uninstaller.js +43 -0
- package/src/uninstallers/integration-uninstaller.js +99 -0
- package/src/uninstallers/skills-uninstaller.js +85 -0
- package/src/uninstallers/standards-uninstaller.js +33 -0
- package/src/utils/config-manager.js +4 -0
- package/src/utils/feedback-reporter.js +291 -0
- package/src/utils/friction-detector.js +186 -0
- package/src/utils/hasher.js +27 -1
- package/src/utils/health-checker.js +209 -0
- package/src/utils/integration-generator.js +149 -42
- package/src/utils/locale.js +73 -0
- package/src/utils/npm-registry.js +1 -1
- package/src/utils/pattern-analyzer.js +302 -0
- package/src/utils/registry.js +12 -12
- package/src/utils/skills-installer.js +389 -22
- package/src/utils/standard-validator.js +1 -1
- package/src/utils/update-checker.js +139 -0
- package/standards-registry.json +243 -118
package/bin/uds.js
CHANGED
|
@@ -16,9 +16,12 @@ import { agentListCommand, agentInstallCommand, agentInfoCommand } from '../src/
|
|
|
16
16
|
import { workflowListCommand, workflowInstallCommand, workflowInfoCommand, workflowExecuteCommand, workflowStatusCommand } from '../src/commands/workflow.js';
|
|
17
17
|
import { aiContextInitCommand, aiContextValidateCommand, aiContextGraphCommand } from '../src/commands/ai-context.js';
|
|
18
18
|
import { sweepCommand } from '../src/commands/sweep.js';
|
|
19
|
+
import { auditCommand } from '../src/commands/audit.js';
|
|
20
|
+
import { uninstallCommand } from '../src/commands/uninstall.js';
|
|
19
21
|
import { specCreateCommand, specListCommand, specShowCommand, specConfirmCommand, specArchiveCommand, specDeleteCommand } from '../src/commands/spec.js';
|
|
20
22
|
import { startCommand, missionStatusCommand, missionPauseCommand, missionResumeCommand, missionCancelCommand, missionListCommand } from '../src/commands/start.js';
|
|
21
|
-
import { setLanguage, setLanguageExplicit, detectLanguage } from '../src/i18n/messages.js';
|
|
23
|
+
import { setLanguage, setLanguageExplicit, detectLanguage, t } from '../src/i18n/messages.js';
|
|
24
|
+
import { maybeCheckForUpdates, formatUpdateNotice } from '../src/utils/update-checker.js';
|
|
22
25
|
|
|
23
26
|
const require = createRequire(import.meta.url);
|
|
24
27
|
const pkg = require('../package.json');
|
|
@@ -38,12 +41,24 @@ program
|
|
|
38
41
|
// Explicit setting: mark as explicitly set to prevent override
|
|
39
42
|
setLanguageExplicit(uiLang);
|
|
40
43
|
}
|
|
44
|
+
})
|
|
45
|
+
.hook('postAction', async (thisCommand) => {
|
|
46
|
+
const cmd = thisCommand.name();
|
|
47
|
+
const notifyCommands = ['init', 'list', 'add', 'config'];
|
|
48
|
+
if (!notifyCommands.includes(cmd)) return;
|
|
49
|
+
try {
|
|
50
|
+
const result = await maybeCheckForUpdates(pkg.version);
|
|
51
|
+
if (result?.shouldNotify) {
|
|
52
|
+
console.log(formatUpdateNotice(result, t()));
|
|
53
|
+
}
|
|
54
|
+
} catch {
|
|
55
|
+
// Silent failure — update check should never break CLI
|
|
56
|
+
}
|
|
41
57
|
});
|
|
42
58
|
|
|
43
59
|
program
|
|
44
60
|
.command('list')
|
|
45
61
|
.description('List available standards')
|
|
46
|
-
.option('-l, --level <level>', 'Filter by adoption level (1, 2, or 3)')
|
|
47
62
|
.option('-c, --category <category>', 'Filter by category (skill, reference, extension, integration, template)')
|
|
48
63
|
.action(listCommand);
|
|
49
64
|
|
|
@@ -51,7 +66,6 @@ program
|
|
|
51
66
|
.command('init')
|
|
52
67
|
.description('Initialize standards in current project')
|
|
53
68
|
.option('-m, --mode <mode>', 'Installation mode (skills, full)')
|
|
54
|
-
.option('-l, --level <level>', 'Adoption level (1=Essential, 2=Recommended, 3=Enterprise)')
|
|
55
69
|
.option('-f, --format <format>', 'Standards format (ai, human, both)')
|
|
56
70
|
.option('--workflow <workflow>', 'Git workflow (github-flow, gitflow, trunk-based)')
|
|
57
71
|
.option('--merge-strategy <strategy>', 'Merge strategy (squash, merge-commit, rebase-ff)')
|
|
@@ -106,6 +120,7 @@ program
|
|
|
106
120
|
.option('--restore', 'Restore all modified and missing files')
|
|
107
121
|
.option('--restore-missing', 'Restore only missing files')
|
|
108
122
|
.option('--no-interactive', 'Disable interactive mode')
|
|
123
|
+
.option('--ci', 'CI mode: disable interactive prompts and set exit code on issues')
|
|
109
124
|
.option('--migrate', 'Migrate legacy manifest to hash-based tracking')
|
|
110
125
|
.option('--offline', 'Skip npm registry check for CLI updates')
|
|
111
126
|
.action(checkCommand);
|
|
@@ -137,6 +152,9 @@ program
|
|
|
137
152
|
.option('--skills', 'Install/update Skills for configured AI tools')
|
|
138
153
|
.option('--commands', 'Install/update slash commands for configured AI tools')
|
|
139
154
|
.option('--debug', 'Show debug output for Skills/Commands detection')
|
|
155
|
+
.option('--plan', 'Show reconciliation plan without executing (like terraform plan)')
|
|
156
|
+
.option('--force', 'Force update all files, ignoring hash comparison')
|
|
157
|
+
.option('--rollback', 'Rollback to the most recent backup')
|
|
140
158
|
.action(updateCommand);
|
|
141
159
|
|
|
142
160
|
program
|
|
@@ -152,6 +170,30 @@ program
|
|
|
152
170
|
.option('-v, --verbose', 'Show detailed output')
|
|
153
171
|
.action(sweepCommand);
|
|
154
172
|
|
|
173
|
+
program
|
|
174
|
+
.command('audit')
|
|
175
|
+
.description('Audit UDS installation and collect feedback')
|
|
176
|
+
.option('--health', 'Health check only')
|
|
177
|
+
.option('--patterns', 'Pattern detection only')
|
|
178
|
+
.option('--friction', 'Friction detection only')
|
|
179
|
+
.option('--report', 'Interactive feedback submission')
|
|
180
|
+
.option('--dry-run', 'Preview report without submitting')
|
|
181
|
+
.option('--gh', 'Force gh CLI for submission')
|
|
182
|
+
.option('--format <format>', 'Output format (json)')
|
|
183
|
+
.option('--quiet', 'Summary only')
|
|
184
|
+
.action(auditCommand);
|
|
185
|
+
|
|
186
|
+
program
|
|
187
|
+
.command('uninstall')
|
|
188
|
+
.description('Remove UDS standards, integrations, skills, and hooks')
|
|
189
|
+
.option('--all', 'Remove everything including user-level installations')
|
|
190
|
+
.option('--standards-only', 'Remove only .standards/ directory')
|
|
191
|
+
.option('--skills-only', 'Remove only skills and commands')
|
|
192
|
+
.option('--integrations-only', 'Remove only UDS blocks from integration files')
|
|
193
|
+
.option('--dry-run', 'Preview mode, no files modified')
|
|
194
|
+
.option('-y, --yes', 'Skip confirmation prompts')
|
|
195
|
+
.action(uninstallCommand);
|
|
196
|
+
|
|
155
197
|
// Spec command with subcommands (Vibe Coding)
|
|
156
198
|
const specCommand = program
|
|
157
199
|
.command('spec')
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
# AI Standards Format Guide
|
|
2
|
+
|
|
3
|
+
This document explains the file format conventions used in the AI-optimized standards.
|
|
4
|
+
|
|
5
|
+
## File Format Overview
|
|
6
|
+
|
|
7
|
+
### English Standards (ai/)
|
|
8
|
+
|
|
9
|
+
All English AI standards use **YAML format** with `.ai.yaml` extension:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
ai/
|
|
13
|
+
├── standards/
|
|
14
|
+
│ ├── testing.ai.yaml
|
|
15
|
+
│ ├── commit-message.ai.yaml
|
|
16
|
+
│ └── ...
|
|
17
|
+
└── options/
|
|
18
|
+
├── testing/
|
|
19
|
+
│ ├── unit-testing.ai.yaml
|
|
20
|
+
│ └── ...
|
|
21
|
+
└── ...
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Localized Standards (locales/)
|
|
25
|
+
|
|
26
|
+
Localized versions follow the same YAML format:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
locales/
|
|
30
|
+
├── zh-TW/
|
|
31
|
+
│ └── ai/
|
|
32
|
+
│ ├── standards/
|
|
33
|
+
│ │ └── testing.ai.yaml
|
|
34
|
+
│ └── options/
|
|
35
|
+
│ └── testing/
|
|
36
|
+
│ └── unit-testing.ai.yaml
|
|
37
|
+
└── zh-CN/
|
|
38
|
+
└── ai/
|
|
39
|
+
└── ...
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Format Specification
|
|
43
|
+
|
|
44
|
+
### Standard File Structure
|
|
45
|
+
|
|
46
|
+
```yaml
|
|
47
|
+
# <Standard Name> - AI Optimized
|
|
48
|
+
# Source: core/<standard>.md
|
|
49
|
+
|
|
50
|
+
id: <standard-id>
|
|
51
|
+
meta:
|
|
52
|
+
version: "X.Y.Z"
|
|
53
|
+
updated: "YYYY-MM-DD"
|
|
54
|
+
source: core/<standard>.md
|
|
55
|
+
description: <brief description>
|
|
56
|
+
|
|
57
|
+
# Main content sections
|
|
58
|
+
<section>:
|
|
59
|
+
<subsection>:
|
|
60
|
+
<key>: <value>
|
|
61
|
+
|
|
62
|
+
# Rules for AI behavior
|
|
63
|
+
rules:
|
|
64
|
+
- id: <rule-id>
|
|
65
|
+
trigger: <when to apply>
|
|
66
|
+
instruction: <what to do>
|
|
67
|
+
priority: required|recommended
|
|
68
|
+
|
|
69
|
+
# Quick reference tables
|
|
70
|
+
quick_reference:
|
|
71
|
+
<table_name>:
|
|
72
|
+
columns: [Col1, Col2, Col3]
|
|
73
|
+
rows:
|
|
74
|
+
- [val1, val2, val3]
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Option File Structure
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
# <Option Name> - AI Optimized Option
|
|
81
|
+
# Parent: <parent-standard>
|
|
82
|
+
|
|
83
|
+
id: <option-id>
|
|
84
|
+
meta:
|
|
85
|
+
parent: <parent-standard-id>
|
|
86
|
+
version: "X.Y.Z"
|
|
87
|
+
description: <brief description>
|
|
88
|
+
|
|
89
|
+
best_for:
|
|
90
|
+
- <use case 1>
|
|
91
|
+
- <use case 2>
|
|
92
|
+
|
|
93
|
+
# Option-specific content
|
|
94
|
+
<section>:
|
|
95
|
+
<content>
|
|
96
|
+
|
|
97
|
+
rules:
|
|
98
|
+
- id: <rule-id>
|
|
99
|
+
trigger: <when to apply>
|
|
100
|
+
instruction: <what to do>
|
|
101
|
+
priority: required|recommended
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Design Rationale
|
|
105
|
+
|
|
106
|
+
### Why YAML?
|
|
107
|
+
|
|
108
|
+
1. **AI-Friendly**: Structured data is easier for AI to parse and apply
|
|
109
|
+
2. **Human-Readable**: Clear hierarchy without syntax noise
|
|
110
|
+
3. **Tool Support**: Wide ecosystem support for validation and processing
|
|
111
|
+
4. **Extensible**: Easy to add new fields without breaking existing parsers
|
|
112
|
+
|
|
113
|
+
### Why `.ai.yaml` Extension?
|
|
114
|
+
|
|
115
|
+
1. **Identification**: Clearly marks files as AI-optimized standards
|
|
116
|
+
2. **Differentiation**: Distinguishes from regular YAML config files
|
|
117
|
+
3. **Tooling**: Enables specialized linting/validation rules
|
|
118
|
+
4. **Search**: Easy to find all AI standards with glob patterns
|
|
119
|
+
|
|
120
|
+
### Why Separate from Core Standards?
|
|
121
|
+
|
|
122
|
+
1. **Dual Purpose**: Core standards (Markdown) for humans, AI standards (YAML) for AI
|
|
123
|
+
2. **Optimization**: AI standards can be structured for efficient token usage
|
|
124
|
+
3. **Flexibility**: AI standards can include trigger rules and quick references
|
|
125
|
+
4. **Maintenance**: Can update AI format independently of human-readable docs
|
|
126
|
+
|
|
127
|
+
## Localization Guidelines
|
|
128
|
+
|
|
129
|
+
### Field Translation
|
|
130
|
+
|
|
131
|
+
| Field | Translate? | Notes |
|
|
132
|
+
|-------|------------|-------|
|
|
133
|
+
| id | No | Keep as identifier |
|
|
134
|
+
| version | No | Same as source |
|
|
135
|
+
| description | Yes | Localize |
|
|
136
|
+
| rules.instruction | Yes | Localize |
|
|
137
|
+
| quick_reference columns | Yes | Localize headers |
|
|
138
|
+
| quick_reference rows | Yes | Localize content |
|
|
139
|
+
|
|
140
|
+
### Metadata Header
|
|
141
|
+
|
|
142
|
+
Localized files include translation metadata:
|
|
143
|
+
|
|
144
|
+
```yaml
|
|
145
|
+
# Note: This is included in the file header comment
|
|
146
|
+
# source_version: <version of source file>
|
|
147
|
+
# translation_version: <version of translation>
|
|
148
|
+
# last_synced: <date>
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Validation
|
|
152
|
+
|
|
153
|
+
### Required Fields
|
|
154
|
+
|
|
155
|
+
Every standard file must have:
|
|
156
|
+
- `id`
|
|
157
|
+
- `meta.version`
|
|
158
|
+
- `meta.description`
|
|
159
|
+
|
|
160
|
+
### Optional but Recommended
|
|
161
|
+
|
|
162
|
+
- `rules[]` - AI behavior triggers
|
|
163
|
+
- `quick_reference` - Summary tables
|
|
164
|
+
- `options` - Sub-options (for parent standards)
|
|
165
|
+
|
|
166
|
+
## Examples
|
|
167
|
+
|
|
168
|
+
### Minimal Standard
|
|
169
|
+
|
|
170
|
+
```yaml
|
|
171
|
+
id: example
|
|
172
|
+
meta:
|
|
173
|
+
version: "1.0.0"
|
|
174
|
+
description: Example standard
|
|
175
|
+
|
|
176
|
+
rules:
|
|
177
|
+
- id: basic-rule
|
|
178
|
+
trigger: always
|
|
179
|
+
instruction: Follow this guideline
|
|
180
|
+
priority: required
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Full Standard
|
|
184
|
+
|
|
185
|
+
See [testing.ai.yaml](standards/testing.ai.yaml) for a complete example.
|
|
186
|
+
|
|
187
|
+
## Version History
|
|
188
|
+
|
|
189
|
+
| Version | Date | Changes |
|
|
190
|
+
|---------|------|---------|
|
|
191
|
+
| 1.0.0 | 2025-12-30 | Initial format guide |
|