Skip to content
cccskills
FreePublished on GitHub

wasp-review

Review code changes for correctness, readable names, clear interfaces, and design problems. Examine duplication, hidden assumptions, and unnecessary abstractions, then report actionable findings with file locations, explanations, and concrete suggestions for fixes.

OriginalShow the original description

Review code changes for correctness, clarity, and potential issues. Use when the user asks for a review, code review, PR review, or wants feedback on a diff or file.

See how to install

Good for

  • Review pull request changes
  • Check names and function interfaces
  • Find duplication and unclear responsibilities
  • Get concrete fixes with file and line references

Files included (1)

  • SKILL.md3.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Rules

Naming And Vocabulary

  • Demand precise, informative names. Names must not misdirect, omit relevant behavior, or assume unavailable context.
  • Make names accurately reflect what their declarations represent.
  • Context is king: evaluate names within their scope and surrounding vocabulary.
  • Use established codebase terminology consistently.
  • Follow established naming conventions e.g. is... for booleans and ensure... for idempotent setup operations.
  • Treat awkward names as evidence of design problems. If an accurate name becomes excessively long or complicated, inspect whether the declaration has too many responsibilities.
  • Avoid vague names such as data, info, or unexplained single letters.

Contracts And Interfaces

  • Review names before implementation details. Poor names often expose deeper problems in decomposition and architecture.
  • Declaration should be enough to understand, without the implementation. A function’s name, arguments, types, and contract should explain its behavior.

Readability And Context

  • Demand code to be easy to read. Understanding one section should not require reading the entire file.
  • Review from the perspective of a developer with minimal reasonable context.

Design And Architecture

  • Treat and or then in a function name as a possible responsibility smell.
  • Treat groups of similarly prefixed parameters as possible missing abstractions.
  • Make sure the code is DRY. Introduce helpers for commonly repeated concepts.
  • Identify hidden assumptions. Require assumptions to be enforced through types, runtime checks, or comments, in that order.
  • Check for Effective TypeScript defined problems.
  • Avoid NIH: check existing code and dependencies before introducing abstractions or helpers, share code once it has multiple consumers.

Comments And Writing

  • Prefer improving design or naming; use comments only when code cannot communicate enough.
  • Remove comments that preserve session-specific context unnecessary to a fresh reader.
  • Use comments only for information that names, arguments, and types cannot express.
  • Remove comments that merely narrate obvious code or exhibit generated filler.
  • Suggest pruning fluff and no-op sentences from prose.

Code Smells

  • Primitive Obsession: identify strings and primitives representing domain concepts that need dedicated types.
  • Shotgun Surgery: flag one logical change scattered across unrelated files.
  • Divergent Change: flag modules carrying several unrelated responsibilities.
  • Repeated Switches: flag code that repeatedly handles the same cases in different places.
  • Speculative Generality: reject abstractions and configuration without a current requirement.
  • Middle Man: flag layers that only forward calls without enforcing a boundary or adding meaning.

Other

  • Check whether requested improvements justify their implementation cost.

Findings And Reporting

  • Make every finding actionable. Include the file and line, explain the problem, and suggest a concrete fix.
  • Use code snippets when they make the problem or proposed fix clearer.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

crossposting

FreeSummary

Convert Wasp blog articles from MDX, a Markdown format with components, into files for DEV.to and Medium. Create or update DEV.to drafts, prepare Medium content, and optionally upload local videos to YouTube.

  • Prepare Wasp blog articles for DEV.to and Medium
  • Create DEV.to drafts or update existing articles
  • Prepare article sections and images for Medium
wasp-lang/wasp18.8KUpdated Oct 17, 2026

geo-fundamentals

FreeSummary

Review content for citation in AI search answers. Use checklists covering clear definitions, sourced data, author information, FAQs, and structured data, then plan how to monitor citations, brand mentions, and AI-referred traffic.

  • Reviewing articles for citation in AI search answers
  • Organizing definitions, sources, and FAQs in content
  • Checking author details and structured data
wasp-lang/wasp18.8KUpdated Oct 17, 2026

notion-to-blog

FreeSummary

Transfer a Notion blog draft into an MDX file, a Markdown format with components, for the Wasp website. Preserve text formatting, download and optimize images, and prepare metadata and links according to blog conventions.

  • Move a Notion draft into the Wasp blog
  • Convert article images to WebP
  • Preserve headings, code blocks, and text formatting
wasp-lang/wasp18.8KUpdated Oct 17, 2026

social-content

FreeSummary

Create social posts and weekly content calendars tailored to each platform and audience. Repurpose existing articles, plan interactions with readers, and use performance metrics to refine topics, opening lines, formats, and posting times.

  • Plan a weekly social content calendar
  • Adapt blog articles into posts for multiple platforms
  • Write opening lines and post drafts
wasp-lang/wasp18.8KUpdated Oct 17, 2026

See all skills by wasp-lang

Report a problem with this skill