agentleFS
evergonlabsevergonlabs/aiframework/.claude/skills/aif-review/SKILL.md

aif-review

Skill0 starsChanged 7 months agoMITView on GitHub

aiframework pre-landing code review with project-specific checks. Checks all invariants, runs specialist reviews based on changed files.

5 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aif-explore, aif-qa and 5 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.
  • maister-devSkill

    aif-explore

    Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.

    Also in 4 projects that use this

  • maister-devSkill

    aif-qa

    QA workflow for testing a feature or task implementation. Analyzes changes, produces test plans, and describes concrete test scenarios. Use when user says "test this", "write test plan", "what should I test", or "QA this branch".

    Also in 4 projects that use this

  • letuhaoSkill

    aif-archive

    Archive completed plans and roadmap milestones. Moves finished plans to the archive directory and optionally trims closed milestones from ROADMAP.md. Use when user says \"archive plans\", \"clean up plans\", \"archive completed\", or \"trim roadmap\".

    Also in 3 projects that use this

  • letuhaoSkill

    aif-qa-check

    Executes QA test cases created by $aif-qa in human-guided or automated-agent mode. Use when you need to walk through QA one case at a time, record pass/fail results, or have an agent verify cases through browser, CLI, API, automated tests, or file/document checks.

    Also in 3 projects that use this

  • +3 more from maister-dev

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify no raw SQL, all queries through ORM, migrations are reversible.

    line 30
  2. Distinctive:

    Look for: raw SQL strings, missing migrations, schema changes without migration.

    line 31
  3. Distinctive:

    Verify LLM output is never trusted as safe.

    line 34
  4. Distinctive:

    Look for: unsanitized AI output in HTML, eval of AI-generated code, AI output in SQL.

    line 35
  5. Very specific:

    Check tools/review-specialists/ for domain-specific review checklists.

    line 41
  6. Distinctive:

    If vault/ exists, check for related decisions:

    line 52
  7. Very specific:

    Read vault/memory/decisions/ for ADRs related to changed files

    line 53
  8. Very specific:

    Run vault/.vault/scripts/vault-tools.sh lint to verify vault integrity

    line 54

“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

/aif-review — Code Review

Step 0: Telemetry (silent, non-blocking)

aiframework-telemetry skill_invoked skill=aif-review 2>/dev/null || true

Step 1: CRITICAL Pass

For each changed file (git diff --name-only HEAD~1 HEAD), check:

1.1 INV-1: Database Safety

Verify no raw SQL, all queries through ORM, migrations are reversible. Look for: raw SQL strings, missing migrations, schema changes without migration.

1.2 INV-2: LLM Trust Boundary

Verify LLM output is never trusted as safe. Look for: unsanitized AI output in HTML, eval of AI-generated code, AI output in SQL.

Step 2: Specialist Army (if applicable)

Launch parallel specialists based on what files changed. Check tools/review-specialists/ for domain-specific review checklists.

Step 3: Report

Output a table:

CheckStatusDetails
...PASS/FAIL/WARN...

Step 4: Vault Check

If vault/ exists, check for related decisions:

  • Read vault/memory/decisions/ for ADRs related to changed files
  • Run vault/.vault/scripts/vault-tools.sh lint to verify vault integrity

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.