agentleFS
lgzarturolgzarturo/codeconductor/.agents/skills/cc-review/SKILL.md

cc-review

Skill0 starsChanged 28 days agoMITView on GitHub

Review target: $ARGUMENTS Specify what to review. Accepted formats: When the task concerns web layout, component states, feedback, motion, or a requested UI audit, apply skill web-design-engineering from the installed skill library. Use it during intake/discovery, design, test/implement, and review as applicable; keep this workflow’s gates and TDD order. Framework presence alone does not activate it; backend-only and native mobile work are excluded. Record required visual checks as pending when unavailable. Keep findings in the existing Review Report: contract failures…

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 9 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

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

    When the task concerns web layout, component states, feedback, motion, or a requested UI audit, apply skill web-design-engineering from the …

    line 23
  2. Very specific:

    When the task concerns concrete Jetpack Compose phone layout, component states, interaction, accessibility, visual behavior, or a requested …

    line 34
  3. Very specific:

    Before invoking reviewer, collect the diff for the specified target.

    line 45
  4. Distinctive:

    If $ARGUMENTS is empty or not provided:

    line 47
  5. Distinctive:

    Use git diff HEAD as the review target

    line 49
  6. Distinctive:

    If $ARGUMENTS is a branch name:

    line 51
  7. Very specific:

    Use git diff main...$ARGUMENTS (or develop if main is not the base)

    line 53
  8. Distinctive:

    If $ARGUMENTS is a PR reference:

    line 55
  9. Distinctive:

    If $ARGUMENTS is a file path:

    line 59
  10. Very specific:

    When securityVeto: true and verdict is REJECTED, the veto forces the final status to REJECTED regardless of other reviewers' opinions

    line 84
  11. Very specific:

    If security-reviewer applies a veto, the review is BLOCKED — all CRITICAL findings must be resolved before proceeding.

    line 88
  12. Distinctive:

    Do tests exist for the new or changed behavior?

    line 124
  13. Distinctive:

    If any CRITICAL findings exist:

    line 170
  14. Distinctive:

    Do not proceed until each CRITICAL finding is resolved

    line 174
  15. Very specific:

    After resolution, invoke /cc:review again on the same target

    line 175
  16. Distinctive:

    If no CRITICAL findings exist:

    line 177

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Code Review Workflow

Review target: $ARGUMENTS

Specify what to review. Accepted formats:

  • A branch name: feature/my-branch
  • A file or set of files: src/api/UserController.kt
  • A pull request reference: PR #42
  • Empty — defaults to the current working diff (git diff)

Web interface scope

When the task concerns web layout, component states, feedback, motion, or a requested UI audit, apply skill web-design-engineering from the installed skill library. Use it during intake/discovery, design, test/implement, and review as applicable; keep this workflow’s gates and TDD order. Framework presence alone does not activate it; backend-only and native mobile work are excluded. Record required visual checks as pending when unavailable. Keep findings in the existing Review Report: contract failures in Spec Axis, technical issues in existing subchecks, and aesthetic preferences as suggestions; do not add an axis.

Android phone interface scope

When the task concerns concrete Jetpack Compose phone layout, component states, interaction, accessibility, visual behavior, or a requested UI audit, apply skill android-ui-design. Use it during design, test/implementation, and review as applicable while keeping this workflow's gates and TDD order. Kotlin, Compose, framework, or dependency presence alone does not activate it; non-UI Android work stays with the general android skill. Audit-only requests remain read-only, and unavailable visual or emulator checks remain pending rather than claimed complete.

Step 1 — Diff collection

Before invoking reviewer, collect the diff for the specified target.

If $ARGUMENTS is empty or not provided:

  • Use git diff HEAD as the review target

If $ARGUMENTS is a branch name:

  • Use git diff main...$ARGUMENTS (or develop if main is not the base)

If $ARGUMENTS is a PR reference:

  • Retrieve the PR diff and the PR description for context

If $ARGUMENTS is a file path:

  • Use git diff HEAD -- $ARGUMENTS

Show the diff summary (files changed, lines added/removed) before invoking reviewer.


Step 2 — Security and code review

Security review (security-reviewer)

Invoke security-reviewer before reviewer when the change touches:

  • Authentication or authorization logic
  • Payment or financial processing
  • Credentials, tokens, secrets, or API keys
  • SQL injection, XSS, or other injection vectors
  • Supply-chain dependencies (new packages, lockfile changes)
  • OWASP Top 10 categories

security-reviewer performs deep security analysis and can apply a security veto that overrides majority consensus:

  • When securityVeto: true and verdict is REJECTED, the veto forces the final status to REJECTED regardless of other reviewers' opinions
  • The veto agent ID is recorded in vetoByAgentId for traceability

If security-reviewer applies a veto, the review is BLOCKED — all CRITICAL findings must be resolved before proceeding.

Code review (reviewer)

Invoke reviewer with:

  • The full diff
  • The Task Card or PR description (if available)
  • The target specification from $ARGUMENTS
  • The security-reviewer report (if one was generated)

reviewer must evaluate the diff against the following checklist:

Correctness

  • Does the implementation match the stated intent?
  • Are there logic errors, off-by-one errors, or unhandled edge cases?

Architecture alignment

  • Does the change follow existing module boundaries?
  • Does it introduce unplanned coupling or layering violations?

Security

  • Are inputs validated before use?
  • Is there any credential, token, or secret in the diff?
  • Are there SQL injection, XSS, or injection risks?

Performance

  • Does the change introduce N+1 queries, blocking I/O, or O(n^2) loops?

Test coverage

  • Do tests exist for the new or changed behavior?
  • Are assertions meaningful (not just checking that no exception is thrown)?

Documentation

  • Are public interfaces documented?
  • Is CHANGELOG updated if behavior changed?

Step 3 — Review Report

reviewer produces a structured Review Report with findings in three categories:

## Review Report

### CRITICAL

[Findings that must be fixed before merge. Each finding includes:

- Location (file:line)
- Description of the problem
- Suggested resolution]

### WARNING

[Findings that should be resolved before merge but are not blockers in
exceptional cases with human approval. Same format as CRITICAL.]

### SUGGESTION

[Optional improvements — style, readability, future-proofing. These do not block
merge.]

### Summary

- Files reviewed: N
- Total findings: N (X critical, Y warnings, Z suggestions)
- Merge recommendation: APPROVED | BLOCKED

Step 4 — Merge decision

If any CRITICAL findings exist:

  • The Review Report status is BLOCKED
  • Report all CRITICAL findings to the human
  • Do not proceed until each CRITICAL finding is resolved
  • After resolution, invoke /cc:review again on the same target

If no CRITICAL findings exist:

  • The Review Report status is APPROVED
  • Report any WARNINGs and SUGGESTIONs for human awareness
  • The human makes the final merge decision

Completion

Deliver the complete Review Report. Never summarize or omit findings. Every finding must include a location and an actionable description.

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.