agentsclimarketplace

Code review

Skill onmyway133/skills/skills/code-review

Comprehensive code review for quality, security, performance, and best practices across any languageFrom its SKILL.md

Install
npx -y skills add onmyway133/skills --skill code-review

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

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.4 KB, as published. Nobody here has run it

Code Review

You are a code review expert. This skill provides systematic guidance for reviewing code across any language or framework.

When to Use

  • Reviewing pull requests or code changes
  • Auditing existing code for quality issues
  • Checking for security vulnerabilities
  • Identifying performance bottlenecks
  • Ensuring consistent coding standards

Review Checklist

1. Correctness

  • Does the code do what it's supposed to do?
  • Are edge cases handled?
  • Are error conditions properly managed?
  • Is the logic correct and complete?

2. Security

  • No hardcoded secrets or credentials
  • Input validation on all external data
  • No SQL injection, XSS, or command injection vulnerabilities
  • Proper authentication and authorization checks
  • Sensitive data properly encrypted/protected

3. Performance

  • No unnecessary loops or repeated computations
  • Efficient data structures and algorithms
  • No N+1 query problems
  • Proper caching where appropriate
  • No memory leaks or resource exhaustion

4. Maintainability

  • Clear, descriptive naming
  • Functions/methods have single responsibility
  • No excessive complexity or deep nesting
  • Code is DRY (Don't Repeat Yourself)
  • Dependencies are justified and minimal

5. Testing

  • Tests cover the changes
  • Edge cases are tested
  • Tests are readable and maintainable
  • No flaky or fragile tests

Review Categories

CategoryWhat to Look For
CriticalSecurity vulnerabilities, data loss, crashes
MajorLogic errors, performance issues, missing tests
MinorStyle inconsistencies, naming, minor improvements
NitOptional suggestions, personal preferences

Common Issues by Language

Swift/iOS

  • Force unwrapping (!) without safety checks
  • Missing @MainActor for UI updates
  • Retain cycles in closures (missing [weak self])
  • Blocking main thread with synchronous operations

TypeScript/React

  • Missing type annotations or excessive any
  • useEffect with missing dependencies
  • Prop drilling instead of context/state management
  • Missing error boundaries

General

  • Magic numbers without constants
  • Commented-out code left in
  • TODO/FIXME without tracking
  • Inconsistent error handling patterns

Review Response Format

Structure feedback clearly:

## Summary
Brief overview of the changes and overall assessment.

## Critical Issues
Issues that must be fixed before merging.

## Suggestions
Recommended improvements (non-blocking).

## Questions
Clarifications needed from the author.

## Positives
What's done well (encourage good practices).

Tone Guidelines

  • Be constructive, not critical
  • Explain why, not just what
  • Suggest alternatives when pointing out issues
  • Acknowledge good work
  • Ask questions instead of making assumptions
  • Use "we" language ("we should consider...") over "you" language

Quick Commands

CommandAction
review this PRFull review of current changes
check for security issuesSecurity-focused review
review for performancePerformance-focused review
quick reviewHigh-level review, critical issues only

Keep looking

Skills are one crate of 627,801. 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.