.claude/skills/methodology-system/SKILL.md
[UDS] 管理當前專案的開發方法論,支援 SDD 和雙迴圈 TDD 兩個獨立系統
npx skillsauth add asiaostrich/universal-dev-standards methodologyInstall 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 | 繁體中文
[!WARNING] 實驗性功能
此功能正在積極開發中,可能在 v4.0 中有重大變更。
管理當前專案的開發方法論,支援兩個獨立系統。
兩個獨立系統:
可選輸入: ATDD - 驗收測試驅動開發(可作為任一系統的輸入)
| 動作 | 說明 |
|------|------|
| (無) / status | 顯示當前階段和檢查清單 |
| switch <id> | 切換到不同方法論 |
| phase [name] | 顯示或變更當前階段 |
| checklist | 顯示當前階段檢查清單 |
| skip | 跳過當前階段(會有警告) |
| list | 列出可用方法論 |
| create | 建立自訂方法論 |
| 系統 | ID | 工作流程 |
|------|-----|---------|
| A:SDD | sdd | /sdd -> 審查 -> /derive-all -> 實作 |
| B:BDD | bdd | 探索 -> 制定 -> 自動化 |
| B:TDD | tdd | 紅 -> 綠 -> 重構 |
| 輸入 | atdd | 工作坊 -> 範例 -> 測試 |
/methodology # 顯示當前狀態
/methodology switch sdd # 切換到規格驅動開發
/methodology phase green # 移至 GREEN 階段(TDD)
/methodology checklist # 顯示當前階段檢查清單
/methodology list # 列出所有可用方法論
/methodology skip # 跳過當前階段(會有警告)
/methodology create # 啟動自訂方法論精靈
方法論設定儲存在 .standards/manifest.json:
{
"methodology": {
"active": "sdd",
"available": ["tdd", "bdd", "sdd", "atdd"]
}
}
/methodology 完成後,AI 助手應根據選擇的方法論建議:
方法論已設定。建議下一步:
- SDD 方法論 → 執行
/sdd建立規格- BDD 方法論 → 執行
/bdd開始場景探索- TDD 方法論 → 執行
/tdd開始紅綠重構- ATDD 方法論 → 執行
/atdd定義驗收條件
development
[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, 推送, 保护分支, 质量门禁.