Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

code-review

БесплатноБез исполняемых скриптовНе проверен

Run a comprehensive code review

JustineDevsот JustineDevs★ 17 звёзд на GitHub

Об этом скилле

Code Review Skill

Conduct a thorough code review for Roblox Studio, Luau, creator-runtime, plugin, and workflow changes with severity-rated feedback.

When to Use

This skill activates when:

  • User requests "review this code", "code review"
  • Before merging a pull request
  • After implementing a major feature
  • User wants quality assessment

GPT-5.5 Guidance Alignment

  • Default to outcome-first progress and completion reporting: state the target result, evidence, validation status, and stop condition before adding process detail.
  • Treat newer user task updates as local overrides for the active workflow branch while preserving earlier non-conflicting constraints.
  • If correctness depends on additional inspection, retrieval, execution, or verification, keep using the relevant tools until the review is grounded; stop once enough evidence exists.
  • Continue through clear, low-risk, reversible next steps automatically; ask only when the next step is materially branching, destructive, credentialed, external-production, or preference-dependent.

Delegates to the code-reviewer and architect agents in parallel for a two-lane review:

  1. Identify Changes

    • Run git diff to find changed files
    • Determine scope of review (specific files or entire PR)
  2. Launch Parallel Review Lanes

    • code-reviewer lane - owns spec compliance, security, code quality, performance, and maintainability findings
    • architect lane - owns the devil's-advocate / design-tradeoff perspective
    • Both lanes run in parallel and produce distinct outputs before final synthesis
  3. Review Categories

    • Roblox Security - server authority, remote validation, replicated secrets/data exposure, DataStore/economy safety
    • Code Quality - function size, complexity, nesting depth, cross-module clarity
    • Performance - replication churn, avoidable UI rebuilds, hot-path inefficiency, heavy runtime loops
    • Best Practices - naming, documentation, error handling, service placement
    • Maintainability - duplication, coupling, testability, workflow boundary clarity
  4. Severity Rating

    • CRITICAL - Security vulnerability (must fix before merge)
    • HIGH - Bug or major code smell (should fix before merge)
    • MEDIUM - Minor issue (fix when possible)
    • LOW - Style/suggestion (consider fixing)
  5. Architectural Status Contract

    • CLEAR - No unresolved architectural blocker was found
    • WATCH - Non-blocking design/tradeoff concern that must appear in the final synthesis
    • BLOCK - Unresolved design concern that prevents a merge-ready verdict
  6. Specific Recommendations

    • File:line locations for each issue
    • Concrete fix suggestions
    • Code examples where applicable
  7. Final Synthesis

    • Combine the code-reviewer recommendation and the architect status into one final verdict
    • Deterministic merge gating rules:
      • If architect status is BLOCK, final recommendation is REQUEST CHANGES
      • Else if code-reviewer recommendation is REQUEST CHANGES, final recommendation is REQUEST CHANGES
      • Else if architect status is WATCH, final recommendation is COMMENT
      • Else final recommendation follows the code-reviewer lane
    • The final report must make architect blockers impossible to miss

Agent Delegation

delegate(
  role="code-reviewer",
  tier="THOROUGH",
  prompt="CODE REVIEW TASK

Review code changes for quality, security, and maintainability.

This is the code/spec/security lane. Do not absorb architectural ownership.

Scope: [git diff or specific files]

Review Checklist:
- Security vulnerabilities (OWASP Top 10)
- Code quality (complexity, duplication)
- Performance issues (N+1, inefficient algorithms)
- Best practices (naming, documentation, error handling)
- Maintainability (coupling, testability)

Output: Code review report with:
- Files reviewed count
- Issues by severity (CRITICAL, HIGH, MEDIUM, LOW)
- Specific file:line locations
- Fix recommendations
- Approval recommendation (APPROVE / REQUEST CHANGES / COMMENT)"
)

delegate(
  role="architect",
  tier="THOROUGH",
  prompt="ARCHITECTURE / DEVIL'S-ADVOCATE REVIEW TASK

Review the same code changes from the architecture/tradeoff perspective.

Scope: [git diff or specific files]

Focus:
- System boundaries and interfaces
- Hidden coupling or long-term maintainability risks
- Tradeoff tension the main reviewer might miss
- Strongest counterargument against approving as-is

Output:
- Architectural Status: CLEAR / WATCH / BLOCK
- File:line evidence for each concern
- Concrete tradeoff or design recommendation"
)

Run both lanes in parallel, then synthesize them with the deterministic rules above.

External Model Consultation (Preferred)

The code-reviewer agent SHOULD consult Codex for cross-validation.

Protocol

  1. Form your OWN review FIRST - Complete the review independently
  2. **Consult for validatio
Полный SKILL.md на GitHub

Установить code-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл code-review?

Run a comprehensive code review

Как установить скилл code-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл code-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить code-review с