super-review
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a super review, deep code quality audit, or especially harsh maintainability review.
What this skill does
# Super Review Use this skill for an unusually strict review focused on implementation quality, maintainability, abstraction quality, and codebase health. This is inspired by thermo nuclear code quality review from Cursor. Above all, this skill should push the reviewer to be **ambitious** about code structure. Do not merely identify local cleanup opportunities. Actively search for "code judo" moves: restructurings that preserve behavior while making the implementation dramatically simpler, smaller, more direct, and more elegant. ## Core Prompt 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. ## Non-Negotiable Additional Standards Apply the baseline prompt above, plus these explicit review rules: 0. **Be ambitious about structural simplification.** - Do not stop at "this could be a bit cleaner." - Look for opportunities to reframe the change so that whole branches, helpers, modes, conditionals, or layers disappear entirely. - Prefer the solution that makes the code feel inevitable in hindsight. - Assume there is often a "code judo" move available: a re-organization that uses the existing architecture more effectively and makes the change dramatically simpler and more elegant. - If you see a path to delete complexity rather than rearrange it, push hard for that path. 1. **Do not let a PR push a file from under 1k lines to over 1k lines without a very strong reason.** - Treat this as a strong code-quality smell by default. - Prefer extracting helpers, subcomponents, modules, or local abstractions instead of letting a file sprawl past 1000 lines. - If the diff crosses that threshold, explicitly ask whether the code should be decomposed first. - Only waive this if there is a compelling structural reason and the resulting file is still clearly organized. 2. **Do not allow random spaghetti growth in existing code.** - Be highly suspicious of new ad-hoc conditionals, scattered special cases, or one-off branches inserted into unrelated flows. - If a change adds "weird if statements in random places", treat that as a design problem, not a stylistic nit. - Prefer pushing the logic into a dedicated abstraction, helper, state machine, policy object, or separate module instead of tangling an existing path. - Call out changes that make the surrounding code harder to reason about, even if they technically work. 3. **Bias toward cleaning the design, not just accepting working code.** - If behavior can stay the same while the structure becomes meaningfully cleaner, push for the cleaner version. - Do not rubber-stamp "it works" implementations that leave the codebase messier. - Strongly prefer simplifications that remove moving pieces altogether over refactors that merely spread the same complexity around. 4. **Prefer direct, boring, maintainable code over hacky or magical code.** - Treat brittle, ad-hoc, or "magic" behavior as a code-quality problem. - Be skeptical of generic mechanisms that hide simple data-shape assumptions. - Flag thin abstractions, identity wrappers, or pass-through helpers that add indirection without buying clarity. 5. **Push hard on type and boundary cleanliness when they affect maintainability.** - Question unnecessary optionality, `unknown`, `any`, or cast-heavy code when a clearer type boundary could exist. - Prefer explicit typed models or shared contracts over loosely-shaped ad-hoc objects. - If a branch relies on silent fallback to paper over an unclear invariant, ask whether the boundary should be made explicit instead. 6. **Keep logic in the canonical layer and reuse existing helpers.** - Call out feature logic leaking into shared paths or implementation details leaking through APIs. - Prefer existing canonical utilities/helpers over bespoke one-offs. - Push code toward the right package, service, or module instead of normalizing architectural drift. 7. **Treat unnecessary sequential orchestration and non-atomic updates as design smells when the cleaner structure is obvious.** - If independent work is serialized for no good reason, ask whether the flow should run in parallel instead. - If related updates can leave state half-applied, push for a more atomic structure. - Do not over-index on micro-optimizations, but do flag avoidable orchestration complexity that makes the implementation more brittle. ## Primary Review Questions For every meaningful change, ask: - Is there a "code judo" move that would make this dramatically simpler? - Can this change be reframed so fewer concepts, branches, or helper layers are needed? - Does this improve or worsen the local architecture? - Did the diff add branching complexity where a better abstraction should exist? - Did a previously cohesive module become more coupled, more stateful, or harder to scan? - Is this logic living in the right file and layer? - Did this change enlarge a file or component past a healthy size boundary? - Are there repeated conditionals that signal a missing model or missing helper? - Is the implementation direct and legible, or does it rely on special cases and incidental control flow? - Is this abstraction actually earning its keep, or is it just a wrapper? - Did the diff introduce casts, optionality, or ad-hoc object shapes that obscure the real invariant? - Is this logic living in the canonical layer, or did the diff leak details across a boundary? - Is this orchestration more sequential or less atomic than it needs to be? ## What to Flag Aggressively Escalate findings when you see: - A complicated implementation where a cleaner reframing could delete whole categories of complexity. - Refactors that move code around but fail to reduce the number of concepts a reader must hold in their head. - A file crossing 1000 lines due to the PR, especially if the new code could be split out. - New conditionals bolted onto unrelated code paths. - One-off booleans, nullable modes, or flags that complicate existing control flow. - Feature-specific logic leaking into general-purpose modules. - Generic "magic" handling that hides simple structure and makes the code harder to reason about. - Thin wrappers or identity abstractions that add indirection without simplifying anything. - Unnecessary casts, `any`, `unknown`, or optional params that muddy the real contract. - Copy-pasted logic instead of extracted helpers. - Narrow edge-case handling implemented in the middle of an already busy function. - Refactors that technically pass tests but make the code less modular or less readable. - "Temporary" branching that is likely to become permanent debt. - Bespoke helpers where the codebase already has a canonical utility for the job. - Logic added in the wrong layer/package when it should live somewhere more central. - Sequential async flow where obviously independent work could stay simpler and clearer with parallel execution. - Partial-update logic that leaves state less atomic than necessary. ## Preferred Remedies When you identify a code-quality problem, prefer suggestions like: - Delete a whole layer of indirection rather than polishing it. - Reframe the state model so conditionals disappear instead of getting centralized. - Change the ownership boundary so the feature becomes a natural extension of an existing abstraction. - Turn special-case logic into a simpler default flow with fewer exceptions. - Extract a helper or pure function. - Split a large file into smaller focused modules. - Move feature-specific logic behind a ded
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".