协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
maintainability-review【开发与工程】Review code changes only for maintainability risks: unnecessary complexity, poor readability, duplication, weak separation of concerns, and misalignment with repository conventions. Use when the user explicitly asks for maintainability review, code quality review, clean code review, complexity review, readability review, simplification review, or how…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
In rag-reviewer:review-pr use the PR-session tools above. Standalone (no PR session): use
the session-less tools per the reviewer-grounding block when reviewer is connected and the
index is fresh; otherwise fall back to grep/Read.
Look only for maintainability risks in the selected changes. Ignore performance, security, and general correctness unless they directly explain a maintainability concern.
Prioritize findings such as:
Before raising project-practice findings, read the repository-local guidance that governs the current workspace.
Prefer this order:
rag-reviewer:review-pr, read CLAUDE.md or AGENTS.md via read_file; in standalone,
read them from disk.Do not treat personal preference as a project convention.
suggestion field.Prefer suggestions such as:
Do not suggest refactors that increase indirection without a clear readability win.
Do not raise findings for:
critical / high: the change introduces major complexity, unclear control flow,
or strong convention drift that is likely to cause future bugs or make the code
meaningfully harder to modify safely.medium: the change adds noticeable complexity or weakens readability or
consistency enough that it should probably be simplified before merge.low: the change is acceptable but has a worthwhile simplification or cleanup
opportunity.Return only actionable findings.
Return ONLY the findings JSON used by the review pipeline, with
"category": "maintainability":
confidence against concrete, grounded evidence: a duplicated block you can quote
or a real complexity hotspot → 0.8+; a subjective readability concern → 0.5–0.7; pure taste
→ ≤ 0.4 (drop).
Set "category" to "maintainability"; "side" is always "RIGHT".The suggestion field replaces what in the original Codex format appeared after
Simplification: — put the concrete simplifying alternative there.