review
Use when asked to review a codebase or a change, or when the /review command runs — assess design, correctness, maintainability, and test coverage with actionable feedback.
- License 许可
- MIT
- 所属仓库
- 23xxCh/Only-U
- 最近更新
- 2026-08-28
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- review
- description
- Use when asked to review a codebase or a change, or when the /review command runs — assess design, correctness, maintainability, and test coverage with actionable feedback.
03 SKILL.md 正文
Code Review
Review the current project or the most recent change set and give feedback the author can act on.
Procedure
- Determine the review target: the whole project, the current branch diff (git diff against the base), or a specific area the user names.
- Read the code with these lenses:
- 设计: does the structure match the problem? Clear ownership, sane seams, no over-engineering?
- 正确性: boundary conditions, error handling, concurrency, resource lifetime.
- 可维护性: naming, duplication, dead code, complexity hotspots, comment quality.
- 测试: are the important behaviors covered? Are tests asserting behavior rather than implementation?
- For each finding: file/line, what's wrong, why it matters, concrete suggestion.
- Order feedback: blocking issues first, then nits. Distinguish "must fix" from "consider".
- End with what's good — reviews that only criticize are less useful.
Constraints
- Do not modify code during the review.
- If reviewing a diff, look at the diff in context (surrounding code), not just the changed lines.
04 同仓库更多 Skills
only-u-ops
Only-U USB 运维会话。Windows 上做只读诊断和带误删防护的清理预览;无网用 portable 脚本。TUI 会话一开始先诊断再清理预览;未获明确指令前不删除。
user-only-skill
Prove model-disabled skills stay outside the model catalog.
snapshot-skill
Exercise project skill discovery and loading in snapshot tests.
model-only-skill
Prove user-disabled skills remain available to the model.
editing-cordis-compositions
Use when creating, changing, or validating a Cordis composition for this harness — writing or editing an agent preset, adding or removing a plugin row, deciding whether something belongs to the host composition or to one session, checking whether a preset you authored actually mounts, or diagnosing a row that mounted but contributed nothing.
cordis-plugin-development
Create, modify, debug, or extend dynamic Cordis Plugins, including Host Services and Events, Client Slot and theme UI, Package-private Client-to-Host calls, dynamic Tools, version updates, approval failures, and runtime diagnostics. Use this Skill to route a user request to the correct platform and Inspect Provider, then define, run, repair, or roll back the Plugin.