documentation
FreeWrite a document an agent consumes — a skill, an AGENTS.md, a README, a docblock, or any file reached by a pointer.
The English summary is being prepared. Showing the original description.
Run a full dev cycle on one change: clarify, plan, execute, lint, fix. Start every change here.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
Single skill, two model tiers:
Follow AGENTS.md communication + reference-doc rules.
If requirements are unclear, ask one grouped message. Skip if already clear.
Build context from graft first, then read only what you need:
bin/harness graft ask "<research question>" --source to locate/understand · bin/harness graft grep "<symbol>" to find every occurrence · bin/harness graft callers <sym> (or --depth all for multi-file changes) to trace edges · bin/harness graft skeleton <file> for an API skim. Add --in <dir>/ to narrow a subtree. Always through bin/harness graft — a bare graft answers an empty graph as "no matching nodes" and exits 0.file:line graft names — never whole files to rebuild understanding graft gives..agents/notes/ for the same slugAGENTS.md for the project's layout and its commands — it is on every project; workflow.md beside it when the project has one
Follow AGENTS.md reference-doc rules (never load a whole file under .agents/docs/; grep one section). Live by the graft skill: "use graft before raw grep/code-read" is authoritative.Create .agents/tasks/YYYY-MM-DD-<type>-<slug>.md. Generate uid from the current time (YYYYMMDD-HHMMSS) if known; otherwise use the date plus a random suffix (YYYYMMDD-<random>).
---
type: <type>
slug: <kebab-case>
date: YYYY-MM-DD
uid: YYYYMMDD-<random>
status: planning
review_required: yes | no
risk: []
---
## Goal
## Context
## Tasks
- [ ] 1. ...
## Edge cases
- [ ] 1. ...
## Session checkpoint
## Log
## Feedback
Enumerate 3–5 edge cases relevant to the change; ensure the plan covers each. REST/SQL/auth/user-input surfaces must cover at minimum: missing/invalid input, capability/nonce failure, and the empty/oversize boundary.
Set review_required: yes and risk: per AGENTS.md when REST, SQL, auth, export, multisite, user input, or new admin UI is involved.
Show a ~10-line summary of the plan. End with: "Ready to start, or would you like to adjust anything?" Ambiguous SQL/auth/REST design: Tell the user to re-run planning on audit tier before any coding.
On approval, run all tasks in order.
| Task touches | Lint |
|---|---|
| REST, SQL, auth, sanitization, PHP logic, JS/React | Immediate after task: run composer run verify:php and npm run lint + npm run lint:css |
| Comments, docs, pure CSS, no new surface | Batch every 5 tasks |
| All tasks done | Run npm run test:all |
| When lint is skipped, say: "Lint skipped — no PHP/JS surface changed." |
After all tasks, compare the actual code against the task file's review_required/risk. If it touches a surface (REST, SQL, auth, user input, export, multisite, new admin UI) the plan did not flag, update the frontmatter so the review gate matches what shipped.
After 3 tasks or ~20 turns, update ## Session checkpoint and tell the user: start a new worker tier thread with /resume and this task file.
After 3 failed attempts on the same task (any failure type), STOP and re-plan — update ## Tasks/## Log, tell the user what's wrong. Do not grind past three iterations; different error types accumulate toward the same ceiling.
Before reporting completion, silently argue against your own solution (redundancy, unused code, simpler alternative, missed edge case). Fix or note anything surfaced. Then add a one-line self-review note: checked [redundancy/unused code/edge cases/alternatives] — nothing surfaced, or noted [issue] — see Log.
Stop only for uncovered design decisions, frozen documentation, version bumps, or major scope creep.
On completion: status: done, full test gate, one-line summary of what was done and what files changed. Ask user to test.
Fix reported issues; append to ## Feedback. When stable: review_required: yes → "Open /reviewer on audit tier (planning tier OK only for low-risk optional review)."; else "Review optional; ship when satisfied."
ABSPATH guard · the project's own prefix on every hook — zenpress_ is derived from the text domain, which is the same string for the projects this was written for and a different one for any project that was renamed, forked or shortened its prefix, so confirm the prefix with the owner before relying on it, and ask rather than assume when the code disagrees with it · REST current_user_can() · $wpdb->prepare() · sanitize in / escape out · docblocks on public surfaces · never reword existing i18n strings.
The reflexes above are the baseline. What this project adds — its own capability names, REST namespace, tables, prefix exceptions, block bindings — is in AGENTS.md, and it wins where the two disagree. Read it before your first edit, not after.
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Write a document an agent consumes — a skill, an AGENTS.md, a README, a docblock, or any file reached by a pointer.
The English summary is being prepared. Showing the original description.
Locate and understand code through the project's graft graph before reading: where-is-X, how-does-Y or what-calls-Z.
The English summary is being prepared. Showing the original description.
Stress-test the owner's plan, decision or idea by interviewing them to a shared understanding before any work starts.
The English summary is being prepared. Showing the original description.
Remove AI tells from French prose without lowering its register — a reply, a `.po` target, a French post.
The English summary is being prepared. Showing the original description.
Remove AI tells from English prose — a README, a comment, a user-facing string, a review. French is `humaniseur-fr`.
The English summary is being prepared. Showing the original description.
Turn surviving mutants into better tests or bug reports: on a survivor, a red MSI gate, or before a threshold drops.
The English summary is being prepared. Showing the original description.