maintainability-review
Run an unusually strict maintainability review for structural simplification, abstraction quality, file growth, branching, types, boundaries, and codebase health.
- License 许可
- MIT
- 最近更新
- 2026-10-03
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- maintainability-review
- description
- Run an unusually strict maintainability review for structural simplification, abstraction quality, file growth, branching, types, boundaries, and codebase health.
02 资源文件 2
- 参考文档agents/openai.yaml297 B
- 参考文档references/code-quality-review.md5.2 KB
03 SKILL.md 正文
Thermo-Nuclear Code Quality Review
Review only the added or modified code and its demonstrated structural effects. Remain read-only unless the user separately asks for fixes.
Read the canonical code-quality rubric in full before reviewing. Apply its code-judo, file-size, branching, boundary, type, canonical-layer, atomicity, and approval-bar rules.
Workflow
- Resolve the intended change and the smallest correct diff.
- Read surrounding modules only as needed to judge ownership, reuse, and structural effects.
- Search for an implementation shape that deletes concepts, branches, wrappers, or state.
- Test every candidate finding against intended behavior and repository conventions.
- Return a small set of high-conviction findings instead of cosmetic volume.
Output
Order findings by structural regression, missed simplification, branching growth, boundary or type problems, file growth, then smaller maintainability concerns.
Each finding names file:line, the concrete maintenance cost, and the cleaner structural direction. If the implementation meets the rubric, approve it directly and name the strongest checks performed.
04 同仓库更多 Skills
writing-for-agents
Write predictable documents for agents. Use for skills, AGENTS.md, CLAUDE.md, or agent-facing reference documents.
verify-this
Verify a falsifiable claim with fresh baseline and treatment evidence. Use for verify this, prove it works, did this fix it, before-and-after evidence, or measurable behavior claims.
type-system-discipline
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.
tdd
Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
resolving-merge-conflicts
Resolve conflicts in an in-progress Git merge or rebase and complete the authorized operation.
research
Investigate a technical question using primary sources and save a cited Markdown research note.