一键导入
full-code-review
Extremely strict maintainability review hunting code-judo restructurings — abstraction quality, the 1k-line rule, and spaghetti growth.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extremely strict maintainability review hunting code-judo restructurings — abstraction quality, the 1k-line rule, and spaghetti growth.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | full-code-review |
| description | Extremely strict maintainability review hunting code-judo restructurings — abstraction quality, the 1k-line rule, and spaghetti growth. |
| disable-model-invocation | true |
An unusually strict review focused on implementation quality, maintainability, abstraction quality, and codebase health.
Above all, be ambitious about structure. Do not merely identify local cleanup. Actively hunt for code judo: a restructuring that preserves behavior while making the implementation dramatically simpler, smaller, and more direct — branches, helpers, modes, or whole layers disappearing entirely.
Start from this baseline:
Perform a deep code quality audit of the current branch's changes. Rethink how to structure / implement the changes to meaningfully improve code quality without impacting behavior. Work to improve abstractions, modularity, reduce Spaghetti code, improve succinctness and legibility. Be ambitious, if there is a clear path to improving the implementation that involves restructuring some of the codebase, go for it. Be extremely thorough and rigorous. Measure twice, cut once.
Each standard pairs the rule with the smell that triggers it and the remedy to reach for — when you spot the smell, push the remedy, not a rename. Be direct and demanding; do not soften a structural problem into a mild suggestion.
The whole review hunts for the reframing that deletes complexity rather than rearranging it. Don't stop at "this could be cleaner." Prefer the version that makes the change feel inevitable in hindsight, and prefer simplifications that remove moving pieces over refactors that spread the same complexity around.
Do not let a PR push a file from under 1000 lines to over 1000 without a very strong reason. Treat the crossing as a strong smell by default; waive only when the structure is compelling and the file stays clearly organized.
Be highly suspicious of new ad-hoc conditionals, scattered special cases, or one-off branches inserted into unrelated flows. "Weird if statements in random places" is a design problem, not a stylistic nit — call out changes that make surrounding code harder to reason about even when they technically work.
Prefer maintainable code over hacky or magical code. Treat brittle, ad-hoc, or "magic" behavior as a quality problem, and be skeptical of generic mechanisms that hide simple data-shape assumptions.
Push hard on type and boundary cleanliness when it affects maintainability.
Question unnecessary optionality, unknown, any, or cast-heavy code when a
clearer type boundary could exist.
Keep feature logic out of shared paths and implementation details out of APIs. Reuse existing canonical helpers rather than normalizing architectural drift.
Treat unnecessary sequential orchestration and non-atomic updates as design smells when the cleaner structure is obvious. Don't over-index on micro-optimizations, but flag avoidable orchestration that makes the implementation more brittle.
Be direct, serious, and demanding about quality. Do not be rude, but do not soften major maintainability issues into mild suggestions. If the code makes the codebase messier, say so. If the implementation missed an obvious dramatic simplification, say that too.
Good phrases:
this pushes the file past 1k lines. can we decompose this first?this adds another special-case branch into an already busy flow. can we move this behind its own abstraction?this works, but it makes the surrounding code more spaghetti. let's keep the behavior and restructure the implementation.this feels like feature logic leaking into a shared path. can we isolate it?this abstraction seems unnecessary. can we just keep the direct flow?why does this need a cast / optional here? can we make the boundary more explicit instead?this looks like a bespoke helper for something we already have elsewhere. can we reuse the canonical one?i think there's a code-judo move here that makes this much simpler. can we reframe this so these branches disappear?this refactor moves complexity around, but doesn't really delete it. is there a way to make the model itself simpler?Prefer a smaller number of high-conviction comments over a long list of cosmetic notes; do not flood the review with low-value nits when larger structural issues exist. Prioritize findings in this order:
Do not approve merely because behavior seems correct. Treat a clear violation of any Standard above as a presumptive blocker unless the author justifies it clearly — most of all, a PR that preserves incidental complexity when a plausible code-judo move would delete it. If the bar is not met, leave explicit, actionable feedback and push for the cleaner decomposition.
Use REFERENCE.md for extended remedy patterns with code-level illustrations and a quick-reference checklist.
After fixing the full-code-review findings, invoke the run-quality-gate
skill to execute the repository quality gates before ending the flow.
This skill run is complete only when:
run-quality-gate skill has been invoked and its gate outcomes reported.Router for 67 bundled design themes. Use whenever building or restyling UI and a visual direction is needed — it maps the desired vibe (minimal, playful, retro, enterprise, glassmorphism, etc.) to the right theme file to load. Trigger on "design style", "make it look...", "UI theme", "visual direction", or any request to build a page/app with a specific aesthetic.
Produce a new album entry for the app. Use when asked to add, analyse, or create an album entry.
Remove AI slop from every file in the repo — code, docs, config, and data.
Quality-gate execution for repository hygiene and release readiness. Use when the user asks to run a quality gate, clean all Problems panel issues, fix lint/test/coverage failures, or verify the branch meets strict 80%+ coverage thresholds without suppression.
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
Surface architectural friction in a codebase and apply deepening improvements.