locales/zh-TW/skills/process-automation/SKILL.md
[UDS] 識別重複流程並以正確開發深度建立 Skill
npx skillsauth add asiaostrich/universal-dev-standards process-automationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
語言: English | 繁體中文
從「我一直在手動做這件事」引導你建立一個合適的 Skill,並在過程中採用恰當深度的開發流程。
Skill 記錄流程知識。Memory 記錄歷史事實。 當你發現自己在重複執行相同步驟時,那就是 Skill 候選。
需要新 Skill?
├── 修改現有 Skill?
│ → Delta 路徑:在現有 SKILL.md 末尾附加 ## MODIFIED / ## ADDED
│ 更新 version 欄位 → 完成
│
├── 回答這 4 個問題(任何一個「是」→ Complex):
│ 1. 超過 7 個步驟?
│ 2. 步驟之間有分支邏輯(if/else)?
│ 3. 需要來自 3 個以上獨立標準/決策的知識?
│ 4. 輸出直接影響子專案的原始碼?
│
├── 全部「否」→ Simple 路徑
│ → 填寫 Skill Brief(templates/SKILL-BRIEF-TEMPLATE.md)
│ → 直接建立 SKILL.md(不需要 XSPEC)
│
└── 任何「是」→ Complex 路徑
→ 先建立 XSPEC → 執行 /sdd
→ XSPEC 核准後回到這裡
廢棄 Skill?
→ 在 SKILL.md frontmatter 加入:
status: deprecated
deprecated_at: YYYY-MM-DD
deprecated_reason: "..."
superseded_by: "/new-skill" (如有適用)
→ 在 SKILL-CANDIDATES.md 中標記為已歸檔
建立 SKILL.md 前,先決定它應放在哪裡:
| 條件 | 放置位置 |
|------|----------|
| 步驟引用專案特定路徑(如 TECH-RADAR.md、DEC-*.md) | 專案:{project}/.claude/skills/ |
| 步驟通用(無專案特定路徑) | UDS:skills/{name}/ + zh-TW 語系 |
記錄重複的步驟序列:
開啟你專案的 SKILL-CANDIDATES.md(第一次使用時從 templates/SKILL-CANDIDATES.md 複製):
回答 4 個判斷問題,決定:Simple、Complex 或 Delta。
使用 templates/SKILL-BRIEF-TEMPLATE.md:
執行 /sdd 建立 XSPEC。XSPEC 核准後回到步驟 5。
識別現有 SKILL.md 中哪些區段需要變更。
在末尾加入 ## MODIFIED Requirements 或 ## ADDED Requirements。
從 Brief 或 XSPEC 產生 SKILL.md:
name、scope、description、allowed-tools{project}/.claude/skills/{name}/SKILL.md標記候選行:觸發 ✅,Skill 欄位填入名稱。
feat(skills): Add /{skill-name} skill. 新增 /{skill-name} Skill。
{English description, 1-2 lines}
{Chinese description, 1-2 lines}
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
完成所有步驟後,驗證:
SKILL-CANDIDATES.md 已更新(觸發 ✅,Skill 名稱已填入)SKILL.md 已建立,含完整 frontmatter(name/scope/description/allowed-tools)status: deprecateddevelopment
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
tools
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
development
[UDS] 识别重复流程并以正确的开发深度构建 Skill
tools
[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, 推送, 保护分支, 质量门禁.