Writing documents an agent consumes. Use when creating or editing a skill, an AGENTS.md, a README section, a docblock, or any file reached by a pointer.
日本語の概要は準備中です。原文の説明を表示しています。
Full dev cycle. Planning tier for clarify and plan; worker tier after approval for autonomous execution, tiered lint, thread rotation, and feedback fixes. Start every change here.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
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 slugworkflow.md for the project's commands, and AGENTS.md for its layout
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.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Writing documents an agent consumes. Use when creating or editing a skill, an AGENTS.md, a README section, a docblock, or any file reached by a pointer.
日本語の概要は準備中です。原文の説明を表示しています。
This repo is indexed by graft/. For ANY task here, whether understanding how something works, finding where code lives, tracing what calls a symbol or what a change breaks, or scoping an edit, get your context from the graph before grepping or reading source files. Every command runs through `bin/harness graft`.
日本語の概要は準備中です。原文の説明を表示しています。
Interviewing the owner to a shared understanding before any work starts. Use when a plan, a decision or an idea needs stress-testing, or when the owner asks to be grilled, interviewed or questioned about one.
日本語の概要は準備中です。原文の説明を表示しています。
Removing AI tells from French prose without lowering its register. Use when rewriting or reviewing French text — a reply to the owner, a `.po` target, a French post — that reads like a machine wrote it.
日本語の概要は準備中です。原文の説明を表示しています。
Editing English prose that reads as machine-written. Use when reviewing or rewriting a draft for AI tells — a README, a changelog entry, a comment, a user-facing string, a review. French text is `humaniseur-fr`.
日本語の概要は準備中です。原文の説明を表示しています。
Turn surviving mutants into better tests, or into bug reports. Use when a mutation run reports escaped mutants, when the MSI gate fails, when asked whether a test suite is actually testing anything, or before proposing to lower a threshold.
日本語の概要は準備中です。原文の説明を表示しています。