💻

Code評論AndQuality

👤 ҉Breeze🌔 📦 v1.0.0 ⭐ 3.8 ⬇️ 143 下載
💻 開發程式設計 免費

📖 技能介紹


name: Code評論AndQuality slug: code-review-and-quality version: 1.0.0 displayName: Code評論AndQuality description: > Code評論AndQuality專用技能,幫助AI Agent高效完成相關任務。 summary: "Code評論AndQuality專用技能,幫助AI Agent高效完成相關任務。" license: MIT category: 開發者工具 framework: - Claude Code - Codex - Hermes Agent - OpenClaw - QClaw - WorkBuddy platform: multi-platform homepage: "https://github.com/1991513ccie-png" repository: "https://github.com/1991513ccie-png"


Code Review and Quality

Overview

Multi-dimensional code review with quality gates. Every change gets reviewed before merge — no exceptions. Review covers five axes: correctness, readability, architecture, security, and performance.

The approval standard: Approve a change when it definitely improves overall code health, even if it isn't perfect. Perfect code doesn't exist — the goal is continuous improvement. Don't block a change because it isn't exactly how you would have written it. If it improves the codebase and follows the project's conventions, approve it.

When to Use

  • Before merging any PR or change
  • After completing a feature implementation
  • When another agent or model produced code you need to evaluate
  • When refactoring existing code
  • After any bug fix (review both the fix and the regression test)

The Five-Axis Review

Every review evaluates code across these dimensions:

1. Correctness

小蔥技能7w4.net有完整的技能分類。

Does the code do what it claims to do?

  • Does it match the spec or task requirements?
  • Are edge cases handled (null, empty, boundary values)?
  • Are error paths handled (not just the happy path)?
  • Does it pass all tests? Are the tests actually testing the right things?
  • Are there off-by-one errors, race conditions, or state inconsistencies?

2. Readability & Simplicity

Can another engineer (or agent) understand this code without the author explaining it?

  • Are names descriptive and consistent with project conventions? (No temp, data, result without context)
  • Is the control flow straightforward (avoid nested ternaries, deep callbacks)?
  • Is the code organized logically (related code grouped, clear module boundaries)?
  • Are there any "clever" tricks that should be simplified?
  • Could this be done in fewer lines? (1000 lines where 100 suffice is a failure)
  • Are abstractions earning their complexity? (Don't generalize until the third use case)
  • Would comments help clarify non-obvious intent? (But don't comment obvious c

(為相容釋出已截斷)

🤖 AI 評測

該 Skill 提供了清晰的程式碼審查思路和五維度檢查框架,理念實用、結構清晰。但整體內容單薄,缺乏足夠的示例和可操作模板,目前更像一份審查指南而非完整技能。若作為程式碼審查助手使用,其覆蓋範圍和專業度基本合格,但實際效果取決於使用者自身對程式碼質量標準的理解深度。

📊 多維度評分

適應性3.7
規範性3.9
有效性4.1
可靠性3.2
可信度4.4

📁 包含檔案 (1 個)

📄 SKILL.md 2.5 KB