
[UDS] 从项目描述生成连贯的用户旅程测试计划(TESTPLAN)与 E2E 骨架。
在编写规格前进行结构化 AI 辅助头脑风暴。 使用时机:功能规划、创意发想、问题定义。 关键字:brainstorm, persona, multi-critic, HMW, SCAMPER, 头脑风暴, 发想。
[UDS] 根据 Conventional Commits 规范产生格式正确的 commit message。 使用时机:提交代码、撰写 commit message、检查提交格式。 关键字:commit, conventional commits, 提交, 消息, feat, fix, refactor。
[UDS] 创建、管理和追踪架构决策记录(ADR)。 使用时机:架构决策、技术选型、设计取舍、模式选择。 关键字:ADR, architecture decision, decision record, 架构决策, 决策记录。
[UDS] 建立、管理和追蹤架構決策記錄(ADR)
[UDS] 引导 API 和微服务的契约测试策略。 使用时机:API 契约、微服务、消费者驱动测试。 关键字:contract test, Pact, OpenAPI, 契约测试。
[UDS] 透過知識圖追蹤規格/決策/程式碼的影響鏈(引擎或 Markdown 後備)
[UDS] 引導程式碼遷移、框架升級與技術現代化
系统考古——跨逻辑、数据、运行时三维度逆向工程代码。 使用时机:从代码提取规格、分析数据模型、分析运行时基准、生成 Gherkin 场景、分析测试覆盖率。 关键字:reverse engineering, spec, data, runtime, bdd, tdd, 逆向工程, 规格, 覆盖率。
[UDS] 在撰寫規格前進行結構化 AI 輔助腦力激盪
[UDS] 引導 API 和微服務的合約測試策略
[UDS] 根據 Conventional Commits 規範產生格式正確的 commit message
[UDS] 系統考古——跨邏輯、資料、執行環境三維度反向工程程式碼
[UDS] 引导 Sprint 与 Release 周期的结构化团队回顾。 使用时机:迭代结束、发布复盘、流程改善。 关键字:retrospective, retro, 回顾, 复盘, 持续改善。
[UDS] Trace spec/decision/code impact chains via a knowledge graph (engine or Markdown fallback)
引导代码迁移、框架升级与技术现代化。 使用时机:框架升级、语言迁移、API 版本更新、依赖现代化。 关键字:migration, upgrade, modernize, framework, dependency, 迁移, 升级, 现代化。
[UDS] Structured AI-assisted brainstorming before spec creation
[UDS] 引導 Sprint 與 Release 週期的結構化團隊回顧
[UDS] 引导 Runbook 撰写、维护、演练和覆盖率报告
[UDS] 引导 SLI 选取、SLO 设置和 Error Budget 管理
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準
[UDS] 在撰寫程式碼前,建立、審查和管理規格文件
在编写代码前,建立、审查和管理规格文件。 使用时机:建立规格、审查设计、规格驱动开发流程。 关键字:spec, specification, SDD, design, review, 规格, 设计, 审查, 验证。
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
面向 UT/IT/ST/E2E 的测试金字塔与测试编写标准。 支持 ISTQB 与业界通行金字塔两种框架。 使用时机:编写测试、讨论测试覆盖率、测试策略或测试命名时。 关键词:test, unit, integration, e2e, coverage, mock, ISTQB, SIT, 测试, 单元, 集成, 端对端。
[UDS] AI 輔助 git push 安全層:品質閘門 + 協作護欄。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保護分支, 品質閘門.
[UDS] 從規格衍生 BDD 場景、TDD 骨架或 ATDD 表格
[UDS] 從 Spec 文件、OpenSpec 變更或自由文字需求生成 plan.json。 Use when: converting specifications into executable task plans for /orchestrate. Keywords: plan, spec, task plan, 計畫, 規格, 任務, plan.json, DAG.
[UDS] 將軟體開發階段對應到 UDS 指令與功能的指南
[UDS] 以 Claude 原生 Agent tool 編排多任務執行計畫(DAG-based,無外部引擎)。 Use when: executing a plan.json file with parallel/sequential task dependencies. Keywords: orchestrate, plan, execute, DAG, task plan, 編排, 執行計畫, 並行.
[UDS] /methodology: 選擇並追蹤開發方法論(SDD/BDD/TDD)。 Use when: 選擇方法論、切換開發模式、查詢當前方法論狀態。 若要查詢各階段對應指令請用 /dev-workflow。
[UDS] 引導可觀測性設定、指標設計和告警配置
[UDS] 引導 SLI 選取、SLO 設定和 Error Budget 管理
[UDS] 引导可观测性设置、指标设计和告警配置
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.
将软件开发阶段对应到 UDS 命令与技能。 使用时机:查找适用的 UDS 命令、规划开发流程、新手入门。 关键字:workflow, development-phases, commands, 工作流程, 开发阶段。
[UDS] /methodology: 选择并追踪开发方法论(SDD/BDD/TDD)。 Use when: 选择方法论、切换开发模式、查询当前方法论状态。 若要查询各阶段对应命令请用 /dev-workflow。
[UDS] 以 Claude 原生 Agent tool 编排多任务执行计划(DAG-based,无外部引擎)。 Use when: executing a plan.json file with parallel/sequential task dependencies. Keywords: orchestrate, plan, execute, DAG, task plan, 编排, 执行计划, 并行.
[UDS] 分析验收条件(AC)与测试之间的追踪关系并生成覆盖率报告
[UDS] 无 CI/CD 平台环境下的可靠部署指引(不依赖 GitHub Actions / GitLab CI)。 Use when: deploying to VPS, air-gapped servers, or environments without CI/CD infrastructure. Keywords: deployment, no-cicd, shell script, blue-green, smoke test, rollback, 无CI/CD, 部署.
[UDS] 从 Spec 文档、OpenSpec 变更或自由文本需求生成 plan.json。 Use when: converting specifications into executable task plans for /orchestrate. Keywords: plan, spec, task plan, 计划, 规格, 任务, plan.json, DAG.
[UDS] 识别重复流程并以正确的开发深度构建 Skill
[UDS] 引導 Runbook 撰寫、維護、演練和覆蓋率報告
[UDS] 通过知识图追踪规格/决策/代码的影响链(引擎或 Markdown 后备)
[UDS] UDS Health & Feedback System
[UDS] 識別重複流程並以正確開發深度建立 Skill
[UDS] 分析驗收條件(AC)與測試之間的追蹤關係並產生覆蓋率報告
[UDS] 引導依語言特性最佳實踐組織專案目錄結構。 Use when: creating projects, reorganizing structure, adding modules, setting up builds, deciding file placement. Keywords: project, structure, directory, layout, gitignore, scaffold, file placement, 專案結構, 目錄配置.
Guide API design following REST, GraphQL, and gRPC best practices. Use when: designing APIs, reviewing endpoints, API versioning decisions. Keywords: API, REST, GraphQL, gRPC, endpoint, versioning.
Design AI-friendly architecture with explicit patterns, layered documentation, and semantic boundaries. Use when: structuring projects for AI collaboration, optimizing codebase for AI analysis, setting up AI context. Keywords: architecture, AI-friendly, context, modules, documentation layers, .ai-context.yaml.
AI-assisted safety layer for git push operations with quality gates and collaboration guardrails. Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation.
[UDS] Generate coherent user journey test plans (TESTPLAN) and E2E skeletons from project description.
[UDS] Guide structured team retrospectives for Sprint and Release cycles. Use when: sprint end, release post-mortem, iteration review, process improvement. Keywords: retrospective, retro, sprint review, lessons learned, action items.
Testing pyramid and test writing standards for UT/IT/ST/E2E. Supports ISTQB and Industry Pyramid frameworks. Use when: writing tests, discussing test coverage, test strategy, or test naming. Keywords: test, unit, integration, e2e, coverage, mock, ISTQB, SIT.
Guide security review and vulnerability assessment following OWASP standards. Use when: security audit, vulnerability check, secure coding review, threat modeling. Keywords: security, OWASP, vulnerability, authentication, authorization.
Guide SLI selection, SLO setting, and Error Budget management. Use when: defining service quality targets, setting up SLO-based alerting, Error Budget policy. Keywords: SLI, SLO, SLA, Error Budget, burn rate, service level.
Scan codebase for debug artifacts and code quality issues; optionally auto-fix safe patterns. Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality.
Guide runbook creation, maintenance, and drill exercises. Use when: writing runbooks, planning drills, auditing runbook coverage, post-incident runbook updates. Keywords: runbook, operations, drill, on-call, procedure.
Guide automated security scanning, dependency auditing, and secret detection. Use when: dependency audit, CVE scanning, secret detection, license compliance. Keywords: scan, audit, CVE, dependency, secret, SBOM, vulnerability.
Generate plan.json from Spec documents, OpenSpec changes, or free-text requirements. Use when: converting specifications into executable task plans for /orchestrate. Keywords: plan, spec, task plan, plan.json, DAG.
Guide for organizing project directories following language-specific best practices. Use when: creating projects, reorganizing structure, adding modules, setting up builds, deciding file placement. Keywords: project, structure, directory, layout, gitignore, scaffold, file placement, utils, helpers, shared, where to put.
Guide pull request creation, review automation, and merge strategies. Use when: creating PRs, automating reviews, configuring merge policies. Keywords: pull request, PR, merge, review, GitHub, GitLab.
Guide reliable deployments without CI/CD platforms (GitHub Actions / GitLab CI). Use when: deploying to VPS, air-gapped servers, or environments without CI/CD infrastructure. Keywords: deployment, no-cicd, shell script, blue-green, smoke test, rollback.
Guide Git branching strategies, branch naming, and merge operations. Use when: creating branches, merging, pull requests, Git workflow questions. Keywords: branch, merge, PR, pull request, GitFlow, GitHub Flow.
Guide observability setup, metrics design, and alerting configuration. Use when: new service instrumentation, SLO definition, alert design, maturity assessment. Keywords: observability, metrics, traces, golden signals, alerting, SLO.
Design consistent error codes following the PREFIX_CATEGORY_NUMBER format. Use when: defining error codes, creating error handling, designing APIs. Keywords: error code, error handling, error format, API errors.
Guide documentation structure, content requirements, and project documentation best practices. Use when: creating README, documentation, docs folder, project setup, technical docs. Keywords: README, docs, documentation, CONTRIBUTING, CHANGELOG, ARCHITECTURE, API docs.
Prevent AI hallucination and ensure evidence-based responses when analyzing code or making suggestions. Use when: analyzing code, making recommendations, providing options, or when user asks about confidence/certainty. Keywords: certainty, assumption, inference, evidence, source.
Create and maintain AI instruction files (CLAUDE.md, AGENTS.md, .cursor/rules/, etc.) with proper structure. Use when: creating AI instruction files, separating universal vs project-specific rules, configuring AI tools. Keywords: CLAUDE.md, AGENTS.md, cursorrules, windsurfrules, clinerules, AI instructions, system prompt.
[UDS] 防止 AI 幻覺、確保分析程式碼或提建議時以證據為基礎的回應。 Use when: analyzing code, making recommendations, providing options, or when user asks about confidence/certainty. Keywords: certainty, assumption, inference, evidence, source, 證據, 假設, 推論.
[UDS] 無 CI/CD 平台環境下的可靠部署指引(不依賴 GitHub Actions / GitLab CI)。 Use when: deploying to VPS, air-gapped servers, or environments without CI/CD infrastructure. Keywords: deployment, no-cicd, shell script, blue-green, smoke test, rollback, 無CI/CD, 部署.
Guide database design, migration, and query optimization. Use when: schema design, migration planning, query optimization, index strategy. Keywords: database, schema, migration, SQL, index, query.
Implement structured logging with proper log levels and sensitive data handling. Use when: adding logging, debugging, setting up observability. Keywords: logging, log level, structured logging, observability.
Orchestrate multi-task execution plans using Claude's native Agent tool (DAG-based, no external engine). Use when: executing a plan.json file with parallel/sequential task dependencies. Keywords: orchestrate, plan, execute, DAG, task plan.
[UDS] Guide contract testing strategy for APIs and microservices. Use when: API contracts, microservices, consumer-driven testing, provider verification. Keywords: contract test, Pact, OpenAPI, consumer-driven, provider.
[UDS] 掃描程式庫的除錯殘留與程式碼品質問題;可自動修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 掃描, 清理.
[UDS] Create, manage, and track Architecture Decision Records (ADR). Use when: architecture decisions, technology choices, design trade-offs, pattern selection. Keywords: ADR, architecture decision, decision record, trade-off.
Guide CI/CD pipeline design, configuration, and optimization. Use when: setting up pipelines, optimizing build times, configuring deployment stages. Keywords: CI/CD, pipeline, GitHub Actions, deployment, build.
[UDS] System archeology - reverse engineer code across Logic, Data, and Runtime dimensions
[UDS] 從專案描述生成連貫使用者旅程測試計畫(TESTPLAN)與 E2E 骨架
Guide incident response, root cause analysis, and post-mortem documentation. Use when: production incident, outage response, post-mortem writing, RCA. Keywords: incident, outage, post-mortem, RCA, root cause.
[UDS] Guide code migration, framework upgrades, and technology modernization
[UDS] 設計一致的錯誤碼,遵循 PREFIX_CATEGORY_NUMBER 格式
创建和维护 AI 指令文件(CLAUDE.md、.cursorrules 等)并采用适当结构。 使用时机:创建 AI 指令文件、区分通用与项目特定规则、配置 AI 工具。 关键字:CLAUDE.md, cursorrules, windsurfrules, clinerules, AI instructions, system prompt, 指令文件, AI 设定.
--- source: ../../../../skills/ai-collaboration-standards/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-01-25 status: current --- # AI 协作标准 > **语言**: [English](../../../../skills/ai-collaboration-standards/SKILL.md) | 简体中文 **版本**: 1.1.0 **最後更新**: 2026-01-25 **適用範圍**: Claude Code Skills --- ## 目的 此技能确保 AI 助理提供准确、基於证据的响应,避免产生幻覺。 ## 快速參考 ### 确定性标签 | 标签 | 使用时机 | |-----|----------| | `[Confirmed]` | 來自程序码/文件的直接证据 | | `[Inferred]` | 基於证据的邏辑推論 | | `[Assumption]` |
[UDS] 設計 AI 友善架構,包含明確模式、分層文件和語義邊界
设计 AI 友善架构,包含明确模式、分层文档和语义边界。 使用时机:为 AI 协作规划项目结构、优化代码库以利 AI 分析、设置 AI 上下文。 关键字:architecture, AI-friendly, context, modules, documentation layers, .ai-context.yaml, 架构, AI 友善, 上下文.
实作结构化日誌,包含正确的日誌层级和敏感数据处理。 使用时机:新增日誌、除錯、设置可觀测性。 关鍵字:logging, log level, structured logging, observability, 日誌, 记录, 结构化日誌。
[UDS] 實作結構化日誌,包含正確的日誌層級和敏感資料處理
[UDS] 引導文件結構、內容需求和專案文件最佳實踐
[UDS] 建立和維護 AI 指令檔案(CLAUDE.md、AGENTS.md、.cursor/rules/ 等)並採用適當結構
[UDS] 指導 Git 分支策略、分支命名與合併操作
--- source: ../../../../skills/project-structure-guide/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-03-04 status: current --- # 项目结构指南 > **Language**: [English](../../../../skills/project-structure-guide/SKILL.md) | 简体中文 **版本**:1.1.0 **最后更新**:2026-03-04 **適用性**:Claude Code Skills --- ## 目的 此技能提供根据语言和框架慣例建構项目的指引,協助建立一致、可維護的目录佈局。 ## 觸發时机 在以下情况使用此技能: - 建立新项目 - 重组现有项目结构 - 新增模块或功能 - 设置构建配置 - 建立 .gitignore 文件 - 决定文件的放置位置(代码、文档、配置、资源) - 在 utils/、helpers/、shared/、l
指導 Git 分支策略、分支命名与合併操作。 使用时机:建立分支、合併、Pull Request、Git 工作流程問題。 关鍵字:branch, merge, PR, pull request, GitFlow, GitHub Flow, 分支, 合併, 工作流程。
引導文件结构、内容需求和项目文件最佳实踐。 使用时机:建立 README、文件、docs 目录、项目设置、技術文件。 关鍵字:README, docs, documentation, CONTRIBUTING, CHANGELOG, ARCHITECTURE, API docs, 文件, 说明文件, 技術文件.
设计一致的错误码,遵循 PREFIX_CATEGORY_NUMBER 格式。 使用时机:定義错误码、建立错误处理、设计 API。 关鍵字:error code, error handling, error format, API errors, 错误码, 错误处理。
[UDS] Guide through Acceptance Test-Driven Development workflow
[UDS] Pre-commit quality gates verification
[UDS] Create or review specification documents for Spec-Driven Development
[UDS] Guide through Test-Driven Development workflow
[UDS] Guide through Behavior-Driven Development workflow
[UDS] Perform systematic code review with checklist
[UDS] Identify repeated processes and build Skills with the right development depth
[UDS] Derive BDD scenarios, TDD skeletons, or ATDD tables from specifications
[UDS] Manage development methodology workflow
[UDS] Analyze AC-to-test traceability and coverage
[UDS] 引導 API 設計,遵循 REST、GraphQL 和 gRPC 最佳實踐
[UDS] 引導行為驅動開發(BDD)流程,使用 Given-When-Then 格式撰寫場景
[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事
[UDS] 管理當前專案的開發方法論,支援 SDD 和雙迴圈 TDD 兩個獨立系統
[UDS] 引導遵循語義化版本和變更日誌最佳實踐的發布流程
[UDS] 根據 Keep a Changelog 格式產生和維護 CHANGELOG.md 條目
[UDS] 引導 CI/CD 管線設計、配置和優化
[UDS] 使用標準化檢查清單執行系統性程式碼審查
[UDS] 引導資料庫設計、遷移規劃和查詢最佳化
[UDS] 從專案原始檔案產生使用文件(速查表、參考手冊、使用指南)
[UDS] 引導工作流程故障恢復,包含檢查點、重試與回滾策略
[UDS] 引導 Pull Request 建立、審查自動化和合併策略
[UDS] 引導自動化安全掃描、相依套件審計和機密偵測
[UDS] 引導安全審查和漏洞評估,遵循 OWASP 標準
[UDS] 識別重複流程並以正確開發深度建立 Skill
[UDS] 分析 AC 與測試的追蹤關係及覆蓋率
[UDS] UDS 健康檢查與回饋系統,診斷安裝完整性與偵測開發模式
[UDS] 在既有程式碼庫新增功能前的 Phase 0 評估,評估專案健康度與風險
[UDS] 引導重構決策、推薦策略,並提供逐步執行工作流程
[UDS] 引導事故回應、根因分析和事後檢討文件撰寫
[UDS] 從 BDD 場景生成 E2E 測試骨架,支援框架偵測與覆蓋差距分析
[UDS] 從已批准的 SDD 規格生成衍生工件(BDD/TDD/ATDD)
[UDS] 撰寫結構良好的使用者故事和需求文件,遵循 INVEST 準則
[UDS] 追蹤開發指標、程式碼品質指示器與專案健康狀態
[UDS] 在提交程式碼前驗證品質關卡,確保程式碼庫穩定性
[UDS] 引導測試驅動開發(TDD)流程:紅-綠-重構
[UDS] 多維度分析測試覆蓋率並提供可執行的建議
[UDS] Generate E2E test skeletons from BDD scenarios
[UDS] 从 BDD 场景生成 E2E 测试骨架,支持框架检测与覆盖差距分析
[UDS] 识别重复流程并以正确开发深度创建 Skill
[UDS] Identify repeated processes and build Skills with the right development depth
[UDS] 從已批准的 SDD 規格生成衍生工件(BDD/TDD/ATDD)
[UDS] 從 BDD 場景生成 E2E 測試骨架,支援框架偵測與覆蓋差距分析
[UDS] 將現有程式碼反向工程為規格文件、BDD 場景或 TDD 覆蓋率報告
[UDS] 將現有程式碼反向工程為規格文件、BDD 場景或 TDD 覆蓋率報告
[UDS] 引導自動化安全掃描、相依套件審計和機密偵測
[UDS] 引導自動化安全掃描、相依套件審計和機密偵測
[UDS] 多維度分析測試覆蓋率並提供可執行的建議
[UDS] 引導測試驅動開發(TDD)流程:紅-綠-重構
[UDS] Analyze AC-to-test traceability and coverage
[UDS] Guide for mapping software development phases to UDS commands and features
[UDS] 從專案原始檔案產生使用文件(速查表、參考手冊、使用指南)
[UDS] 管理當前專案的開發方法論,支援 SDD 和雙迴圈 TDD 兩個獨立系統
[UDS] 引導遵循語義化版本和變更日誌最佳實踐的發布流程
[UDS] 多維度分析測試覆蓋率並提供可執行的建議
引导行为驱动开发(BDD)流程,使用 Given-When-Then 格式撰写场景。 使用时机:定义行为场景、撰写 Gherkin、三剑客会议、BDD 流程。 关键字:bdd, gherkin, given-when-then, scenario, feature, 行为驱动, 场景, 验收。
UDS 健康检查与反馈系统。诊断安装完整性、检测开发模式、识别摩擦点。 使用时机:检查 UDS 安装、报告问题、发现规范化机会。 关键字:audit, health, pattern, friction, feedback, 审计, 健康, 模式, 摩擦, 反馈。
引导数据库设计、迁移规划和查询优化。 使用时机:schema 设计、迁移规划、查询优化、索引策略。 关键字:database, schema, migration, SQL, index, query, 数据库, 迁移, 查询。
引导重构决策、推荐策略,并提供逐步执行工作流程。 使用时机:重构代码、评估重构 vs 重写、处理遗留代码。 关键字:refactor, strategy, legacy, technical debt, 重构, 策略, 遗留代码, 技术债。
多维度分析测试覆盖率并提供可执行的建议。 使用时机:分析覆盖率、识别测试缺口、制定测试策略。 关键字:coverage, test, analysis, dimension, 覆盖率, 测试, 分析, 维度。
[UDS] Guide for mapping software development phases to UDS commands and features
[UDS] Analyze test coverage and provide recommendations
Guide observability setup, metrics design, and alerting configuration. Use when: new service instrumentation, SLO definition, alert design, maturity assessment. Keywords: observability, metrics, traces, golden signals, alerting, SLO, 可觀測性, 告警.
[UDS] Track development metrics, code quality indicators, and project health
[UDS] 追蹤開發指標、程式碼品質指示器與專案健康狀態
管理当前项目的开发方法论,支持 SDD 和双循环 TDD 两个独立系统。 使用时机:切换方法论、查看当前阶段、管理开发流程。 关键字:methodology, SDD, TDD, BDD, ATDD, 方法论, 开发流程。
[UDS] 管理當前專案的開發方法論,支援 SDD 和雙迴圈 TDD 兩個獨立系統
[UDS] 引導事故回應、根因分析和事後檢討文件撰寫
[UDS] 引導事故回應、根因分析和事後檢討文件撰寫
[UDS] 指導 Git 分支策略、分支命名與合併操作
Guide runbook creation, maintenance, and drill exercises. Use when: writing runbooks, planning drills, auditing runbook coverage, post-incident runbook updates. Keywords: runbook, operations, drill, on-call, procedure, 操作手冊, 演練.
[UDS] 設計一致的錯誤碼,遵循 PREFIX_CATEGORY_NUMBER 格式
[UDS] Guide workflow failure recovery with checkpoints, retries, and rollback
引导工作流程故障恢复,包含检查点、重试与回滚策略。 使用时机:工作流中途失败、需要重试逻辑、设计容错流程。 关键字:durable, execution, checkpoint, retry, rollback, recovery, 持久执行, 恢复。
[UDS] 引導工作流程故障恢復,包含檢查點、重試與回滾策略
[UDS] 引導文件結構、內容需求和專案文件最佳實踐
[UDS] Generate usage documentation from project sources
[UDS] 將軟體開發階段對應到 UDS 指令與功能的指南
[UDS] 引導資料庫設計、遷移規劃和查詢最佳化
[UDS] 引導 API 和微服務的合約測試策略
[UDS] 根據 Conventional Commits 規範產生格式正確的 commit message
使用标准化检查清单执行系统性代码审查。 使用时机:审查代码、PR 审查、代码品质检查。 关键字:review, code review, PR, checklist, 审查, 代码, 品质。
[UDS] 引導 CI/CD 管線設計、配置和優化
[UDS] 在提交程式碼前驗證品質關卡,確保程式碼庫穩定性
[UDS] 在提交程式碼前驗證品質關卡,確保程式碼庫穩定性
[UDS] Generate and maintain CHANGELOG.md entries
根据 Keep a Changelog 格式产生和维护 CHANGELOG.md 条目。 使用时机:更新变更日志、版本发布、记录变更。 关键字:changelog, CHANGELOG.md, keep a changelog, 变更日志, 版本记录。
[UDS] 根據 Keep a Changelog 格式產生和維護 CHANGELOG.md 條目
[UDS] 引導行為驅動開發(BDD)流程,使用 Given-When-Then 格式撰寫場景
[UDS] UDS 健康檢查與回饋系統,診斷安裝完整性與偵測開發模式
引导验收测试驱动开发(ATDD)流程,用于定义和验证用户故事。 使用时机:定义验收条件、用户故事验证、ATDD 流程。 关键字:atdd, acceptance, user story, INVEST, 验收测试, 用户故事, 验收条件。
[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事
引导 API 设计,遵循 REST、GraphQL 和 gRPC 最佳实践。 使用时机:设计 API、审查端点、API 版本决策。 关键字:API, REST, GraphQL, gRPC, endpoint, versioning, 接口设计。
[UDS] 使用標準化檢查清單執行系統性程式碼審查
[UDS] 設計 AI 友善架構,包含明確模式、分層文件和語義邊界
--- source: ../../../../skills/ai-collaboration-standards/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-01-25 status: current scope: universal --- # AI 協作標準 > **語言**: [English](../../../../skills/ai-collaboration-standards/SKILL.md) | 繁體中文 **版本**: 1.1.0 **最後更新**: 2026-01-25 **適用範圍**: Claude Code Skills --- ## AI 技能層級 此技能是三層 AI 協作系統的一部分: | 層級 | 技能 | 回答的問題 | |------|------|-----------| | **行為層**(即時) | `/ai-collaboration`(此技能) | 「AI 如何準確回應?」 | | **配置層**(會話) | `/
--- source: ../../../../skills/ai-collaboration-standards/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-01-25 status: current scope: universal --- # AI 協作標準 > **語言**: [English](../../../../skills/ai-collaboration-standards/SKILL.md) | 繁體中文 **版本**: 1.1.0 **最後更新**: 2026-01-25 **適用範圍**: Claude Code Skills --- ## 目的 此技能確保 AI 助理提供準確、基於證據的回應,避免產生幻覺。 ## 快速參考 ### 確定性標籤 | 標籤 | 使用時機 | |-----|----------| | `[Confirmed]` | 來自程式碼/文件的直接證據 | | `[Inferred]` | 基於證據的邏輯推論 | |
[UDS] 建立、管理和追蹤架構決策記錄(ADR)
分析验收条件(AC)与测试之间的追踪关系,产生覆盖率报告。 使用时机:验证 AC 覆盖率、检查测试追踪性、发布前审查。 关键字:AC, acceptance-criteria, coverage, traceability, 验收条件, 覆盖率。
[UDS] 分析 AC 與測試的追蹤關係及覆蓋率
[UDS] 引導 API 設計,遵循 REST、GraphQL 和 gRPC 最佳實踐
[UDS] 引導 Pull Request 建立、審查自動化和合併策略
[UDS] 引導資料庫設計、遷移規劃和查詢最佳化
[UDS] Derive BDD scenarios, TDD skeletons, or ATDD tables from specifications
[UDS] Analyze AC-to-test traceability and coverage
编写结构良好的用户故事和需求文件,遵循 INVEST 准则。 使用时机:编写需求、定义用户故事、验收条件。 关键字:requirement, user story, INVEST, acceptance criteria, 需求, 用户故事, 验收条件。
追踪开发指标、代码品质指示器与专案健康状态。 使用时机:评估专案健康、追踪技术债、监控品质趋势。 关键字:metrics, dashboard, quality, coverage, complexity, debt, 指标, 品质, 技术债。
从已批准的 SDD 规格生成衍生工件(BDD 场景、TDD 骨架、ATDD 表格)。 使用时机:从规格推导测试、生成 BDD/TDD/ATDD 工件。 关键字:derive, forward, BDD, TDD, ATDD, spec, 推演, 衍生, 规格, 场景。
从项目源文件生成使用文档(速查表、参考手册、使用指南)。 使用时机:生成文档、建立速查表、生成参考手册。 关键字:docgen, documentation, cheatsheet, reference, 文档生成, 速查表, 参考手册。
[UDS] 追蹤開發指標、程式碼品質指示器與專案健康狀態
[UDS] 從已批准的 SDD 規格生成衍生工件(BDD/TDD/ATDD)
[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準
[UDS] 引導安全審查和漏洞評估,遵循 OWASP 標準
[UDS] 引導重構決策、推薦策略,並提供逐步執行工作流程
[UDS] 引導程式碼遷移、框架升級與技術現代化
[UDS] 實作結構化日誌,包含正確的日誌層級和敏感資料處理
[UDS] 指導 Git 分支策略、分支命名與合併操作
[UDS] 撰寫結構良好的使用者故事和需求文件,遵循 INVEST 準則
[UDS] 引導安全審查和漏洞評估,遵循 OWASP 標準
[UDS] 從專案原始檔案產生使用文件(速查表、參考手冊、使用指南)
[UDS] 使用標準化檢查清單執行系統性程式碼審查
[UDS] 在撰寫規格前進行結構化 AI 輔助腦力激盪
[UDS] 引導工作流程故障恢復,包含檢查點、重試與回滾策略
引导 CI/CD 管线设计、配置和优化。 使用时机:设置管线、优化构建时间、配置部署阶段。 关键字:CI/CD, pipeline, GitHub Actions, deployment, build, 持续集成, 持续部署。
在提交代码前验证品质关卡,确保代码库稳定性。 使用时机:提交前检查、品质验证、pre-commit 检查。 关键字:checkin, pre-commit, quality gate, 签入, 品质关卡, 验证。
引导事故回应、根因分析和事后复盘文档撰写。 使用时机:生产事故、故障响应、事后复盘撰写、根因分析。 关键字:incident, outage, post-mortem, RCA, root cause, 事故, 故障, 根因分析。
[UDS] 在既有程式碼庫新增功能前的 Phase 0 評估,評估專案健康度與風險
[UDS] Generate commit messages following Conventional Commits standard
引导自动化安全扫描、依赖包审计和机密检测。 使用时机:依赖审计、CVE 扫描、机密检测、许可证合规。 关键字:scan, audit, CVE, dependency, secret, SBOM, vulnerability, 扫描, 漏洞。
[UDS] 建立和維護 AI 指令檔案(CLAUDE.md、.cursorrules 等)並採用適當結構
[UDS] 在撰寫程式碼前,建立、審查和管理規格文件
[UDS] 建立和維護 AI 指令檔案(CLAUDE.md、.cursorrules 等)並採用適當結構
[UDS] Guide refactoring decisions and strategy selection
[UDS] 測試金字塔與 UT/IT/ST/E2E 測試撰寫標準
[UDS] Manage development methodology workflow
引导测试驱动开发(TDD)流程:红-绿-重构。 使用时机:TDD 开发、撰写测试先行的代码、学习 TDD。 关键字:TDD, test-driven, red-green-refactor, 测试驱动, 红绿重构。
[UDS] 引導測試驅動開發(TDD)流程:紅-綠-重構
[UDS] 在撰寫程式碼前,建立、審查和管理規格文件
Guide SLI selection, SLO setting, and Error Budget management. Use when: defining service quality targets, setting up SLO-based alerting, Error Budget policy. Keywords: SLI, SLO, SLA, Error Budget, burn rate, service level, 服務等級.
引导安全审查和漏洞评估,遵循 OWASP 标准。 使用时机:安全审计、漏洞检查、安全编码审查、威胁建模。 关键字:security, OWASP, vulnerability, authentication, authorization, 安全, 漏洞, 认证。
[UDS] 引導結構化的團隊回顧,支援 Sprint 和 Release 回顧
[UDS] Write user stories and requirements following INVEST criteria
[UDS] 撰寫結構良好的使用者故事和需求文件,遵循 INVEST 準則
[UDS] Guide release process and changelogs
引导遵循语义化版本和变更日志最佳实践的发布流程。 使用时机:版本发布、版本管理、变更日志更新。 关键字:release, version, semver, changelog, 发布, 版本, 语义化。
[UDS] 引導重構決策、推薦策略,並提供逐步執行工作流程
--- source: ../../../../skills/project-structure-guide/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-03-04 status: current scope: universal --- # 專案結構指南 > **Language**: [English](../../../../skills/project-structure-guide/SKILL.md) | 繁體中文 **版本**:1.1.0 **最後更新**:2026-03-04 **適用性**:Claude Code Skills --- ## 目的 此技能提供根據語言和框架慣例建構專案的指引,協助建立一致、可維護的目錄佈局。 ## 觸發時機 在以下情況使用此技能: - 建立新專案 - 重組現有專案結構 - 新增模組或功能 - 設定建構配置 - 建立 .gitignore 檔案 - 決定檔案的放置位置(程式碼、文件、設定、資源) - 在 utils/、
--- source: ../../../../skills/project-structure-guide/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-03-04 status: current scope: universal --- # 專案結構指南 > **Language**: [English](../../../../skills/project-structure-guide/SKILL.md) | 繁體中文 **版本**:1.1.0 **最後更新**:2026-03-04 **適用性**:Claude Code Skills --- ## 目的 此技能提供根據語言和框架慣例建構專案的指引,協助建立一致、可維護的目錄佈局。 ## 觸發時機 在以下情況使用此技能: - 建立新專案 - 重組現有專案結構 - 新增模組或功能 - 設定建構配置 - 建立 .gitignore 檔案 - 決定檔案的放置位置(程式碼、文件、設定、資源) - 在 utils/、
[UDS] Assess project health, architecture, and risks before adding features
在既有代码库新增功能前的 Phase 0 评估,评估项目健康度、架构与风险。 使用时机:新增功能前、项目健康度检查、风险评估。 关键字:discover, assessment, health, risk, 评估, 健康度, 风险, 架构。
引导 Pull Request 创建、审查自动化和合并策略。 使用时机:创建 PR、自动化审查、配置合并策略。 关键字:pull request, PR, merge, review, GitHub, GitLab, 合并请求, 审查。
[UDS] 設計 AI 友善架構,包含明確模式、分層文件和語義邊界
[UDS] 引導 API 設計,遵循 REST、GraphQL 和 gRPC 最佳實踐
[UDS] 引導驗收測試驅動開發(ATDD)流程,用於定義和驗證使用者故事
[UDS] 引導行為驅動開發(BDD)流程,使用 Given-When-Then 格式撰寫場景
[UDS] UDS 健康檢查與回饋系統,診斷安裝完整性與偵測開發模式
[UDS] 在撰寫規格前進行結構化 AI 輔助腦力激盪
[UDS] 根據 Keep a Changelog 格式產生和維護 CHANGELOG.md 條目
[UDS] 引導 CI/CD 管線設計、配置和優化
[UDS] 根據 Conventional Commits 規範產生格式正確的 commit message
[UDS] 引導文件結構、內容需求和專案文件最佳實踐
[UDS] 設計一致的錯誤碼,遵循 PREFIX_CATEGORY_NUMBER 格式
[UDS] 實作結構化日誌,包含正確的日誌層級和敏感資料處理
[UDS] 引導程式碼遷移、框架升級與技術現代化
[UDS] 在既有程式碼庫新增功能前的 Phase 0 評估,評估專案健康度與風險
[UDS] 引導 Pull Request 建立、審查自動化和合併策略
[UDS] 引導遵循語義化版本和變更日誌最佳實踐的發布流程