i18n/zh-TW/plan-writing/SKILL.md
結構化任務規劃,包含清晰的分解、依賴關係和驗證標準。用於實作功能、重構或任何多步驟工作。
npx skillsauth add tai-ch0802/skills-bundle plan-writingInstall 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.
來源:obra/superpowers
此技能提供將工作分解為清晰、可操作任務的框架,附帶驗證標準。
{task-slug}.md 儲存在專案根目錄auth-feature.md).claude/、docs/ 或暫存資料夾內🔴 沒有固定範本。每個計畫都對其任務是唯一的。
| ❌ 錯誤 | ✅ 正確 | |---------|---------| | 50 個任務和子子任務 | 最多 5-10 個清晰任務 | | 列出每個微步驟 | 僅可操作項目 | | 冗長描述 | 每個任務一行 |
規則: 如果計畫超過 1 頁,就太長了。簡化。
| ❌ 錯誤 | ✅ 正確 |
|---------|---------|
| 「設定專案」 | 「執行 npx create-next-app」 |
| 「新增驗證」 | 「安裝 next-auth,建立 /api/auth/[...nextauth].ts」 |
| 「美化 UI」 | 「在 Header.tsx 新增 Tailwind 類別」 |
規則: 每個任務應有清晰、可驗證的結果。
新專案:
功能新增:
Bug 修復:
🔴 不要複製貼上腳本指令。根據專案類型選擇。
| 專案類型 | 相關腳本 |
|----------|----------|
| 前端/React | ux_audit.py、accessibility_checker.py |
| 後端/API | api_validator.py、security_scan.py |
| 行動 | mobile_audit.py |
| 資料庫 | schema_validator.py |
| 全端 | 根據你觸及的部分混合使用 |
錯誤: 每個計畫都加入所有腳本 正確: 僅與此任務相關的腳本
| ❌ 錯誤 | ✅ 正確 |
|---------|---------|
| 「驗證元件運作正確」 | 「執行 npm run dev,點擊按鈕,看到 toast」 |
| 「測試 API」 | 「curl localhost:3000/api/users 回傳 200」 |
| 「檢查樣式」 | 「開啟瀏覽器,驗證暗色模式切換可用」 |
# [任務名稱]
## 目標
一句話:我們在建構/修復什麼?
## 任務
- [ ] 任務 1:[具體動作] → 驗證:[如何檢查]
- [ ] 任務 2:[具體動作] → 驗證:[如何檢查]
- [ ] 任務 3:[具體動作] → 驗證:[如何檢查]
## 完成條件
- [ ] [主要成功標準]
就是這樣。 除非真正需要,否則不需要階段、子區塊。 保持最少。僅在需要時增加複雜度。
[任何重要考量]
---
## 最佳實踐(快速參考)
1. **從目標開始** — 我們在建構/修復什麼?
2. **最多 10 個任務** — 如果更多,分成多個計畫
3. **每個任務可驗證** — 清晰的「完成」標準
4. **專案特定** — 不要複製貼上範本
5. **隨時更新** — 完成時標記 `[x]`
---
## 何時使用
- 從零開始的新專案
- 新增功能
- 修復 bug(如果複雜)
- 重構多個檔案
development
Unified testing skill — TDD workflow, unit/integration patterns, E2E/Playwright strategies. Replaces tdd-workflow + testing-patterns + webapp-testing.
testing
Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.
development
Spec-Driven Development (SDD): A structured workflow (Requirement -> Analysis -> Implementation) enforcing explicit documentation before coding.
development
Methodologies for System Analysis (SA), focusing on technical architecture, data flow modeling, and API design.