agentsclimarketplace

Cm code review

Skill tody-agent/codymaster/.cursor-plugin/skills/cm-code-review

Full review lifecycle — request reviews, handle feedback with technical rigor, and complete branch integration. Use when completing tasks, receiving feedback, or finishing feature branches.From its SKILL.md

Install
npx -y skills add tody-agent/codymaster --skill cm-code-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

5.5 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

Code Review — Request + Receive + Complete

TL;DR

  • Use when task complete, before/during PR review
  • Pre-review: lint, tests, diff scan, blast radius
  • Reads: handoff/exec.json — Writes: handoff/review.json
  • Severity: info | warn | error | critical
  • Next: cm-quality-gate

Full review lifecycle in one skill: Request → Receive → Integrate.

Part A: Requesting Code Review

When to Request

Mandatory:

  • After each task in cm-execution
  • After completing major features
  • Before merge to main

Optional but valuable:

  • When stuck (fresh perspective)
  • Before refactoring (baseline check)
  • After fixing complex bugs

How to Request

  1. Get git SHAs:

    BASE_SHA=$(git rev-parse HEAD~1)
    HEAD_SHA=$(git rev-parse HEAD)
    
  2. Dispatch reviewer subagent with:

    • What was implemented
    • Plan/requirements reference
    • Base and head SHAs
    • Brief description
  3. Act on feedback:

    • Fix Critical issues immediately
    • Fix Important issues before proceeding
    • Note Minor issues for later
    • Push back if reviewer is wrong (with reasoning)

Part B: Receiving Code Review

When to Use

When receiving feedback — whether from human reviewers, AI reviewers, or code review subagents.

The Protocol

1. READ feedback completely before responding
2. UNDERSTAND the technical reasoning
3. VERIFY if the feedback is technically correct
4. RESPOND with evidence, not agreement

Response Framework

Feedback TypeResponse
Technically correctFix it. Thank reviewer.
Unclear intentAsk for clarification with specific questions
Technically questionableChallenge with evidence (code, tests, docs)
Stylistic preferenceDiscuss trade-offs, defer to team convention

Red Flags — STOP

  • Blindly implementing all suggestions without verification
  • "Performative agreement" — saying yes without understanding
  • Implementing a suggestion that breaks existing tests
  • Making changes you can't justify technically

Anti-Pattern: Performative Agreement

❌ "Good catch! Fixed."  (without verifying it's actually a problem)
✅ "I verified this: [evidence]. The suggestion is correct because [reason]. Fixed."
✅ "I investigated this: [evidence]. The current code is correct because [reason]."

Part C: Finishing a Development Branch

When to Use

When implementation is complete and all tests pass.

The Process

  1. Verify current state:

    npm run test:gate  # All tests must pass
    git status          # Working tree should be clean
    
  2. Present options to user:

    OptionWhenCommand
    Merge to mainFeature readygit checkout main && git merge feature-branch
    Create PRNeeds team reviewgit push origin feature-branch
    Keep workingMore tasks remainContinue on branch
    Cleanup onlyAbandoned/mergedgit worktree remove path
  3. Execute chosen option

  4. Cleanup:

    • Remove the isolated worktree/workspace if your execution flow created one
    • Delete feature branch if merged
    • Update task tracking

Rules

  • Never merge with failing tests
  • Never force push main/production
  • Always use cm-identity-guard before git push

Step FINAL: Record Review Learnings

After processing review feedback, ALWAYS update .cm/CONTINUITY.md:

  • Key Decisions: If reviewer changed architecture approach, record with scope: [Decision]: [Rationale] — scope: [global|module:{name}]
  • Mistakes & Learnings: If reviewer caught a pattern mistake, record with scope:
    • What Failed: [the pattern that was wrong]
    • How to Prevent: [correct pattern going forward]
    • Scope: [global | module:{name} | file:{path}]

Anti-duplicate: If similar learning exists, reinforce it instead of creating new.

Token savings: Future code reviews in same project avoid repeating the same feedback. Reviewer patterns become accumulated knowledge.


Integration

SkillRelationship
cm-executionReviews after each task in execution
cm-quality-gateTests must pass before finishing branch
cm-identity-guardBefore git push
cm-executionCleanup isolated workspace after completion

Karpathy Discipline — Review Checklist

Block any PR/diff that violates these regardless of green tests:

  • Scope creep: changed line that doesn't trace to the task → request removal.
  • Bloat: new abstraction with one caller, premature config, error paths for impossible inputs → request simplification.
  • Side-effect edits: unrelated formatting, renamed identifiers, "improved" comments not in scope → revert.
  • Hidden assumptions: logic that depends on an unstated invariant → require it surfaced (test or doc) or rejected.
  • Weak goals: PR description says "make it work" with no verifiable criterion → send back to planning.

Review heuristic: if you can't answer "what task forced this line?" for every changed line, the diff is too wide.

The Bottom Line

Review early. Verify feedback. Ship with evidence, not hope.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 2 of the 12 instructions most code review skills give in ~1.2k tokens

Counted across 668 of the 814 authors here whose files we hold, read 2026-09-06

  • Provide technical reasoning when pushing backin 84 of 668, across 70 files
  • Fix critical issues immediatelyhere, and in 77 of 668, across 60 files
  • Dispatch a code reviewer subagenthere, and in 76 of 668, across 59 files
  • Fix important issues before proceedingin 73 of 668, across 56 files
  • Ask for clarification on unclear itemsin 68 of 668, across 56 files
  • Verify feedback against codebase before implementationin 66 of 668, across 55 files
  • Implement fixes one at a timein 64 of 668, across 53 files
  • Test each fix individuallyin 62 of 668, across 51 files
  • Restate technical requirements in own wordsin 57 of 668, across 46 files
  • Reply to inline comments in the specific threadin 51 of 668, across 40 files
  • Note minor issues for laterin 49 of 668, across 34 files
  • Group findings by severityin 48 of 668, across 47 files

Said here and by no other author read

  • respond to feedback with evidence
  • run test suite before finishing branch
  • use identity guard before pushing code
  • update continuity file with review learnings
  • reject changes outside of task scope
  • simplify code that introduces unnecessary bloat

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.