Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

code-reviewer

Declaración de origen

Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Temas relacionados
Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

Reviews pull requests and code diffs for bugs, security issues, N+1 queries and design concerns, and returns a prioritized report with a verdict.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Summarizes the PR's intent in one sentence before reviewing.
  • Reviews structure, details, security and performance, including N+1 queries and injection risks.
  • Checks test coverage and whether tests assert behavior.
  • Produces a categorized report with critical, major and minor issues, praise and a final verdict.

Limitaciones y alcance

  • Declares allowed-tools of Read, Grep and Glob, so it is a read-only reviewer that does not run code.
  • Findings come from reading, not from executing tests or tooling.
  • Deeper checklists and security coverage depend on reference files and the related security-reviewer skill.

Relevante para

  • Reviewers of pull requests
  • Teams running code quality audits
  • Authors self-reviewing before opening a PR

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
7
Archivos Markdown
7
scripts
0
referencias
6
Tamaño
32,3 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/code-reviewer/references/common-issues.mdReferencia2,9 KB
skills/code-reviewer/references/feedback-examples.mdReferencia3,4 KB
skills/code-reviewer/references/receiving-feedback.mdReferencia6,5 KB
skills/code-reviewer/references/report-template.mdReferencia3 KB
skills/code-reviewer/references/review-checklist.mdReferencia2,4 KB
skills/code-reviewer/references/spec-compliance-review.mdReferencia8,8 KB
skills/code-reviewer/SKILL.mdInstrucción5,2 KB

Frontmatter de SKILL.md

{
  "name": "code-reviewer",
  "description": "Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.",
  "license": "MIT",
  "allowed-tools": "Read Grep Glob",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "quality",
    "triggers": "code review, PR review, pull request, review code, code quality",
    "role": "specialist",
    "scope": "review",
    "output-format": "report",
    "related-skills": "security-reviewer, test-master, architecture-designer"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Gather context

    Read the PR description and summarize its intent in one sentence, asking the author if unclear.

  2. 02
    Acción

    Review details

    Check code quality, security and performance, including N+1 queries, hardcoded secrets and injection risks.

  3. 03
    Decisión

    Surface critical issues

    If critical issues are found, note them immediately instead of waiting until the end.

  4. 04
    Salida

    Deliver the report

    Produce a report with summary, issues by severity, positive feedback, questions and a verdict.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

16 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Nota

File modification is described or implemented

5 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 5 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

10 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 10 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Alta

Credential or secret material is referenced

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 1 location(s) in the collected text; 1 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota de seguridad editorial

Because it is limited to read-only tools this is low risk, but still confirm the allowed-tools setting is honored in your environment.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/code-reviewer # .claude/skills/code-reviewer
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/code-reviewer/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Install the skill into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Confirm code-reviewer/SKILL.md exists at the destination, then ask Claude Code to use the code-reviewer skill on a small test task.

Requisitos previos

  • Declares allowed-tools of Read, Grep and Glob, so it is a read-only reviewer that does not run code.
  • Findings come from reading, not from executing tests or tooling.
  • Deeper checklists and security coverage depend on reference files and the related security-reviewer skill.

Prompts de ejemplo

Representative task

Use the code-reviewer skill to review the changes on this branch against main, summarize the intent first, and give me a report with critical, major and minor issues and a verdict.

Inspect before use

Read the code-reviewer skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/code-reviewer/SKILL.md and its referenced files. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Tool access is limited to read-only operations.
  • Sets a respectful tone: acknowledge the author's reasoning and avoid nitpicking when linters exist.

Aspectos a considerar

  • Cannot confirm behavior by running the code.
  • A single broad pass may miss specialized security or test-design issues.
Conclusión de la investigación

A well-scoped, read-only review skill that gives structured feedback but does not replace running tests or a dedicated security review.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/code-reviewer
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.