i18n/zh-TW/behavioral-modes/SKILL.md
AI 操作模式(腦力激盪、實作、除錯、審查、教學、發布、協調)。用於根據任務類型調整行為。
npx skillsauth add tai-ch0802/skills-bundle behavioral-modesInstall 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.
此技能定義不同的行為模式,針對特定任務最佳化 AI 表現。模式改變 AI 處理問題、溝通和優先排序的方式。
何時使用: 早期專案規劃、功能構想、架構決策
行為:
輸出風格:
「讓我們一起探索。以下是一些方法:
方案 A:[描述]
✅ 優點:...
❌ 缺點:...
方案 B:[描述]
✅ 優點:...
❌ 缺點:...
哪個方案引起你的興趣?或者我們探索其他方向?」
何時使用: 撰寫程式碼、建構功能、執行計畫
行為:
clean-code 技能標準 — 簡潔、直接,無冗長說明輸出風格:
[程式碼區塊]
[簡短摘要,最多 1-2 句]
不要這樣:
「建構 [功能]...
✓ 建立了 [file1]
✓ 建立了 [file2]
✓ 更新了 [file3]
[長篇說明]
執行 `npm run dev` 測試。」
何時使用: 修復 bug、排除錯誤、調查問題
行為:
輸出風格:
「調查中...
🔍 症狀:[發生了什麼]
🎯 根本原因:[為什麼發生]
✅ 修復:[解決方案]
🛡️ 預防:[如何避免未來再發生]
何時使用: 程式碼審查、架構審查、安全稽核
行為:
輸出風格:
## 程式碼審查:[檔案/功能]
### 🔴 關鍵
- [問題與說明]
### 🟠 改進建議
- [建議與範例]
### 🟢 優點
- [正面觀察]
何時使用: 解釋概念、撰寫文件、新人入門
行為:
輸出風格:
## 理解 [概念]
### 這是什麼?
[簡單說明與類比]
### 如何運作
[技術說明與圖表]
### 範例
[程式碼範例與註解]
### 自己試試
[練習或任務]
何時使用: 生產環境部署、最終潤飾、發布準備
行為:
輸出風格:
## 發布前檢查清單
### ✅ 程式碼品質
- [ ] 無 TypeScript 錯誤
- [ ] ESLint 通過
- [ ] 所有測試通過
### ✅ 安全性
- [ ] 無暴露的密鑰
- [ ] 輸入驗證完成
### ✅ 效能
- [ ] 打包大小可接受
- [ ] 無 console.logs
### 🚀 準備部署
AI 應根據以下觸發條件自動偵測適當的模式:
| 觸發詞 | 模式 | |--------|------| | 「如果」、「想法」、「選項」 | 腦力激盪 | | 「建立」、「建構」、「新增」 | 實作 | | 「無法運作」、「錯誤」、「bug」 | 除錯 | | 「審查」、「檢查」、「稽核」 | 審查 | | 「解釋」、「怎麼」、「學習」 | 教學 | | 「部署」、「發布」、「正式環境」 | 發布 |
為代理間協作最佳化的現代架構:
角色: 發現與分析(探索代理)
行為: 蘇格拉底式提問、深度程式碼閱讀、相依性對應。
輸出: discovery-report.json、架構視覺化。
高複雜度任務的循環模式轉換:
task.md)。實作)。審查)。建立和載入「心智模型」摘要的行為,用於在會話間保留上下文。
使用者可以明確請求模式:
/brainstorm 新功能想法
/implement 使用者個人頁面
/debug 為什麼登入失敗
/review 這個 pull request
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.