Follow the principles from Robert C. Martin's "Clean Code" to perform code reviews, refactoring, and implementation. Covers best practices for naming, functions, comments, and error handling.
本技能赋能 AI Agent 编写、审查和重构符合 Robert C. Martin (Uncle Bob)《代码整洁之道》原则的代码。其核心目标是提高代码的可读性、可维护性和长期生产力。
accountList 除非它真的是 List)。data1, data2 或 theMessage 这样模糊的命名。genymdhms -> generationTimestamp)。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
Tags:重构, 代码质量, 软件工程, 最佳实践, clean-code