agentleFS
sebastientaggartsebastientaggart/CodeCannon/.agents/skills/review/SKILL.md

review

Skill1 starsChanged 9 months agoMITView on GitHub

Code Cannon: Run a standalone code review on a pull request

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, plan-devex-review and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 11 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 9 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 5 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 11 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 12 projects that use this

  • AICreator-WindSkill

    design-consultation

    设计合作伙伴工具。构建完整设计系统,提供专业设计建议。

    Also in 12 projects that use this

  • +1 more from seek888

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If ai is "off", say:

    line 18
  2. Very specific:

    If $ARGUMENTS is a number, use it as the PR number.

    line 28
  3. Very specific:

    If $ARGUMENTS is empty, detect the current branch's open PR:

    line 30
  4. Very specific:

    If no PR is found, abort and say: "No open PR found for the current branch.

    line 35
  5. Very specific:

    Read the PR diff via gh pr diff <number>

    line 48
  6. Distinctive:

    Read any files needed for full context

    line 49
  7. Distinctive:

    After the review agent completes, relay its verdict to the user:

    line 56

“Common” is measured: kept by at least 6 in 10 of the 167 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex CLI: This skill is triggered by description matching. State any arguments in your message. Sub-agent spawning is not supported — perform any review steps inline.


What /review does

/review runs a standalone code review on a PR. It wraps .claude/review-agent-prompt.md.


Pre-flight

If ai is "off", say:

"Code review is disabled for this project (REVIEW_GATE is set to 'off' in .codecannon.yaml). To enable reviews, set REVIEW_GATE to 'ai' or 'advisory' and re-run CodeCannon/sync.py."

Do not proceed.


Step 1 — Identify the PR

If $ARGUMENTS is a number, use it as the PR number.

If $ARGUMENTS is empty, detect the current branch's open PR:

gh pr view --json number --jq '.number'

If no PR is found, abort and say: "No open PR found for the current branch. Pass a PR number explicitly: /review <number>"


Step 2 — Run the review

Load .claude/review-agent-prompt.md and perform the review for the PR number.

If sub-agent spawning is supported (e.g. Claude Code): invoke a dedicated review agent with the prompt and PR number.

If sub-agent spawning is not supported (e.g. Codex, Cursor, Gemini): perform the review yourself inline — follow the instructions in the review-agent prompt directly.

The review must:

  1. Read the PR diff via gh pr diff <number>
  2. Read any files needed for full context
  3. Post findings as a PR comment via gh pr comment <number>

Step 3 — Report verdict

After the review agent completes, relay its verdict to the user:

  • APPROVE → "Review passed. Run /submit-for-review to merge (or it may already be merged if called from /submit-for-review)."
  • REQUEST CHANGES → Surface the CRITICAL findings. Say: "Fix the issues above and run /review again before merging."

Important

  • This command does not commit, push, or merge anything. It only reviews.
  • It may be called manually at any time, not just from /submit-for-review.
  • The review comment is posted to GitHub for the audit trail.
<!-- generated by CodeCannon/sync.py | skill: review | adapter: codex | hash: 461c6fcf | DO NOT EDIT — run CodeCannon/sync.py to regenerate -->

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.