coding-standards
Installation
SKILL.md
Coding Standards Skill
觸發時機
- 編寫新代碼時
- 代碼審查階段
- 生成 Application Service / Use Case 時
- 被 Sub-agent (command/query/reactor) 呼叫時
核心任務
強制執行統一的編碼規範,確保 AI 生成的代碼風格高度一致,降低人類審閱成本。
多語言支援
根據專案語言選擇對應的規範:
Related skills
More from knowlet/skills
multi-model-reviewer
協調多個 AI 模型(ChatGPT、Gemini、Codex、QWEN、Claude)進行三角驗證,確保「Specification == Program == Test」一致性。過濾假警報後輸出報告,大幅減少人工介入時間。
13enforce-contract
單元測試與代碼提交前觸發。掃描並驗證方法的 pre-conditions、post-conditions 與 invariants,透過契約式設計減少 AI 幻覺。
10spec-compliance-validator
驗證規格檔案的完整性與一致性,確保所有必要的規格元素都已定義且符合標準格式。
10arch-guard
進行代碼重構或新增模組時觸發。確保程式碼符合 Clean Architecture + DDD + CQRS 的層次關係,防止架構腐化。
9code-reviewer
Automated code review that checks code quality, Clean Architecture compliance, DDD patterns, coding standards, and spec traceability.
9saga-orchestrator
處理跨 Frame 的複雜業務流程,協調多個 Sub-agent (command/query/reactor) 完成 Saga/Choreography 模式的分散式交易。當需求涉及多個狀態變更、事件反應與查詢的組合時使用。
9