Skip to content
OpenSmartRoute
Skillv1.0.0

code_review

A skill for performing automated code reviews with security and best practices analysis

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

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

See reviews

About

Imported from XSpoonAi/spoon-bot (workspace/skills/code_review/SKILL.md). Install upstream with npx skills add XSpoonAi/spoon-bot --skill code_review. Copyright stays with the author.

Code Review Skill

A skill for performing comprehensive code reviews focusing on:

  • Security vulnerabilities (injection, XSS, etc.)
  • Code quality and maintainability
  • Performance issues
  • Best practices adherence

Instructions

When activated, analyze the provided code or file for:

  1. Security Analysis

    • Check for injection vulnerabilities
    • Look for hardcoded credentials
    • Identify unsafe operations
  2. Code Quality

    • Check naming conventions
    • Evaluate function complexity
    • Review error handling
  3. Performance

    • Identify potential bottlenecks
    • Check for unnecessary operations
    • Review resource management
  4. Best Practices

    • Verify documentation
    • Check for type hints
    • Review test coverage

Output Format

Provide a structured review with:

  • Summary (1-2 sentences)
  • Findings (categorized by severity)
  • Recommendations (actionable items)
  • Code snippets with suggested fixes

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/xspoonai-spoon-bot-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.

xspoonai-spoon-bot-code-review.ocm.jsonjson
{
  "ocm": "1",
  "id": "xspoonai-spoon-bot-code-review",
  "kind": "skill",
  "name": "code_review",
  "description": "A skill for performing automated code reviews with security and best practices analysis",
  "publisher": "XSpoonAi",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "code",
      "review",
      "security",
      "quality",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "A skill for performing automated code reviews with security and best practices analysis"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/XSpoonAi/spoon-bot",
      "path": "workspace/skills/code_review/SKILL.md",
      "ref": "fe12f85fa7eceab89ddc303c6d9fc260a1f8fa4d",
      "url": "https://github.com/XSpoonAi/spoon-bot/blob/fe12f85fa7eceab89ddc303c6d9fc260a1f8fa4d/workspace/skills/code_review/SKILL.md",
      "key": "XSpoonAi/spoon-bot/workspace/skills/code_review/SKILL.md"
    }
  },
  "instructions": "# Code Review Skill\n\nA skill for performing comprehensive code reviews focusing on:\n- Security vulnerabilities (injection, XSS, etc.)\n- Code quality and maintainability\n- Performance issues\n- Best practices adherence\n\n## Instructions\n\nWhen activated, analyze the provided code or file for:\n\n1. **Security Analysis**\n   - Check for injection vulnerabilities\n   - Look for hardcoded credentials\n   - Identify unsafe operations\n\n2. **Code Quality**\n   - Check naming conventions\n   - Evaluate function complexity\n   - Review error handling\n\n3. **Performance**\n   - Identify potential bottlenecks\n   - Ch",
  "cost": {
    "context_tokens": 238
  }
}

Fetch it by URL: GET /api/v1/registry/xspoonai-spoon-bot-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.