prd-toolkit
AGENTS.md11 starsChanged 47 days agoMITView on GitHub
This repository is a PRD toolkit. Keep all technical instructions and generated PRDs in clear professional English unless the user explicitly requests another language. - When the user references this folder for product work, read SKILL.md and only the selected operation. Keep research-only requests read-only; generation does not imply implementation. The target project is separate from this toolkit. - For toolkit maintenance or canonical standards, read PROJECT_CONTEXT.md. - For documentation ownership, onboarding, maintenance, version, or archive routing, read docs/INDEX.md. -…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- prd-generatorSkill
- prd-makerSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
16 rules. About 1 is common, 11 are distinctive, and 4 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
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
- Very specific: line 9
When the user references this folder for product work, read SKILL.md and only the selected operation.
- Distinctive: line 30
Every generated PRD must embed a Builder Capability Routing Contract inside its existing architecture section.
- Very specific: line 52
Treat package.json, BASELINE.md, and CHANGELOG.md as one version contract.
- Distinctive: line 58
Use Markdown for human-readable instructions and PRD content.
- Distinctive: line 59
Use YAML frontmatter for document and skill metadata.
- Distinctive: line 60
Use YAML for concise configuration examples.
- Distinctive: line 61
Use JSON for API, event, state, and verification-receipt contracts.
- Distinctive: line 62
Use Mermaid for diagrams.
- Distinctive: line 63
Do not convert narrative workflows into large YAML or JSON documents.
- Very specific: line 70
Use FR-###, NFR-###, and AC-### as stable, unique IDs.
- Common: line 77
Never store secrets, tokens, credentials, cookies, or private keys in tracked files, examples, logs, or reports.
- Distinctive: line 82
Treat a structural-validator pass as bounded evidence, not as proof of factual correctness, runtime behavior, or production readiness.
- Distinctive: line 84
Do not claim implementation, operational, or production readiness without naming the proven readiness level and its evidence.
- Very specific: line 88
Never advance, erase an attempt, or reuse approval after PLAN_CHANGED.
- Distinctive: line 94
Use targeted checks during implementation slices.
- Distinctive: line 105
After every milestone, summarize the delivered outcome, grouped changed surfaces, what works, one exact way to try it, verification, …
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Repository Instructions
This repository is a PRD toolkit. Keep all technical instructions and generated PRDs in clear professional English unless the user explicitly requests another language.
Required Routing
- When the user references this folder for product work, read
SKILL.mdand only the selected operation. Keep research-only requests read-only; generation does not imply implementation. The target project is separate from this toolkit. - For toolkit maintenance or canonical standards, read
PROJECT_CONTEXT.md. - For documentation ownership, onboarding, maintenance, version, or archive
routing, read
docs/INDEX.md. - For a single-purpose copy-paste prompt, choose exactly one file from
layout/INDEX.md. - Feed brainstorming and research from the current conversation directly into
PRD generation. Use
layout/DISCOVER_PRODUCT.mdonly when evidence must survive a conversation boundary or has a distinct lifecycle; keep any targetDISCOVERY.mddistinct from the later PRD. - For existing-product changes and bugs, route through
docs/CHANGE_CONTRACT.md; usescripts/compare-prd.mjsagainst a preserved baseline and review removals, retirement history, changed evidence and affected preserved behavior. - For authority format and legacy migration, use
docs/AUTHORITY_POLICY.md; document conformance never grants actual session, host or runner authority. - For PRD generation or review, read root
SKILL.mdfirst.prompts/SKILL.mdremains a compatibility entry. - For a new PRD, follow
prompts/PRD_GENERATOR_PROMPT.mdand selecttemplates/full.mdortemplates/lite.md. - Every generated PRD must embed a Builder Capability Routing Contract inside its existing architecture section. Route triggers to capabilities, preferred skills/tools only when available, repository-native fallbacks, evidence, and authority. A PRD cannot install or make a missing skill callable.
- For validation, run
scripts/validate-prd.mjsas the deterministic structural preflight, then useprompts/PRD_VALIDATION_CHECKLIST.mdfor applicability, evidence, scoring, and product judgment. - For reliability, verification, or anti-trial-and-error work, also read
prompts/RELIABILITY_GUIDE.md. - For a post-build or final integrated PRD-to-code audit, use
layout/AUDIT_IMPLEMENTATION.md, cover every FR/NFR/AC ID, and keep structural, source, test, runtime, deployment, and owner-acceptance evidence distinct. - New builds default to native planning in target
PROGRESS.md, followinglayout/EXECUTE_TASKS.md; an explicit build request authorizes scoped local implementation without another routine approval. Use the stateful runner only when requested or a toolkit runner plan/state exists. Readprompts/PHASE_GATED_TASK_RUNNER.mdcompletely before invoking its CLI. - Preserve toolkit decisions in root
DECISIONS.mdand toolkit milestone state in rootPROGRESS.md. For a generated target project, initialize and update that project's ownDECISIONS.mdandPROGRESS.mdfrom the corresponding files intemplates/; never mix target-project state into the toolkit logs. - Treat
package.json,BASELINE.md, andCHANGELOG.mdas one version contract. Do not claim a Git tag, publication, or release without separate explicit evidence and authorization.
Format Policy
- Use Markdown for human-readable instructions and PRD content.
- Use YAML frontmatter for document and skill metadata.
- Use YAML for concise configuration examples.
- Use JSON for API, event, state, and verification-receipt contracts.
- Use Mermaid for diagrams.
- Do not convert narrative workflows into large YAML or JSON documents; keep structured formats for data that benefits from deterministic parsing.
Quality and Safety
- Preserve commands, IDs, paths, URLs, schemas, thresholds, and approved product behavior exactly unless the user requests a change.
- Use
FR-###,NFR-###, andAC-###as stable, unique IDs. Maintain two-way traceability from every feature/capability to requirements, acceptance criteria, implementation surfaces, milestones, and evidence—and back again. - Validate PRD frontmatter against
schemas/prd-frontmatter.schema.jsonand enforcecurrent_milestone <= total_milestones; a new unapproved PRD starts withstatus: draftandcurrent_milestone: 0. - Mark unsupported claims
UNVERIFIED; never invent evidence. - Never store secrets, tokens, credentials, cookies, or private keys in tracked files, examples, logs, or reports.
- Inspect current files before reporting status.
- Validate frontmatter, section count, links, diagrams, traceability, and secret handling before delivery.
- Treat a structural-validator pass as bounded evidence, not as proof of factual correctness, runtime behavior, or production readiness.
- Do not claim implementation, operational, or production readiness without naming the proven readiness level and its evidence.
- For task-plan v2 execution, require exact plan-fingerprint approval, persist
preflight/completion evidence, and treat any failed task as a plan-wide block.
Never advance, erase an attempt, or reuse approval after
PLAN_CHANGED. - Generate two or three outcome-oriented milestones by default, including the final integrated audit. Use four only for independently meaningful outcomes and five only as an exceptional hard ceiling. Group frontend, backend, data, tests, and documentation when they prove one outcome; component steps remain an internal checklist. Preserve older approved plans as historical evidence.
- Use targeted checks during implementation slices. Reserve full applicable regression and real behavioral/manual product testing for the final integrated audit, where in-scope defects are fixed and affected evidence is rerun. The user build request covers native local implementation; runner mode retains exact plan approval. Ordinary milestone transitions never create an approval checkpoint. New scope, uncovered high-risk authority, production, and final owner acceptance remain explicit boundaries.
- Make a runnable or visibly testable product available as early as dependencies
allow. Missing optional benchmark media, credentials, provider access, or
release inputs do not block safe local implementation; mark only the dependent
behavior
UNVERIFIEDand continue useful work. - After every milestone, summarize the delivered outcome, grouped changed surfaces, what works, one exact way to try it, verification, material limitations, progress, and whether the next milestone continues automatically.
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
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.

