AGENT SKILL

code-review

Review a Git diff against repository standards and its originating requirements. Use for pull requests, branches, work-in-progress changes, or changes since a commit, tag, or merge-base.

适用职业开发工程师
使用场景代码审查
License 许可
MIT
所属仓库
stevesolun/ctx
最近更新
2026-10-15
Stars
★ 592
Forks
69

01 前言 Front Matter

name
code-review
description
Review a Git diff against repository standards and its originating requirements. Use for pull requests, branches, work-in-progress changes, or changes since a commit, tag, or merge-base.

02 资源文件 2

03 SKILL.md 正文

Review code changes

Establish scope

Honor a fixed point supplied by the user. Otherwise infer a sensible comparison from the repository state, such as the default-branch merge-base. Ask only when different choices would materially change the review.

Verify that the ref resolves and inspect the diff and relevant commit messages. Report an empty or unavailable comparison instead of manufacturing findings.

Collect references

Use the repository's actual standards and the originating issue, PRD, or spec when available. Follow repository conventions for fetching tracker context. If requirements cannot be found, review the standards axis and state that spec conformance was not verified.

Evaluate two axes

  • Standards: Does the change follow documented repository conventions and avoid material design regressions?
  • Spec: Does it implement the requested behavior without omissions, incorrect behavior, or unrelated scope?

Use deterministic checks for properties tooling can decide. For qualitative review, load review heuristics only when the diff warrants deeper design analysis.

The axes are independent and may be evaluated concurrently when the diff is large enough to benefit. Keep a small review local, and avoid parallel work when coordination would cost more than it saves.

Report

Lead with actionable findings, citing the affected file and evidence. Separate documented violations from judgment calls and keep Standards and Spec findings distinct so one axis cannot mask the other. State unavailable evidence and report when no material findings remain.

04 同仓库更多 Skills

stevesolun
stevesolun/ctx

toolbox

Pre/post dev toolbox — named bundles of skills/agents loaded before development work and councils of experts invoked after. Run /toolbox or the toolbox.py CLI to list, activate, initialize, export, import, and validate toolboxes. Invoke at the start or end of a dev session, when setting up a new repo, or when sharing toolboxes with a team.

★ 592
stevesolun
stevesolun/ctx

skill-router

Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.

Skill与智能体开发
★ 592
stevesolun
stevesolun/ctx

repo-stats-autoupdate

Keeps README badge + inline counts in sync with the real number of skills, agents, graph nodes/edges, communities, converted pipelines, and test inventory. Runs automatically on every commit via a git pre-commit hook. Use when the README drifts from reality or before publishing a release.

Skill与智能体开发
★ 592
stevesolun
stevesolun/ctx

find-skills

Discover installable agent skills from ctx's shipped Skills.sh catalog, the Skills.sh search API, and the npx skills CLI. Use when a user asks whether a skill exists, wants to add/update a skill, or needs a repeatable procedure for finding candidate skills safely.

开发工程师Skill与智能体开发
★ 592
stevesolun
stevesolun/ctx

no-mistakes

Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI. Use when the user asks to run no-mistakes, ship safely, validate before pushing, or gate a change before it reaches upstream.

★ 592
stevesolun
stevesolun/ctx

zoom-out

Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

开发工程师Skill与智能体开发
★ 592