universal-dev-standards 6.7.5 → 6.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/uds.js +19 -2
- package/bundled/ai/standards/acceptance-criteria-traceability.ai.yaml +14 -2
- package/bundled/ai/standards/adr-standards.ai.yaml +14 -2
- package/bundled/ai/standards/ai-instruction-standards.ai.yaml +6 -6
- package/bundled/ai/standards/code-review.ai.yaml +13 -3
- package/bundled/ai/standards/commit-message.ai.yaml +8 -4
- package/bundled/ai/standards/deferred-item-exit.ai.yaml +225 -0
- package/bundled/ai/standards/feature-discovery-standards.ai.yaml +14 -2
- package/bundled/ai/standards/governance-layer.ai.yaml +128 -2
- package/bundled/ai/standards/logging.ai.yaml +2 -2
- package/bundled/ai/standards/retrospective-standards.ai.yaml +14 -2
- package/bundled/ai/standards/reverse-engineering-standards.ai.yaml +73 -2
- package/bundled/ai/standards/security-standards.ai.yaml +2 -2
- package/bundled/ai/standards/spec-driven-development.ai.yaml +14 -2
- package/bundled/ai/standards/tech-debt-standards.ai.yaml +87 -3
- package/bundled/ai/standards/turn-completion-integrity.ai.yaml +131 -0
- package/bundled/core/acceptance-criteria-traceability.md +5 -2
- package/bundled/core/adr-standards.md +26 -2
- package/bundled/core/ai-instruction-standards.md +9 -7
- package/bundled/core/code-review-checklist.md +5 -2
- package/bundled/core/context-aware-loading.md +1 -1
- package/bundled/core/deferred-item-exit.md +254 -0
- package/bundled/core/feature-discovery-standards.md +5 -1
- package/bundled/core/governance-layer.md +114 -2
- package/bundled/core/retrospective-standards.md +4 -2
- package/bundled/core/reverse-engineering-standards.md +81 -2
- package/bundled/core/spec-driven-development.md +8 -2
- package/bundled/core/tech-debt-standards.md +67 -8
- package/bundled/core/turn-completion-integrity.md +196 -0
- package/bundled/hooks/check-dangerous-cmd.mjs +60 -0
- package/bundled/hooks/check-logging-standard.mjs +59 -0
- package/bundled/hooks/check-turn-completion.mjs +233 -0
- package/bundled/hooks/inject-standards.mjs +183 -0
- package/bundled/hooks/telemetry-wrapper.mjs +77 -0
- package/bundled/hooks/turn-completion/detect.mjs +99 -0
- package/bundled/hooks/turn-completion/locales/en.mjs +159 -0
- package/bundled/hooks/turn-completion/locales/zh-TW.mjs +166 -0
- package/bundled/hooks/validate-commit-msg.mjs +104 -0
- package/bundled/locales/zh-CN/CHANGELOG.md +65 -3
- package/bundled/locales/zh-CN/CLAUDE.md +1 -1
- package/bundled/locales/zh-CN/README.md +7 -7
- package/bundled/locales/zh-CN/SECURITY.md +1 -1
- package/bundled/locales/zh-CN/core/adr-standards.md +1 -1
- package/bundled/locales/zh-CN/core/ai-instruction-standards.md +10 -8
- package/bundled/locales/zh-CN/core/governance-layer.md +118 -6
- package/bundled/locales/zh-CN/core/retrospective-standards.md +1 -1
- package/bundled/locales/zh-CN/core/tech-debt-standards.md +71 -4
- package/bundled/locales/zh-CN/core/turn-completion-integrity.md +190 -0
- package/bundled/locales/zh-CN/docs/CHEATSHEET.md +27 -6
- package/bundled/locales/zh-CN/docs/CLI-INIT-OPTIONS.md +29 -68
- package/bundled/locales/zh-CN/docs/FEATURE-REFERENCE.md +172 -24
- package/bundled/locales/zh-CN/docs/USAGE-MODES-COMPARISON.md +1 -2
- package/bundled/locales/zh-CN/integrations/google-antigravity/{INSTRUCTIONS.md → AGENTS.md} +1 -1
- package/bundled/locales/zh-CN/integrations/google-antigravity/README.md +3 -3
- package/bundled/locales/zh-CN/skills/agents/README.md +1 -1
- package/bundled/locales/zh-CN/skills/atdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-CN/skills/bdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/SKILL.md +22 -12
- package/bundled/locales/zh-CN/skills/brainstorm-assistant/guide.md +12 -9
- package/bundled/locales/zh-CN/skills/code-review-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-CN/skills/commands/brainstorm.md +17 -13
- package/bundled/locales/zh-CN/skills/commands/config.md +0 -1
- package/bundled/locales/zh-CN/skills/commands/init.md +1 -2
- package/bundled/locales/zh-CN/skills/commit-standards/SKILL.md +2 -0
- package/bundled/locales/zh-CN/skills/contract-test-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-CN/skills/dev-methodology/SKILL.md +2 -0
- package/bundled/locales/zh-CN/skills/observability-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-CN/skills/project-structure-guide/SKILL.md +1 -0
- package/bundled/locales/zh-CN/skills/release-standards/SKILL.md +3 -0
- package/bundled/locales/zh-CN/skills/requirement-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-CN/skills/reverse-engineer/SKILL.md +3 -0
- package/bundled/locales/zh-CN/skills/reverse-engineer/tdd-analysis.md +13 -23
- package/bundled/locales/zh-CN/skills/runbook-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-CN/skills/slo-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-CN/skills/tdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-CN/skills/workflows/README.md +2 -11
- package/bundled/locales/zh-TW/CHANGELOG.md +65 -3
- package/bundled/locales/zh-TW/CLAUDE.md +1 -1
- package/bundled/locales/zh-TW/README.md +7 -7
- package/bundled/locales/zh-TW/SECURITY.md +1 -1
- package/bundled/locales/zh-TW/core/acceptance-criteria-traceability.md +2 -0
- package/bundled/locales/zh-TW/core/adr-standards.md +26 -5
- package/bundled/locales/zh-TW/core/ai-instruction-standards.md +10 -8
- package/bundled/locales/zh-TW/core/code-review-checklist.md +2 -0
- package/bundled/locales/zh-TW/core/container-image-standards.md +2 -2
- package/bundled/locales/zh-TW/core/contract-testing-standards.md +2 -2
- package/bundled/locales/zh-TW/core/cross-flow-regression.md +8 -7
- package/bundled/locales/zh-TW/core/data-contract.md +2 -2
- package/bundled/locales/zh-TW/core/data-migration-testing.md +2 -2
- package/bundled/locales/zh-TW/core/data-pipeline.md +2 -2
- package/bundled/locales/zh-TW/core/deferred-item-exit.md +251 -0
- package/bundled/locales/zh-TW/core/documentation-writing-standards.md +228 -3
- package/bundled/locales/zh-TW/core/full-coverage-testing.md +15 -2
- package/bundled/locales/zh-TW/core/governance-layer.md +118 -5
- package/bundled/locales/zh-TW/core/iac-design-principles.md +2 -2
- package/bundled/locales/zh-TW/core/incident-response.md +2 -2
- package/bundled/locales/zh-TW/core/model-provenance.md +4 -2
- package/bundled/locales/zh-TW/core/pii-classification.md +42 -6
- package/bundled/locales/zh-TW/core/prd-standards.md +4 -2
- package/bundled/locales/zh-TW/core/product-metrics-standards.md +4 -2
- package/bundled/locales/zh-TW/core/release-readiness-gate.md +2 -2
- package/bundled/locales/zh-TW/core/resource-cost-boundary.md +2 -2
- package/bundled/locales/zh-TW/core/retrospective-standards.md +5 -3
- package/bundled/locales/zh-TW/core/reverse-engineering-standards.md +83 -5
- package/bundled/locales/zh-TW/core/runbook.md +2 -2
- package/bundled/locales/zh-TW/core/schema-evolution.md +2 -2
- package/bundled/locales/zh-TW/core/secret-management-standards.md +2 -2
- package/bundled/locales/zh-TW/core/slo-sli.md +2 -2
- package/bundled/locales/zh-TW/core/spec-driven-development.md +2 -0
- package/bundled/locales/zh-TW/core/tech-debt-standards.md +71 -4
- package/bundled/locales/zh-TW/core/turn-completion-integrity.md +190 -0
- package/bundled/locales/zh-TW/core/user-journey-testing.md +2 -2
- package/bundled/locales/zh-TW/core/user-story-mapping.md +2 -2
- package/bundled/locales/zh-TW/core/verification-oracle.md +2 -2
- package/bundled/locales/zh-TW/docs/CHEATSHEET.md +27 -6
- package/bundled/locales/zh-TW/docs/CLI-INIT-OPTIONS.md +29 -68
- package/bundled/locales/zh-TW/docs/FEATURE-REFERENCE.md +172 -24
- package/bundled/locales/zh-TW/docs/USAGE-MODES-COMPARISON.md +1 -2
- package/bundled/locales/zh-TW/integrations/google-antigravity/{INSTRUCTIONS.md → AGENTS.md} +1 -1
- package/bundled/locales/zh-TW/integrations/google-antigravity/README.md +3 -3
- package/bundled/locales/zh-TW/skills/adr-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/agents/README.md +1 -1
- package/bundled/locales/zh-TW/skills/atdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/bdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/SKILL.md +22 -12
- package/bundled/locales/zh-TW/skills/brainstorm-assistant/guide.md +12 -9
- package/bundled/locales/zh-TW/skills/code-review-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-TW/skills/commands/brainstorm.md +17 -13
- package/bundled/locales/zh-TW/skills/commands/config.md +0 -1
- package/bundled/locales/zh-TW/skills/commands/init.md +1 -2
- package/bundled/locales/zh-TW/skills/commit-standards/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/contract-test-assistant/SKILL.md +2 -1
- package/bundled/locales/zh-TW/skills/dev-methodology/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/dev-workflow-guide/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/knowledge-graph/guide.md +2 -2
- package/bundled/locales/zh-TW/skills/migration-assistant/SKILL.md +1 -1
- package/bundled/locales/zh-TW/skills/observability-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-TW/skills/project-discovery/SKILL.md +1 -0
- package/bundled/locales/zh-TW/skills/project-structure-guide/SKILL.md +1 -0
- package/bundled/locales/zh-TW/skills/release-standards/SKILL.md +3 -0
- package/bundled/locales/zh-TW/skills/requirement-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/reverse-engineer/SKILL.md +3 -0
- package/bundled/locales/zh-TW/skills/reverse-engineer/tdd-analysis.md +13 -23
- package/bundled/locales/zh-TW/skills/runbook-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-TW/skills/slo-assistant/SKILL.md +1 -0
- package/bundled/locales/zh-TW/skills/tdd-assistant/SKILL.md +2 -0
- package/bundled/locales/zh-TW/skills/workflows/README.md +2 -11
- package/bundled/skills/agents/README.md +1 -1
- package/bundled/skills/atdd-assistant/SKILL.md +2 -0
- package/bundled/skills/bdd-assistant/SKILL.md +2 -0
- package/bundled/skills/brainstorm-assistant/SKILL.md +31 -13
- package/bundled/skills/brainstorm-assistant/guide.md +9 -6
- package/bundled/skills/code-review-assistant/SKILL.md +1 -0
- package/bundled/skills/commands/brainstorm.md +12 -9
- package/bundled/skills/commands/config.md +0 -1
- package/bundled/skills/commands/init.md +2 -3
- package/bundled/skills/commit-standards/SKILL.md +2 -0
- package/bundled/skills/contract-test-assistant/SKILL.md +1 -0
- package/bundled/skills/dev-methodology/SKILL.md +4 -0
- package/bundled/skills/observability-assistant/SKILL.md +1 -0
- package/bundled/skills/project-discovery/SKILL.md +1 -0
- package/bundled/skills/project-structure-guide/SKILL.md +1 -0
- package/bundled/skills/release-standards/SKILL.md +3 -0
- package/bundled/skills/requirement-assistant/SKILL.md +2 -0
- package/bundled/skills/reverse-engineer/SKILL.md +3 -0
- package/bundled/skills/reverse-engineer/tdd-analysis.md +16 -23
- package/bundled/skills/runbook-assistant/SKILL.md +1 -0
- package/bundled/skills/slo-assistant/SKILL.md +1 -0
- package/bundled/skills/tdd-assistant/SKILL.md +2 -0
- package/bundled/skills/workflows/README.md +2 -11
- package/bundled/templates/.ai-context.yaml.template +194 -0
- package/bundled/templates/CLAUDE.md.template +145 -0
- package/bundled/templates/DESIGN.md +237 -0
- package/bundled/templates/SKILL-BRIEF-TEMPLATE.md +57 -0
- package/bundled/templates/SKILL-CANDIDATES.md +39 -0
- package/bundled/templates/gates/check-error-exit.mjs +309 -0
- package/bundled/templates/mcp-config.json +10 -0
- package/bundled/templates/methodology-template.yaml +209 -0
- package/bundled/templates/migration-template.md +408 -0
- package/bundled/templates/requirement-checklist.md +410 -0
- package/bundled/templates/requirement-document-template.md +591 -0
- package/bundled/templates/requirement-template.md +881 -0
- package/bundled/templates/reverse-spec-template.md +409 -0
- package/bundled/templates/test-case-template.md +74 -0
- package/bundled/templates/test-plan-template.md +74 -0
- package/package.json +9 -5
- package/src/commands/audit.js +82 -0
- package/src/commands/check.js +66 -10
- package/src/commands/init.js +161 -16
- package/src/commands/lint.js +96 -0
- package/src/commands/quickstart.js +16 -13
- package/src/commands/update.js +286 -14
- package/src/compilers/claude-code-compiler.js +4 -1
- package/src/config/ai-agent-paths.js +62 -17
- package/src/core/constants.js +42 -11
- package/src/core/manifest.js +201 -3
- package/src/core/paths.js +2 -2
- package/src/i18n/messages.js +9 -32
- package/src/installers/hooks-installer.js +167 -75
- package/src/installers/integration-installer.js +9 -5
- package/src/prompts/init.js +14 -14
- package/src/reconciler/actual-state-scanner.js +14 -3
- package/src/utils/detector.js +21 -1
- package/src/utils/effect-boundary.js +1093 -0
- package/src/utils/hasher.js +229 -9
- package/src/utils/hook-stats.js +1 -1
- package/src/utils/integration-generator.js +100 -4
- package/src/utils/reference-sync.js +4 -1
- package/src/utils/skills-installer.js +17 -3
- package/src/utils/spec-linter.js +35 -76
- package/src/utils/yaml-generator.js +51 -9
- package/standards-registry.json +31 -8
- package/src/commands/sync.js +0 -133
|
@@ -45,7 +45,7 @@ status: current
|
|
|
45
45
|
◯ Windsurf (.windsurfrules)
|
|
46
46
|
◯ Cline (.clinerules)
|
|
47
47
|
◯ GitHub Copilot (.github/copilot-instructions.md)
|
|
48
|
-
◯ Google Antigravity (
|
|
48
|
+
◯ Google Antigravity (.agents/AGENTS.md) - Gemini Agent
|
|
49
49
|
── AGENTS.md Tools ──
|
|
50
50
|
◯ OpenAI Codex (AGENTS.md) - OpenAI Codex CLI
|
|
51
51
|
◯ OpenCode (AGENTS.md) - Open-source AI coding agent
|
|
@@ -68,7 +68,7 @@ status: current
|
|
|
68
68
|
| **Windsurf** | `.windsurfrules` | Plaintext | Windsurf IDE 规则文件 |
|
|
69
69
|
| **Cline** | `.clinerules` | Plaintext | Cline 扩展规则文件 |
|
|
70
70
|
| **GitHub Copilot** | `.github/copilot-instructions.md` | Markdown | Copilot 自定义指示 |
|
|
71
|
-
| **Google Antigravity** |
|
|
71
|
+
| **Google Antigravity** | `.agents/AGENTS.md` | Markdown | Gemini Agent 系统指令 |
|
|
72
72
|
| **OpenAI Codex** | `AGENTS.md` | Markdown | OpenAI Codex CLI |
|
|
73
73
|
| **OpenCode** | `AGENTS.md` | Markdown | 开源 AI 编码 Agent(与 Codex 共用文件) |
|
|
74
74
|
| **Gemini CLI** | `GEMINI.md` | Markdown | Google Gemini CLI |
|
|
@@ -626,21 +626,26 @@ uds init
|
|
|
626
626
|
```
|
|
627
627
|
? Select content level:
|
|
628
628
|
❯ Standard (推荐) - Summary + links to full docs
|
|
629
|
-
Full Embed - All rules in one file (larger)
|
|
630
629
|
Minimal - Core rules only (smallest)
|
|
631
630
|
```
|
|
632
631
|
|
|
633
632
|
### 说明
|
|
634
633
|
|
|
635
|
-
决定 AI
|
|
634
|
+
决定 AI 工具集成文件中嵌入多少标准内容。
|
|
635
|
+
|
|
636
|
+
> **第三个模式 `full`(Full Embed)已于 UDS 6.9.0 移除。**
|
|
637
|
+
> 它从来没有产生过与 `index` 不同的文件——生成器只在 `minimal` 上分支,
|
|
638
|
+
> 因此两者在实测的 24 组(工具 × 语言)组合中输出逐位相同。
|
|
639
|
+
> `--content-mode full` 仍然接受,并解析为 `index`;manifest 中记录的 `full`
|
|
640
|
+
> 会在下一次执行时改写为 `index`。**任何项目拿到的文件都不会改变**,
|
|
641
|
+
> 因为两个模式本来就产生相同的字节。详见 XSPEC-357 R7。
|
|
636
642
|
|
|
637
643
|
### 选项
|
|
638
644
|
|
|
639
|
-
| 模式 |
|
|
640
|
-
|
|
641
|
-
| **Standard
|
|
642
|
-
| **
|
|
643
|
-
| **Minimal** | 最小 | 低 | 旧项目迁移 |
|
|
645
|
+
| 模式 | 内容 | 适用情境 |
|
|
646
|
+
|------|------|----------|
|
|
647
|
+
| **Standard**(`index`,推荐) | 标准索引 + MUST/SHOULD 任务对照表 | 大多数项目 |
|
|
648
|
+
| **Minimal**(`minimal`) | 仅文件引用 | 由 Skills 提供任务指引的项目 |
|
|
644
649
|
|
|
645
650
|
### 详细说明
|
|
646
651
|
|
|
@@ -714,47 +719,17 @@ uds init
|
|
|
714
719
|
- ✅ 希望 AI 遵守规范但不想文件太大
|
|
715
720
|
- ✅ AI 工具会读取项目文件
|
|
716
721
|
|
|
717
|
-
#### Full Embed
|
|
718
|
-
|
|
719
|
-
**生成内容**:完整嵌入所有规则
|
|
720
|
-
|
|
721
|
-
```markdown
|
|
722
|
-
## Anti-Hallucination Protocol
|
|
723
|
-
Reference: .standards/anti-hallucination.md
|
|
724
|
-
|
|
725
|
-
### Core Principle
|
|
726
|
-
You are an AI assistant that prioritizes accuracy over confidence...
|
|
727
|
-
|
|
728
|
-
### Evidence-Based Analysis
|
|
729
|
-
1. **File Reading Requirement**
|
|
730
|
-
- You MUST read files before analyzing them
|
|
731
|
-
- Do not guess APIs, class names, or library versions
|
|
732
|
-
...
|
|
733
|
-
|
|
734
|
-
---
|
|
735
|
-
|
|
736
|
-
## Commit Message Standards
|
|
737
|
-
Reference: .standards/commit-message.ai.yaml
|
|
722
|
+
#### Full Embed 模式(已移除)
|
|
738
723
|
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
### Commit Types
|
|
743
|
-
| Type | Description | Example |
|
|
744
|
-
| feat | New feature | feat(auth): add OAuth2 login |
|
|
745
|
-
...
|
|
746
|
-
```
|
|
724
|
+
这一节原本描述一个把完整规则正文嵌入集成文件的模式,声称能「**保证**」AI
|
|
725
|
+
看到所有标准,并产生「比 Index 大 3-5 倍」的文件。
|
|
747
726
|
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
-
|
|
751
|
-
- 文件大小可能是 Index 的 3-5 倍
|
|
727
|
+
**这些从来都没有被实现。** `full` 与 `index` 走同一条代码路径、写出相同的字节。
|
|
728
|
+
它也不可能按描述运作:`.standards/` 约 248k token,远超过任何集成文件装得下的量。
|
|
729
|
+
该模式已于 UDS 6.9.0 移除(XSPEC-357 R7),现在解析为 `index`。
|
|
752
730
|
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
- ✅ AI 可能不读取外部文件
|
|
756
|
-
- ✅ 不能容许 AI 遗漏任何规则
|
|
757
|
-
- ✅ 新团队导入,确保完全了解规范
|
|
731
|
+
若你当初是为了合规理由选择它,你拿到的一直都是 `index` 的输出,
|
|
732
|
+
因此产生的文件不会有任何改变。
|
|
758
733
|
|
|
759
734
|
### 决策流程
|
|
760
735
|
|
|
@@ -763,19 +738,8 @@ Reference: .standards/commit-message.ai.yaml
|
|
|
763
738
|
│
|
|
764
739
|
▼
|
|
765
740
|
┌─────────────────────────────┐
|
|
766
|
-
│
|
|
767
|
-
|
|
768
|
-
│
|
|
769
|
-
┌───┴───┐
|
|
770
|
-
│ │
|
|
771
|
-
是 否
|
|
772
|
-
│ │
|
|
773
|
-
▼ ▼
|
|
774
|
-
Index Full
|
|
775
|
-
│
|
|
776
|
-
▼
|
|
777
|
-
┌─────────────────────────────┐
|
|
778
|
-
│ 是否有严格合规要求? │
|
|
741
|
+
│ 是否已安装 Skills 并由它 │
|
|
742
|
+
│ 提供任务指引? │
|
|
779
743
|
└─────────────────────────────┘
|
|
780
744
|
│
|
|
781
745
|
┌───┴───┐
|
|
@@ -783,10 +747,7 @@ Index Full
|
|
|
783
747
|
是 否
|
|
784
748
|
│ │
|
|
785
749
|
▼ ▼
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
旧项目迁移 / 想要最小改动? → Minimal
|
|
750
|
+
Minimal Index
|
|
790
751
|
```
|
|
791
752
|
|
|
792
753
|
### 使用案例
|
|
@@ -794,11 +755,11 @@ Index Full
|
|
|
794
755
|
| 案例 | 推荐模式 | 理由 |
|
|
795
756
|
|------|----------|------|
|
|
796
757
|
| 创业团队的 SaaS 项目 | **Index** | 平衡效率与规范 |
|
|
797
|
-
| 银行核心系统 | **
|
|
758
|
+
| 银行核心系统 | **Index** | 索引会列出每一条适用标准与适用时机 |
|
|
798
759
|
| 个人 side project | **Minimal** | 轻量就好 |
|
|
799
760
|
| 开源项目 | **Index** | 让贡献者 AI 知道规范 |
|
|
800
761
|
| 从旧设置迁移 | **Minimal** | 保留现有设置 |
|
|
801
|
-
| 新导入 AI 的传统企业 | **
|
|
762
|
+
| 新导入 AI 的传统企业 | **Index** | 与已移除的 `full` 模式产出相同 |
|
|
802
763
|
|
|
803
764
|
---
|
|
804
765
|
|
|
@@ -895,8 +856,8 @@ uds init -y \
|
|
|
895
856
|
--test-levels unit,integration \
|
|
896
857
|
--content-mode index
|
|
897
858
|
|
|
898
|
-
#
|
|
899
|
-
uds init -y --content-mode
|
|
859
|
+
# 最小化集成文件(由 Skills 提供任务指引)
|
|
860
|
+
uds init -y --content-mode minimal
|
|
900
861
|
|
|
901
862
|
# 生成 AGENTS.md 通用摘要(--yes 模式默认生成)
|
|
902
863
|
uds init -y --agents-md
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# UDS 功能参考手册
|
|
2
2
|
|
|
3
3
|
> Universal Development Standards - 完整功能文档
|
|
4
|
-
> Auto-generated | Last updated: 2026-
|
|
4
|
+
> Auto-generated | Last updated: 2026-09-14
|
|
5
5
|
|
|
6
6
|
**Language**: [English](../../../docs/reference/FEATURE-REFERENCE.md) | [繁體中文](../../zh-TW/docs/FEATURE-REFERENCE.md) | 简体中文
|
|
7
7
|
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
|
|
10
10
|
## 目录
|
|
11
11
|
|
|
12
|
-
1. [CLI 指令](#cli-commands) (
|
|
12
|
+
1. [CLI 指令](#cli-commands) (23)
|
|
13
13
|
2. [斜线命令](#slash-commands) (51)
|
|
14
14
|
3. [技能](#skills) (55)
|
|
15
15
|
4. [代理](#agents) (5)
|
|
16
16
|
5. [工作流程](#workflows) (5)
|
|
17
|
-
6. [核心规范](#core-standards) (
|
|
18
|
-
7. [脚本](#scripts) (
|
|
17
|
+
6. [核心规范](#core-standards) (152)
|
|
18
|
+
7. [脚本](#scripts) (59)
|
|
19
19
|
|
|
20
|
-
**Total Features:
|
|
20
|
+
**Total Features: 350**
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
|
@@ -49,18 +49,31 @@
|
|
|
49
49
|
| `--framework` | Framework extension (fat-free) |
|
|
50
50
|
| `--locale` | Locale extension (zh-tw) |
|
|
51
51
|
| `--skills-location` | Skills location (marketplace, user, project, none) [default: marketplace] |
|
|
52
|
-
| `--content-mode` | Content mode for integration files (minimal, index
|
|
52
|
+
| `--content-mode` | Content mode for integration files (minimal, index) [default: index]; full is retired and resolves to index |
|
|
53
53
|
| `--agents-md` | Generate AGENTS.md universal summary |
|
|
54
54
|
| `--no-agents-md` | Skip AGENTS.md generation |
|
|
55
|
-
| `--with-hooks` | Install enforcement hooks
|
|
55
|
+
| `--with-hooks` | Install enforcement hooks declared by the installed standards |
|
|
56
56
|
| `--content-layout` | Content layout (flat, layered) [default: flat] |
|
|
57
57
|
| `-y, --yes` | Use defaults, skip interactive prompts |
|
|
58
58
|
| `-E, --experimental` | Enable experimental features (methodology) |
|
|
59
59
|
| `--force` | Bypass UDS source-repo self-adoption guard (DEC-044 / XSPEC-071) |
|
|
60
60
|
|
|
61
|
+
### `uds config`
|
|
62
|
+
|
|
63
|
+
**说明**: Manage UDS configuration and project settings
|
|
64
|
+
|
|
65
|
+
### `uds hitl`
|
|
66
|
+
|
|
67
|
+
**说明**: Human-in-the-Loop controls
|
|
68
|
+
|
|
69
|
+
**选项**:
|
|
70
|
+
| Option | 说明 |
|
|
71
|
+
|--------|-------------|
|
|
72
|
+
| `--op` | Operation description |
|
|
73
|
+
|
|
61
74
|
### `uds configure`
|
|
62
75
|
|
|
63
|
-
**说明**:
|
|
76
|
+
**说明**: Alias for "uds config" — Modify project settings
|
|
64
77
|
|
|
65
78
|
**选项**:
|
|
66
79
|
| Option | 说明 |
|
|
@@ -73,7 +86,7 @@
|
|
|
73
86
|
|
|
74
87
|
### `uds check`
|
|
75
88
|
|
|
76
|
-
**说明**: Check adoption status
|
|
89
|
+
**说明**: Check file integrity and adoption status (quick validation). For deep health diagnosis, use "uds audit"
|
|
77
90
|
|
|
78
91
|
**选项**:
|
|
79
92
|
| Option | 说明 |
|
|
@@ -91,6 +104,36 @@
|
|
|
91
104
|
| `--force` | Bypass UDS source-repo self-adoption guard (DEC-044 / XSPEC-071) |
|
|
92
105
|
| `--i18n` | Run i18n lint rules (XSPEC-239) across canonical + locale variants |
|
|
93
106
|
|
|
107
|
+
### `uds lint`
|
|
108
|
+
|
|
109
|
+
**说明**: Check spec dependency validity and size against installed specs (specs/*.md)
|
|
110
|
+
|
|
111
|
+
**选项**:
|
|
112
|
+
| Option | 说明 |
|
|
113
|
+
|--------|-------------|
|
|
114
|
+
| `--json` | Output result in JSON format |
|
|
115
|
+
|
|
116
|
+
### `uds simulate`
|
|
117
|
+
|
|
118
|
+
**说明**: Simulate a standard check with input (Predictive Validation)
|
|
119
|
+
|
|
120
|
+
**选项**:
|
|
121
|
+
| Option | 说明 |
|
|
122
|
+
|--------|-------------|
|
|
123
|
+
| `-s, --standard` | Standard to simulate against |
|
|
124
|
+
| `-i, --input` | Input string to test |
|
|
125
|
+
| `--json` | Output result in JSON format |
|
|
126
|
+
|
|
127
|
+
### `uds fix`
|
|
128
|
+
|
|
129
|
+
**说明**: Auto-fix standard violations (Self-Healing)
|
|
130
|
+
|
|
131
|
+
**选项**:
|
|
132
|
+
| Option | 说明 |
|
|
133
|
+
|--------|-------------|
|
|
134
|
+
| `-s, --standard` | Standard to fix |
|
|
135
|
+
| `--json` | Output result in JSON format |
|
|
136
|
+
|
|
94
137
|
### `uds update`
|
|
95
138
|
|
|
96
139
|
**说明**: Update standards to latest version
|
|
@@ -110,6 +153,7 @@
|
|
|
110
153
|
| `--plan` | Show reconciliation plan without executing (like terraform plan); combines with --skills/--commands to plan just that scope, still writing nothing |
|
|
111
154
|
| `--apply` | Apply exactly the plan --plan prints (plain `uds update` does not); with --skills/--commands it does the reconciliation AND that scope, not only the scope |
|
|
112
155
|
| `--force` | Force update all files, ignoring hash comparison |
|
|
156
|
+
| `--prune` | Delete .standards/ files UDS wrote but no longer ships (listed without this flag; never touches files UDS did not write) |
|
|
113
157
|
| `--rollback` | Rollback to the most recent backup |
|
|
114
158
|
| `--locale` | Override locale for skills install (zh-tw, zh-cn, en); also reads .uds/install.yaml + UDS_LOCALE env |
|
|
115
159
|
|
|
@@ -117,9 +161,102 @@
|
|
|
117
161
|
|
|
118
162
|
**说明**: List installed Claude Code skills
|
|
119
163
|
|
|
164
|
+
### `uds audit`
|
|
165
|
+
|
|
166
|
+
**说明**: Deep health diagnosis with pattern detection and feedback (strategic). For quick file check, use "uds check"
|
|
167
|
+
|
|
168
|
+
**选项**:
|
|
169
|
+
| Option | 说明 |
|
|
170
|
+
|--------|-------------|
|
|
171
|
+
| `--health` | Health check only |
|
|
172
|
+
| `--patterns` | Pattern detection only |
|
|
173
|
+
| `--friction` | Friction detection only |
|
|
174
|
+
| `--report` | Interactive feedback submission |
|
|
175
|
+
| `--yes` | Submit all findings without interactive selection (CI / non-TTY) |
|
|
176
|
+
| `--dry-run` | Preview report without submitting |
|
|
177
|
+
| `--gh` | Force gh CLI for submission |
|
|
178
|
+
| `--format` | Output format (json) |
|
|
179
|
+
| `--quiet` | Summary only |
|
|
180
|
+
| `--score` | Run multi-dimensional health score analysis |
|
|
181
|
+
| `--self` | Self mode: analyze UDS repo itself (use with --score) |
|
|
182
|
+
| `--save` | Save score snapshot for trend tracking (use with --score) |
|
|
183
|
+
| `--trend` | Show historical score trend (use with --score) |
|
|
184
|
+
| `--ci` | CI mode: output score only, exit 1 if below threshold (use with --score) |
|
|
185
|
+
| `--threshold` | Score threshold for CI mode (default: 75) |
|
|
186
|
+
| `--effects` | Static effect boundary gate: do the implementations of each declared effect interface reach anything outside this process |
|
|
187
|
+
| `--effects-config` | Path to the effect-family config (default: .uds/effect-boundary.json) |
|
|
188
|
+
|
|
189
|
+
### `uds deps`
|
|
190
|
+
|
|
191
|
+
**说明**: Compare the versions you test against the versions your declared ranges resolve to
|
|
192
|
+
|
|
193
|
+
**选项**:
|
|
194
|
+
| Option | 说明 |
|
|
195
|
+
|--------|-------------|
|
|
196
|
+
| `--path` | Directory containing package.json (default: cwd) |
|
|
197
|
+
| `--json` | Output raw JSON |
|
|
198
|
+
| `--concurrency` | Parallel registry lookups (default: 8) |
|
|
199
|
+
|
|
200
|
+
### `uds uninstall`
|
|
201
|
+
|
|
202
|
+
**说明**: Remove UDS standards, integrations, skills, and hooks
|
|
203
|
+
|
|
204
|
+
**选项**:
|
|
205
|
+
| Option | 说明 |
|
|
206
|
+
|--------|-------------|
|
|
207
|
+
| `--all` | Remove everything including user-level installations |
|
|
208
|
+
| `--standards-only` | Remove only .standards/ directory |
|
|
209
|
+
| `--skills-only` | Remove only skills and commands |
|
|
210
|
+
| `--integrations-only` | Remove only UDS blocks from integration files |
|
|
211
|
+
| `--dry-run` | Preview mode, no files modified |
|
|
212
|
+
| `-y, --yes` | Skip confirmation prompts |
|
|
213
|
+
|
|
214
|
+
### `uds compile`
|
|
215
|
+
|
|
216
|
+
**说明**: Compile enforcement standards into hook configurations
|
|
217
|
+
|
|
218
|
+
**选项**:
|
|
219
|
+
| Option | 说明 |
|
|
220
|
+
|--------|-------------|
|
|
221
|
+
| `--target` | Target platform (claude-code) |
|
|
222
|
+
| `--dry-run` | Preview output without writing files |
|
|
223
|
+
|
|
224
|
+
### `uds report`
|
|
225
|
+
|
|
226
|
+
**说明**: Analyze hook telemetry and show adoption report
|
|
227
|
+
|
|
228
|
+
### `uds release`
|
|
229
|
+
|
|
230
|
+
**说明**: Manage release process (promote, deploy, manifest, verify)
|
|
231
|
+
|
|
232
|
+
### `uds spec`
|
|
233
|
+
|
|
234
|
+
**说明**: Manage lightweight micro-specs for vibe coding. For full spec lifecycle with review, use "/sdd"
|
|
235
|
+
|
|
236
|
+
**选项**:
|
|
237
|
+
| Option | 说明 |
|
|
238
|
+
|--------|-------------|
|
|
239
|
+
| `-s, --scope` | Scope (frontend, backend, fullstack) |
|
|
240
|
+
| `-o, --output` | Output directory (default: specs/) |
|
|
241
|
+
| `-y, --yes` | Auto-confirm without prompting |
|
|
242
|
+
| `--status` | Filter by status (draft, confirmed, archived) |
|
|
243
|
+
| `-o, --output` | Specs directory (default: specs/) |
|
|
244
|
+
| `-o, --output` | Specs directory (default: specs/) |
|
|
245
|
+
| `-o, --output` | Specs directory (default: specs/) |
|
|
246
|
+
| `-o, --output` | Specs directory (default: specs/) |
|
|
247
|
+
| `-y, --yes` | Skip confirmation |
|
|
248
|
+
| `-o, --output` | Specs directory (default: specs/) |
|
|
249
|
+
| `--archived` | Search only archived specs |
|
|
250
|
+
| `-o, --output` | Specs directory |
|
|
251
|
+
| `-o, --output` | Specs directory |
|
|
252
|
+
|
|
253
|
+
### `uds quickstart`
|
|
254
|
+
|
|
255
|
+
**说明**: Interactive workflow guide — find the right commands quickly
|
|
256
|
+
|
|
120
257
|
### `uds agent`
|
|
121
258
|
|
|
122
|
-
**说明**: Manage UDS agents
|
|
259
|
+
**说明**: Manage UDS agents for AI tools
|
|
123
260
|
|
|
124
261
|
**选项**:
|
|
125
262
|
| Option | 说明 |
|
|
@@ -129,13 +266,17 @@
|
|
|
129
266
|
| `-g, --global` | Install to user level instead of project level |
|
|
130
267
|
| `-y, --yes` | Skip confirmation prompts |
|
|
131
268
|
|
|
132
|
-
### `uds
|
|
269
|
+
### `uds ai-context`
|
|
133
270
|
|
|
134
|
-
**说明**: Manage
|
|
271
|
+
**说明**: Manage .ai-context.yaml configuration for AI-friendly architecture
|
|
135
272
|
|
|
136
|
-
### `uds
|
|
273
|
+
### `uds mcp`
|
|
274
|
+
|
|
275
|
+
**说明**: MCP server commands for AI tool integration
|
|
276
|
+
|
|
277
|
+
### `uds run`
|
|
137
278
|
|
|
138
|
-
**说明**:
|
|
279
|
+
**说明**: Run a project command by intent (test/lint/build/security) via uds.project.yaml
|
|
139
280
|
|
|
140
281
|
---
|
|
141
282
|
|
|
@@ -287,10 +428,10 @@
|
|
|
287
428
|
|
|
288
429
|
| Standard | 版本 | 说明 |
|
|
289
430
|
|----------|---------|-------------|
|
|
290
|
-
| `acceptance-criteria-traceability` | 1.
|
|
431
|
+
| `acceptance-criteria-traceability` | 1.2.0 | |
|
|
291
432
|
| `acceptance-test-driven-development` | 1.1.0 | |
|
|
292
433
|
| `accessibility-standards` | 1.1.0 | This standard defines comprehensive guidelines for creating accessible software |
|
|
293
|
-
| `adr-standards` | 1.
|
|
434
|
+
| `adr-standards` | 1.1.0 | Architecture Decision Records capture the context, options, and rationale behind |
|
|
294
435
|
| `adversarial-test` | - | |
|
|
295
436
|
| `agent-behavior-discipline` | 1.0.0 | This standard defines four behavioral disciplines for AI agents that elevate per |
|
|
296
437
|
| `agent-communication-protocol` | 1.0.0 | Define a unified communication protocol for AI agents across the AsiaOstrich pro |
|
|
@@ -298,7 +439,7 @@
|
|
|
298
439
|
| `ai-agreement-standards` | 1.0.0 | This standard formalizes the interaction between Human (Acquirer) and AI (Suppli |
|
|
299
440
|
| `ai-command-behavior` | 1.0.0 | This standard defines a structure for specifying AI Agent runtime behavior in co |
|
|
300
441
|
| `ai-friendly-architecture` | 1.0.0 | This standard defines architecture and documentation practices that maximize the |
|
|
301
|
-
| `ai-instruction-standards` | 1.1.
|
|
442
|
+
| `ai-instruction-standards` | 1.1.1 | This standard defines best practices for creating and maintaining AI instruction |
|
|
302
443
|
| `ai-response-navigation` | 1.3.0 | This standard defines navigation behavior for AI responses: every substantive AI |
|
|
303
444
|
| `alerting-standards` | 1.0.0 | |
|
|
304
445
|
| `anti-hallucination` | 1.5.1 | This standard defines strict guidelines for AI assistants to prevent hallucinati |
|
|
@@ -318,7 +459,7 @@
|
|
|
318
459
|
| `checkin-standards` | 1.8.0 | This standard defines quality gates that MUST be passed before committing code t |
|
|
319
460
|
| `circuit-breaker` | - | |
|
|
320
461
|
| `class-level-fix` | 1.1.0 | A defect is almost never alone. It is one member of a set — one flag in a dispat |
|
|
321
|
-
| `code-review-checklist` | 1.
|
|
462
|
+
| `code-review-checklist` | 1.5.0 | This standard provides a comprehensive checklist for reviewing code changes, ens |
|
|
322
463
|
| `commit-message-guide` | 1.3.0 | Standardized commit messages improve code review efficiency, facilitate automate |
|
|
323
464
|
| `container-image-standards` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
324
465
|
| `container-security` | - | |
|
|
@@ -331,6 +472,7 @@
|
|
|
331
472
|
| `data-migration-testing` | - | |
|
|
332
473
|
| `data-pipeline` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
333
474
|
| `database-standards` | 1.0.0 | This standard defines guidelines for database design, querying, migration, and o |
|
|
475
|
+
| `deferred-item-exit` | 1.0.0 | Several standards require documents that **produce deferred items** — an ADR's a |
|
|
334
476
|
| `deployment-standards` | 1.1.0 | This standard defines guidelines for safely deploying software to production, co |
|
|
335
477
|
| `deprecation-standards` | 1.1.0 | |
|
|
336
478
|
| `design-document-standards` | 1.0.0 | |
|
|
@@ -345,7 +487,7 @@
|
|
|
345
487
|
| `estimation-standards` | 1.0.0 | |
|
|
346
488
|
| `execution-history` | 1.0.0 | |
|
|
347
489
|
| `failure-source-taxonomy` | - | |
|
|
348
|
-
| `feature-discovery-standards` | 1.
|
|
490
|
+
| `feature-discovery-standards` | 1.1.0 | **Status**: Active | **Updated**: 2026-08-24 | |
|
|
349
491
|
| `feature-flag-standards` | 1.0.0 | |
|
|
350
492
|
| `feature-manifest-standard` | - | |
|
|
351
493
|
| `flaky-test-management` | - | |
|
|
@@ -355,7 +497,7 @@
|
|
|
355
497
|
| `full-coverage-testing` | - | |
|
|
356
498
|
| `git-workflow` | 1.4.0 | This standard defines Git branching strategies and workflows to ensure consisten |
|
|
357
499
|
| `git-worktree` | 1.1.0 | Define a lifecycle for using Git worktrees to isolate development work, ensuring |
|
|
358
|
-
| `governance-layer` | 1.
|
|
500
|
+
| `governance-layer` | 1.1.0 | A governance layer provides a shared anchor for all agents and roles in a projec |
|
|
359
501
|
| `health-check-standards` | - | |
|
|
360
502
|
| `iac-design-principles` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
361
503
|
| `immutability-first` | - | |
|
|
@@ -394,9 +536,9 @@
|
|
|
394
536
|
| `replay-test` | - | |
|
|
395
537
|
| `requirement-engineering` | 1.1.0 | |
|
|
396
538
|
| `resource-cost-boundary` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
397
|
-
| `retrospective-standards` | 1.
|
|
539
|
+
| `retrospective-standards` | 1.1.0 | Retrospectives are structured team reflections that identify what worked well, w |
|
|
398
540
|
| `retry-standards` | - | |
|
|
399
|
-
| `reverse-engineering-standards` | 1.
|
|
541
|
+
| `reverse-engineering-standards` | 1.3.0 | This standard defines the principles, workflows, and best practices for reverse |
|
|
400
542
|
| `rollback-standards` | - | |
|
|
401
543
|
| `runbook-standards` | 1.0.0 | |
|
|
402
544
|
| `runbook` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
@@ -413,14 +555,14 @@
|
|
|
413
555
|
| `slo-sli` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
414
556
|
| `slo-standards` | 1.0.0 | |
|
|
415
557
|
| `smoke-test` | - | |
|
|
416
|
-
| `spec-driven-development` | 2.
|
|
558
|
+
| `spec-driven-development` | 2.5.0 | |
|
|
417
559
|
| `standard-admission-criteria` | - | |
|
|
418
560
|
| `standard-lifecycle-management` | - | |
|
|
419
561
|
| `structured-task-definition` | 1.0.0 | |
|
|
420
562
|
| `supply-chain-attestation` | - | |
|
|
421
563
|
| `supply-chain-security-standards` | 1.1.0 | |
|
|
422
564
|
| `systematic-debugging` | 1.0.0 | Define a structured, four-phase debugging workflow that prevents the common anti |
|
|
423
|
-
| `tech-debt-standards` | 1.
|
|
565
|
+
| `tech-debt-standards` | 1.1.0 | |
|
|
424
566
|
| `test-completeness-dimensions` | 1.1.0 | This document defines a systematic framework for evaluating test completeness. I |
|
|
425
567
|
| `test-data-standards` | 1.0.0 | |
|
|
426
568
|
| `test-driven-development` | 1.2.0 | |
|
|
@@ -429,6 +571,7 @@
|
|
|
429
571
|
| `timeout-standards` | - | |
|
|
430
572
|
| `token-budget` | - | |
|
|
431
573
|
| `translation-lifecycle-standards` | 1.0.1 | Translation lifecycle standards: MISSING vs OUTDATED distinction, semver-aware s |
|
|
574
|
+
| `turn-completion-integrity` | 1.3.0 | An agent writes *"I'll do X next"* and then ends the turn without doing X. |
|
|
432
575
|
| `user-journey-testing` | - | |
|
|
433
576
|
| `user-story-mapping` | 1.0.0 | **Status**: Active | **Updated**: 2026-06-17 | |
|
|
434
577
|
| `verification-evidence` | 1.3.0 | Establish an "Iron Law" that no task can be claimed as complete without verifica |
|
|
@@ -452,6 +595,7 @@
|
|
|
452
595
|
| `check-ai-agent-sync.ps1` | Check Ai Agent Sync |
|
|
453
596
|
| `check-ai-agent-sync.sh` | AI Agent Sync Checker |
|
|
454
597
|
| `check-ai-yaml-parses.mjs` | Every shipped .ai.yaml must parse, and must parse into what it says. |
|
|
598
|
+
| `check-bump-sync-roundtrip.mjs` | check-bump-sync-roundtrip — 測「跑完 bump 之後 check 必須通過」這個不變量。 |
|
|
455
599
|
| `check-cli-docs-sync.ps1` | Check Cli Docs Sync |
|
|
456
600
|
| `check-cli-docs-sync.sh` | CLI-to-Documentation Sync Checker |
|
|
457
601
|
| `check-commands-sync.ps1` | Check Commands Sync |
|
|
@@ -461,6 +605,7 @@
|
|
|
461
605
|
| `check-docs-integrity.sh` | Documentation Integrity Checker |
|
|
462
606
|
| `check-docs-sync.ps1` | Check Docs Sync |
|
|
463
607
|
| `check-docs-sync.sh` | Documentation Sync Checker |
|
|
608
|
+
| `check-error-exit.mjs` | 🔴 沒填就是沒設定,而沒設定會 exit 2, |
|
|
464
609
|
| `check-external-references.mjs` | External Reference Checker (SPEC-SELFDIAG-001 REQ-5, AC-7) |
|
|
465
610
|
| `check-orphan-specs.ps1` | Check Orphan Specs |
|
|
466
611
|
| `check-orphan-specs.sh` | Orphan Spec Detection Script |
|
|
@@ -474,6 +619,7 @@
|
|
|
474
619
|
| `check-standards-reference-sync.sh` | check-standards-reference-sync.sh |
|
|
475
620
|
| `check-standards-sync.ps1` | Check Standards Sync |
|
|
476
621
|
| `check-standards-sync.sh` | Standards Consistency Checker |
|
|
622
|
+
| `check-translation-hash-ratchet.sh` | XSPEC-392 R6 棘輪:新的翻譯必須帶 source_hash,既有的欠債冷凍為基線。 |
|
|
477
623
|
| `check-translation-sync.ps1` | Check Translation Sync |
|
|
478
624
|
| `check-translation-sync.sh` | Translation Sync Checker |
|
|
479
625
|
| `check-usage-docs-sync.ps1` | Check if usage documentation needs to be regenerated |
|
|
@@ -485,7 +631,9 @@
|
|
|
485
631
|
| `convert-md-to-yaml.mjs` | Markdown to AI-YAML Conversion Script |
|
|
486
632
|
| `fix-manifest-paths.ps1` | Fix Manifest Paths |
|
|
487
633
|
| `fix-manifest-paths.sh` | Manifest Path Fixer |
|
|
634
|
+
| `generate-adoption-skills.mjs` | Self-Adoption Skill Copy Generator and Drift Gate — XSPEC-385 |
|
|
488
635
|
| `generate-docs.mjs` | Look up the release date for `version` from CHANGELOG.md's own |
|
|
636
|
+
| `generate-llms-txt.mjs` | llms.txt Generator and Drift Gate — XSPEC-385 |
|
|
489
637
|
| `generate-locale-coverage.mjs` | Locale Coverage Generator |
|
|
490
638
|
| `generate-version-manifest.mjs` | Generate Version Manifest (SPEC-SELFDIAG-001 REQ-9, AC-14) |
|
|
491
639
|
| `install-hooks.mjs` | Install Hooks |
|
|
@@ -58,7 +58,6 @@ status: current
|
|
|
58
58
|
|
|
59
59
|
**配置方式**:
|
|
60
60
|
- 安裝时选择 `standardsScope: full` + Skills 安裝
|
|
61
|
-
- 或透過 `contentMode: full` 獲得完整规范
|
|
62
61
|
|
|
63
62
|
**包含内容**:
|
|
64
63
|
- 16 个 Claude Code Skills
|
|
@@ -212,7 +211,7 @@ uds init -y --skills-location marketplace --content-mode index
|
|
|
212
211
|
|
|
213
212
|
**配置方式**:
|
|
214
213
|
```bash
|
|
215
|
-
uds init -y --skills-location none --content-mode
|
|
214
|
+
uds init -y --skills-location none --content-mode index
|
|
216
215
|
```
|
|
217
216
|
|
|
218
217
|
### 場景 4:学习 UDS 标准体系
|
|
@@ -19,7 +19,7 @@ Google Antigravity 是一个先进的代理程序代码开发助理。此集成
|
|
|
19
19
|
- **[.antigravity/rules.md](../../../../integrations/google-antigravity/.antigravity/rules.md)**(推荐):
|
|
20
20
|
项目级规则文件,Antigravity 会自动加载。
|
|
21
21
|
|
|
22
|
-
- **[
|
|
22
|
+
- **[AGENTS.md](./AGENTS.md)**:
|
|
23
23
|
用于手动配置的系统提示词片段。
|
|
24
24
|
|
|
25
25
|
## 规则配置
|
|
@@ -53,7 +53,7 @@ curl -o .antigravity/rules.md https://raw.githubusercontent.com/AsiaOstrich/univ
|
|
|
53
53
|
确保 `core/` 规范已复制到您的项目(例如 `.standards/`)。
|
|
54
54
|
|
|
55
55
|
2. **配置代理**:
|
|
56
|
-
将 `
|
|
56
|
+
将 `AGENTS.md` 的内容复制到您的 Antigravity「用户规则」或特定任务指令中。
|
|
57
57
|
|
|
58
58
|
### 验证合规性
|
|
59
59
|
|
|
@@ -65,7 +65,7 @@ curl -o .antigravity/rules.md https://raw.githubusercontent.com/AsiaOstrich/univ
|
|
|
65
65
|
|
|
66
66
|
- [防幻觉规范](../../../../core/anti-hallucination.md)
|
|
67
67
|
- [Commit 消息指南](../../../../core/commit-message-guide.md)
|
|
68
|
-
- [
|
|
68
|
+
- [AGENTS.md](./AGENTS.md)
|
|
69
69
|
|
|
70
70
|
---
|
|
71
71
|
|
|
@@ -77,5 +77,7 @@ So that [benefit].
|
|
|
77
77
|
|
|
78
78
|
## 参考
|
|
79
79
|
|
|
80
|
+
- [验收标准撰写指南](./acceptance-criteria-guide.md) — 要撰写或审查验收标准时读它。
|
|
81
|
+
- [ATDD 工作流程指南](./atdd-workflow.md) — 要完整跑一轮 ATDD 循环时读它。
|
|
80
82
|
- 详细指南:[guide.md](./guide.md)
|
|
81
83
|
- 核心规范:[acceptance-test-driven-development.md](../../../../core/acceptance-test-driven-development.md)
|
|
@@ -74,5 +74,7 @@ Feature: User Login
|
|
|
74
74
|
|
|
75
75
|
## 参考
|
|
76
76
|
|
|
77
|
+
- [BDD 工作流程指南](./bdd-workflow.md) — 要把探索、制定、自动化当一个循环跑时读它。
|
|
78
|
+
- [Gherkin 快速参考指南](./gherkin-guide.md) — 要写 Given/When/Then 而需要确切语法时读它。
|
|
77
79
|
- 详细指南:[guide.md](./guide.md)
|
|
78
80
|
- 核心规范:[behavior-driven-development.md](../../../../core/behavior-driven-development.md)
|