/universal-dev-standards:config [type] [--ai-tool <tool>]from universal-dev-standards
Configures Universal Development Standards for the current project — interactively or directly via type argument. Supports AI tool integration, skills, commands, adoption level, and content mode.
Ships in universal-dev-standards. Installing the plugin adds it to Claude Code.
Configure Universal Development Standards settings for the current project.
配置當前專案的 Universal Development Standards 設定。
When invoked without a specific type, use AskUserQuestion to ask what to configure.
當不指定類型時,使用 AskUserQuestion 詢問要配置什麼。
First, run uds check --summary to show current installation status.
首先,執行 uds check --summary 顯示目前安裝狀態。
uds check --summary
This helps users understand what's currently configured before making changes.
這幫助用戶在修改前了解目前的配置。
Use AskUserQuestion with these options:
| Category | Options |
|---|---|
| Basic Options | Format, Git Workflow, Merge Strategy, Commit Language, Test Levels |
| AI Tools | Add or remove AI tool integrations |
| Skills | Manage Skills installations (install/update/reinstall declined) |
| Commands | Manage Commands installations |
| Advanced | Adoption Level, Content Mode |
| All | Configure all options |
If AI Tools selected:
uds configure --type ai_tools
If Skills selected:
uds configure --type skills
If Commands selected:
uds configure --type commands
If Adoption Level selected:
uds configure --type level
If Content Mode selected:
uds configure --type content_mode
When invoked with a specific type, skip interactive questions:
/config ai_tools # Directly configure AI tools
/config skills # Directly manage Skills
/config commands # Directly manage Commands
/config level # Directly configure adoption level
/config content_mode # Directly configure content mode
Use --ai-tool option to install Skills/Commands for a specific tool without prompts:
使用 --ai-tool 選項為特定工具安裝 Skills/Commands,無需提示:
# Install Skills for specific tool (project level, default)
uds configure --type skills --ai-tool opencode
# Install Skills for specific tool (user level)
uds configure --type skills --ai-tool opencode --skills-location user
# Install Skills for specific tool (project level, explicit)
uds configure --type skills --ai-tool claude-code --skills-location project
# Install Commands for specific tool
uds configure --type commands --ai-tool copilot
Skills location options | Skills 位置選項:
| Option | Path | Description |
|---|---|---|
project | .claude/skills/, .opencode/skill/ | Project-specific (default) |
user | ~/.claude/skills/, ~/.opencode/skill/ | Shared across all projects |
| Type | Description | 說明 |
|---|---|---|
ai_tools | AI tool integrations | AI 工具整合 |
skills | Skills installations | Skills 安裝管理 |
commands | Commands installations | Commands 安裝管理 |
level | Adoption level (1/2/3) | 採用等級 |
content_mode | Integration file content mode | 整合檔案內容模式 |
format | AI/Human documentation format | AI/人類文件格式 |
workflow | Git workflow strategy | Git 工作流程策略 |
merge_strategy | Merge strategy | 合併策略 |
output_language | Output language | 產出語言 |
test_levels | Test levels to include | 測試層級 |
methodology | Development methodology (experimental, requires -E) | 開發方法論(實驗性) |
all | Configure all options | 設定所有選項 |
When selecting skills type, CLI shows:
Current Skills status:
✓ Claude Code:
- User: v3.5.1
○ OpenCode: Not installed
⊘ Copilot: Previously declined
? What would you like to do?
❯ Install/Update Skills
Reinstall declined Skills
View status only
Cancel
When selecting commands type, CLI shows:
Supported tools for Commands:
.opencode/commands/).github/commands/).gemini/commands/).roo-code/commands/)| Mode | Description | 說明 |
|---|---|---|
standard | Summary + task mapping, AI knows when to read which standard (Recommended) | 摘要 + 任務映射(推薦) |
minimal | Only core rules embedded | 僅內嵌核心規則 |
| Configuration | Effect | 影響 |
|---|---|---|
| AI Tools (add) | Generates new integration files | 產生新的整合檔案 |
| AI Tools (remove) | Deletes integration files | 刪除整合檔案 |
| Skills | Installs/updates Skills to configured paths | 安裝/更新 Skills |
| Commands | Installs/updates Commands to configured paths | 安裝/更新 Commands |
| Level | Updates standards, regenerates integrations | 更新標準,重新產生整合 |
| Content Mode | Regenerates all integration files | 重新產生所有整合檔案 |
The CLI tracks declined Skills/Commands in manifest.declinedFeatures:
CLI 在 manifest.declinedFeatures 中追蹤拒絕的 Skills/Commands:
/update prompts/config skills or /config commands to reinstall declined features之前拒絕的工具不會在 /update 提示中出現。使用 /config skills 或 /config commands 重新安裝。
| Option | Description | 說明 |
|---|---|---|
--type <type> | Configuration type | 配置類型 |
--ai-tool <tool> | Specific AI tool (non-interactive) | 特定 AI 工具(非互動式) |
--skills-location <loc> | Skills install location: project, user | Skills 安裝位置 |
--yes, -y | Skip confirmation prompt | 跳過確認提示 |
-E, --experimental | Enable experimental features | 啟用實驗性功能 |
Follows AI Command Behavior Standards
| Input | AI Action | AI 行為 |
|---|---|---|
/config | 顯示目前狀態 → 詢問配置類型 → 執行 | Show status, ask type, execute |
/config <type> | 直接執行指定類型配置(如 skills、ai_tools) | Execute specific config type |
/config --ai-tool <tool> | 非互動式為特定工具安裝 Skills/Commands | Non-interactive install for tool |
uds check --summary 顯示目前狀態Decision: 有無指定 type
uds configure --type <type>--ai-tool → 非互動式執行安裝詢問配置類型(AskUserQuestion):
根據選擇執行對應 CLI 命令
Decision: Skills/Commands 配置
🛑 STOP: 顯示目前狀態後等待使用者選擇配置類型
| Stop Point | 等待內容 |
|---|---|
| 狀態顯示後 | 使用者選擇要配置的類型 |
| Skills/Commands 動作選單 | 使用者選擇安裝/更新/重新安裝 |
| Error Condition | AI Action |
|---|---|
| 標準未初始化 | 提示先執行 /init |
| 無效的 config type | 列出可用類型供選擇 |
| 指定的 AI tool 不支援 | 列出支援的工具清單 |
| 之前拒絕的 Skills/Commands | 提示可透過此命令重新安裝 |
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub asiaostrich/universal-dev-standards --plugin universal-dev-standards51 commands in this plugin
/ac-coverageAC Coverage | AC 覆蓋率[UDS] Generate AC-to-test traceability matrix and coverage report/api-designAPI Design Assistant | API 設計助手[UDS] Guide API design following REST, GraphQL and gRPC best practices/atddATDD Assistant | ATDD 助手[UDS] Guide through Acceptance Test-Driven Development workflow/auditAudit Assistant | 審計助手[UDS] UDS health check and feedback system, diagnose installation integrity and detect development patterns/bddBDD Assistant | BDD 助手[UDS] Guide through Behavior-Driven Development workflow/brainstorm[UDS] Structured AI-assisted brainstorming before spec creationOther plugins' commands for the same job