Defines code quality standards, anti-hallucination checks, and official documentation verification processes. Ensures all code is up-to-date, stable, and aligned with best practices.
本技能旨在確保程式碼的可維護性、正確性與時效性。核心原則是 「寧可空白,不可捏造;寧可查證,不可過時」。
這是本專案最嚴格的執行規則。
官方文件優先 (Documentation First)
package.json 確認套件版本 (例如: Astro v5, Tailwind v4)。search_web 或 read_url_content 查閱官方變更日誌 (Changelog) 或最新文件。不確定就查證 (Verify if Unsure)
標註適用版本
userProfile 而非 uProf)。?., Nullish Coalescing ??, Async/Await)。const 常數或設定檔。any。如果一時解不開型別,使用 unknown 並加上註解說明。interface 與 type 定義清晰的資料結構。@apply 提取為組件或自定義 class (特別是在重複使用的情況下)。text-error 而非 text-red-500,確保與設計系統一致。當遇到錯誤時:
記住:你的目標是寫出「一年後你自己回來接手也能輕易看懂」的程式碼。
npx skills add mtwmt/程式碼品質與最佳實踐 (Clean Code & Best Practices)下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer