agentleFS
mhmzdevmhmzdev/hisab-whatsapp/.agents/skills/review/SKILL.md

review

Skill9 starsChanged 3 months agoMITView on GitHub

Close a feature's inner loop — derive the acceptance checklist from intent plus diff, verify every criterion at the cheapest honest layer (smoke test, terminal mode, phone), check Hisab's own conventions, and persist docs/feat-checklist/<slug>.md that /open-pr seeds the Test Plan from. Use when the user says "review this", "check before merging", "is this done".

  • Reads credentials

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images 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.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Never tick on the user's behalf.

    line 20
  2. Very specific:

    Writes: Every ledger write through Ledger.append under the strict check with rollback?

    line 24
  3. Very specific:

    Language: Every new user-facing string in i18n.py in en and ur (never Roman Urdu)?

    line 26
  4. Very specific:

    Tests: Every new unit exercised in tests/smoke.py?

    line 29

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

Review

Honour .agents/skills/README.md. Position: /implement → /review → /open-pr. Two jobs: is it done (every criterion verified, honestly) and is it right (Hisab's conventions). Advisory: report first, fix only when asked.

Step 1 — Scope and intent

  • Paths given → those. Else git merge-base HEAD main → git diff <base>...HEAD --name-only. Announce the file count and areas.
  • Find the intent: the plan for this slug in docs/exec-plans/{active,completed}/, its issue (gh issue view), the spec. The plan's success criteria and the issue's Done when boxes are the checklist's seed; add what the diff shows the intent implies.

Step 2 — Verify each criterion at the cheapest honest layer

For each item, one verdict:

  • [x] — proven by a named command or test you ran this run (python3 tests/smoke.py, a hledger … check --strict, docker build).
  • [?] — needs a human: a terminal run (tests/demo_terminal.sh, lines to type, expected reply) or the phone. Write the exact steps.
  • [!] — not done or broken. Say why with file:line. Never tick on the user's behalf. Never mark [x] from reading code alone.

Step 3 — Conventions checklist

  • Surface. Still six tools? No shell, no free file access, no new network call outside the model, transcription and WhatsApp?
  • Writes. Every ledger write through Ledger.append under the strict check with rollback? Entry numbers from next_entry_number only? Undo still by number?
  • Transport. Dedup by message id kept; offset advanced only after the batch; replies chunked under 3,500; typing indicator sent?
  • Language. Every new user-facing string in i18n.py in en and ur (never Roman Urdu)? Model reply shapes still one line? Setup questions still in the language of the first answer?
  • Conventions the dashboard reads. Alphabetic commodities, equity:transfer three-posting transfers, ~ monthly rules, P lines.
  • Privacy. Nothing personal, no token, no path from the author's machine, in code, tests, docs or the sample. .env, config.yaml, vault/, scratch-* untouched and ignored.
  • Tests. Every new unit exercised in tests/smoke.py? Sample regenerated if setup.py changed?
  • Docs. README still true? config.example.yaml updated for any new key?

Step 4 — Persist and report

Write docs/feat-checklist/<slug>.md:

# <slug> — acceptance checklist   (<n> proven · <n> manual · <n> failing)

- [x] <criterion> — `python3 tests/smoke.py` passes (test: <name>)
- [?] <criterion> — terminal: run `bash tests/demo_terminal.sh`, type `…`, expect `…`
- [!] <criterion> — <why>, hisab/ledger.py:123

## Findings
FINDING-01 · Important · hisab/loop.py:88 — <what, and the rule it breaks>

Chat summary: path, counts, every [!] and Critical/Important finding verbatim. A clean review says so in one line.

Step 5 — Act only when asked

Offer: fix the failing items · fix specific findings · hand off to /open-pr · stop. After a fix, re-run the check and report which ids changed. The board card stays where it is (no in-review column).

What NOT to do

  • Fix before being asked. Tick manual items. Flag style you merely dislike (every finding maps to AGENTS.md). Expand past the scope.

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.