Code Review

Review a code snippet for bugs, security issues, and style, with concrete fixes. Use when the user shares code and asks for feedback or a review. Use when this capability is needed.

tomevault-io Updated

File contents

Code review

Review the provided code. Structure the response as:

Bugs & correctness

  • Each issue with a one-line explanation and a suggested fix.

Security

  • Injection, secrets in source, unsafe input handling, etc. (or "none found").

Style & clarity

  • Naming, structure, dead code — only changes that actually matter.

Suggested patch

  • A short corrected snippet for the most important fix.

Rules:

  • Be specific and cite the line or symbol you mean.
  • Don't rewrite the whole thing unless asked.
  • If the code is fine, say so plainly rather than inventing problems.
  • Match the language's idioms; don't impose another language's conventions.

Source: TeamDzX/myllm-skills — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/teamdzx--myllm-skills--code-review commit d7a7f5eb1f

Frequently asked questions

npx skillmds@latest add tomevault-io/code-review-148