AGENT SKILL

reviews

Review a pull request or code change for code health. Use when a user asks to "code review", "review this PR", or "review this change".

License 许可
MIT
最近更新
2026-11-15
Stars
★ 7
Forks
1

01 前言 Front Matter

name
reviews
description
Review a pull request or code change for code health. Use when a user asks to "code review", "review this PR", or "review this change".

03 SKILL.md 正文

Code Review Guide

Use this guide to evaluate a pull request or code change. Apply the repository's the repository's checked-in review contract and CODE_RULES.md as its project-specific quality rubric.

Review Judgment

Review work supports code health. Frame each conclusion around observable behavior, maintainability, risk, and the change's intended outcome.

  • Use technical evidence and repository conventions to resolve trade-offs.
  • Mark a required change when it materially affects correctness, security, reliability, data integrity, maintainability, or the stated behavior.
  • Mark optional improvement as Consider or Nit so the author can prioritize the work accurately.
  • Accept an evidence-backed explanation when it satisfies the applicable quality rubric.

Evaluation Criteria

Evaluate the changed code and the surrounding context for:

  • Design fit, interfaces, complexity, and future maintenance cost.
  • Functional behavior, user impact, edge cases, concurrency, privacy, security, and accessibility where applicable.
  • Tests that exercise the changed behavior and distinguish regressions.
  • Names, comments, documentation, and style against the repository rubric and the applicable language guide.
  • Migration, configuration, compatibility, and operational effects.

Review Workflow

  1. Read the pull request description and identify the intended outcome.
  2. Inspect the changed code, relevant callers, and the surrounding design.
  3. Run or assess relevant verification and identify its coverage boundaries.
  4. Write each finding with the affected location, observed effect, expected outcome, and supporting evidence.
  5. State the reviewed scope, verification performed, and any remaining uncertainty in the review output.

Use the comment guide for finding wording and the description guide for description content.

Execution Support

Use available runners for inspection, verification, and repository navigation. This guide supplies the judgment criteria and the corresponding guide anchors.

Review Responsiveness

Begin a requested review at the next clean work boundary. Provide a useful response promptly, including the completed scope and the remaining work when context gathering continues.

Review the highest-impact design questions early. A focused response gives the author a clear next action while the full assessment continues.

Resolving Disagreements

Consolidate a disagreement into one thread that records the relevant context, technical rationale, and desired decision. Reassess the finding against the repository rubric and accept a sound alternative that meets the same outcome.

Seek a maintainer or lead decision when the discussion requires ownership or product direction beyond the available evidence. Keep the resulting decision in the pull request record.

Related Guides

  • Use comments to draft or answer review feedback.
  • Use descriptions to prepare or assess pull request context.
  • Use emergencies to classify an urgent production change.
  • Use pr-small-cl to focus or split a change that exceeds a clear review boundary.

04 同仓库更多 Skills

jl-cmd-projects
jl-cmd-projects/claude-dev-env

update

Fast-forwards a local repository's main branch to a remote's main after confirming the repo path and source remote through AskUserQuestion. Use when the user says '/update', 'update main', 'fast-forward main', 'sync main from origin', 'pull latest main into <path>', or 'bring main up to date'.

★ 7
jl-cmd-projects
jl-cmd-projects/claude-dev-env

source-command-sr-loop

Converging cleanup loop: repeat /simplify until clean, then repeat /code-review --fix until clean

★ 7
jl-cmd-projects
jl-cmd-projects/claude-dev-env

skill-builder

Skill lifecycle: classify, scaffold, write via the skill-writer-agent, self-audit, compose sub-skills, polish description triggers, enforce deterministic scripts. Triggers: build a skill, new skill workflow, improve this skill, optimize skill description, skill development lifecycle, skill modularity, skill composition, description trigger catalog, deterministic skill scripts.

★ 7
jl-cmd-projects
jl-cmd-projects/claude-dev-env

session-tidy

Audit, clean, and consolidate session logs in the Obsidian vault. Fixes format drift, resolves orphaned next-steps, updates stale statuses, and generates project rollup summaries. Use when session logs feel cluttered or before starting a new project milestone. Triggers on '/session-tidy', 'tidy sessions', 'clean up session logs', 'session audit'.

★ 7
jl-cmd-projects
jl-cmd-projects/claude-dev-env

session-log

Logs a session report as an HTML page, tracks vault context, extracts decisions, and outputs a /rename command. Use for /session-log, 'journal this session', 'log this work', 'session report', 'summarize/log/record this session', 'save session', 'capture session', or 'document what we did'.

★ 7
jl-cmd-projects
jl-cmd-projects/claude-dev-env

run-claude-dev-env

Build, install, run, and test the claude-dev-env installer. Use when asked to run claude-dev-env, install the Claude Code config into ~/.claude, drive the installer, smoke-test it against a sandbox, or run its test suite.

★ 7