agentsclimarketplace

Code review

Skill owainlewis/youtube-tutorials/tutorials/pi-coding-agent-guide/resources/04-skills/code-review

Review code changes for bugs, security issues, performance problems, and style violations. Use when asked to review code, a PR, or recent changes.From its SKILL.md

Install
npx -y skills add owainlewis/youtube-tutorials --skill code-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.3 KB, 264 tokens by cl100k_base, as published. Nobody here has run it

Code Review

When reviewing code, follow this process:

Step 1: Understand the Change

Run git diff (or git diff --staged for staged changes) to see what changed. Read the modified files in full to understand the surrounding context.

Step 2: Check for Issues

Review each changed file for:

Correctness

  • Logic errors, off-by-one errors, race conditions
  • Missing null/undefined checks at system boundaries
  • Incorrect error handling (swallowed errors, wrong error types)

Security

  • SQL injection, XSS, command injection
  • Hardcoded secrets or credentials
  • Overly permissive file/network access

Performance

  • N+1 queries, unnecessary loops, large allocations
  • Missing indexes for new database queries
  • Blocking operations in async code

Maintainability

  • Unclear naming, overly complex logic
  • Dead code, unused imports
  • Missing types in TypeScript

Step 3: Report

Format your review as:

  1. Summary: One sentence on what the change does
  2. Issues: Specific problems with file paths and line numbers
  3. Suggestions: Optional improvements (clearly marked as optional)

Be direct. Don't pad with praise. Focus on things that matter.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.