Skip to content
OpenSmartRoute
Skillv1.0.0

code-review

Comprehensive code review checklist for pull requests

by block(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from block/agent-skills (code-review/SKILL.md). Install upstream with npx skills add block/agent-skills --skill code-review. Copyright stays with the author.

Code Review Checklist

When reviewing code, check each of these areas:

Functionality

  • Code does what the PR description claims
  • Edge cases are handled
  • Error handling is appropriate

Code Quality

  • Follows project style guide
  • No hardcoded values that should be configurable
  • Functions are focused and well-named

Testing

  • New functionality has tests
  • Tests are meaningful, not just for coverage
  • Existing tests still pass

Security

  • No credentials or secrets in code
  • User input is validated
  • SQL queries are parameterized

Performance

  • No obvious performance issues
  • Database queries are optimized
  • No unnecessary loops or iterations

Documentation

  • Public APIs are documented
  • Complex logic has comments explaining "why"
  • README updated if needed

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/block-agent-skills-code-review/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

block-agent-skills-code-review.ocm.jsonjson
{
  "ocm": "1",
  "id": "block-agent-skills-code-review",
  "kind": "skill",
  "name": "code-review",
  "description": "Comprehensive code review checklist for pull requests",
  "publisher": "block",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "development",
      "quality",
      "review",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Comprehensive code review checklist for pull requests"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/block/agent-skills",
      "path": "code-review/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/block/agent-skills/blob/HEAD/code-review/SKILL.md",
      "key": "block/agent-skills/code-review/SKILL.md"
    }
  },
  "instructions": "# Code Review Checklist\n\nWhen reviewing code, check each of these areas:\n\n## Functionality\n\n- [ ] Code does what the PR description claims\n- [ ] Edge cases are handled\n- [ ] Error handling is appropriate\n\n## Code Quality\n\n- [ ] Follows project style guide\n- [ ] No hardcoded values that should be configurable\n- [ ] Functions are focused and well-named\n\n## Testing\n\n- [ ] New functionality has tests\n- [ ] Tests are meaningful, not just for coverage\n- [ ] Existing tests still pass\n\n## Security\n\n- [ ] No credentials or secrets in code\n- [ ] User input is validated\n- [ ] SQL queries are parameterize",
  "cost": {
    "context_tokens": 216
  }
}

Fetch it by URL: GET /api/v1/registry/block-agent-skills-code-review/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.

code-review - Skill - OpenSmartRoute