本文へ移動
cccskills
無料GitHub で公開

wasp-review

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Crosspost Wasp blog articles (MDX) to DEV.to and Medium.

日本語の概要は準備中です。原文の説明を表示しています。

wasp-lang/wasp1.9万2026年10月13日 更新

Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

日本語の概要は準備中です。原文の説明を表示しています。

wasp-lang/wasp1.9万2026年10月13日 更新

Transfer a blog post from Notion to the Wasp blog. Fetches content, downloads and optimizes images, and creates a properly formatted MDX file.

日本語の概要は準備中です。原文の説明を表示しています。

wasp-lang/wasp1.9万2026年10月13日 更新

When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms. Also use when the user mentions 'LinkedIn post,' 'Twitter thread,' 'social media,' 'content calendar,' 'social scheduling,' 'engagement,' or 'viral content.' This skill covers content creation, repurposing, and platform-specific strategies.

日本語の概要は準備中です。原文の説明を表示しています。

wasp-lang/wasp1.9万2026年10月13日 更新

wasp-lang のスキルをすべて見る

このスキルの問題を報告する