agentleFS
educlopezeduclopez/mallard/skills/task-review/SKILL.md

task-review

Skill5 starsChanged 16 days agoMITView on GitHub

Review the branch diff against the task brief and the repo's AGENTS.md before opening the MR. Use when the user says "revisa mi diff", "task review", "revisa antes de la MR", "¿cumple la tarea?", or after finishing the work on a `/task` branch.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run them as parallel subagents when available, otherwise one after the other.

    line 28
  2. Very specific:

    If the diff touches shared code, run blast-radius: a PrestaShop override or hook, a theme partial used on many pages, a Laravel migration, …

    line 35

“Common” is measured: kept by at least 6 in 10 of the 5 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

task-review

Adapted from Matt Pocock's code-review: two axes, reported separately. Its spec axis is the task brief, not an issue tracker. Read-only: it never edits code, comments on the MR or touches the tracker.

1. Fix the diff

Base = the branch mr-flow detects (main or master). Run git diff <base>...HEAD. Done when the diff is not empty; if it is, stop and say so.

2. Find the two references

  • Spec: engram task/<localid>/brief, where <localid> is the digits at the start of the branch name. No brief: ask the user to paste the task, or skip the spec axis and say you skipped it.
  • Standards: AGENTS.md, CLAUDE.md, CONTRIBUTING.md, and the lint or static-analysis config the repo has (Pint, PHPStan, ESLint, Prettier). Run the check commands that AGENTS.md lists and report failures without fixing them.

3. Review the two axes

Run them as parallel subagents when available, otherwise one after the other. Do not merge their reports.

  • Spec: for each thing the brief asks, mark done, partial or missing with a file:line. List diff changes the brief did not ask for.
  • Standards: violations of the repo's documented rules first, then judgment smells: duplicated logic, dead code, long functions, a comment that explains a workaround (see no-comments).

4. Check the blast radius

If the diff touches shared code, run blast-radius: a PrestaShop override or hook, a theme partial used on many pages, a Laravel migration, middleware, policy, config or queued job.

5. Report

One line per finding: file:line: problem. fix. Then one verdict line: ready for mr-flow or N blockers. Done when both axes have a section, even if empty.

Next: mr-flow once the user agrees, then /task done <localid>.

It does not commit, push, open the MR or log time.

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.