PRD-driven-context-engineering
CLAUDE.md179 starsChanged 6 months agoMITView on GitHub
Mission: Build software in lockstep with the PRD Version Lifecycle. Authority: Load README.md → PRD.md → CLAUDE.md → Active EPIC. Core Rule: If it's not in the ID Graph (Specs), it doesn't exist. Rules are loaded automatically from .claude/rules/*.md. The pages in SoT/html/ are for humans, not for context loading: - Read: load the markdown SoT files for task context, never the HTML. The HTML duplicates markdown content in a heavier format — loading it wastes tokens. - Write: when…
In this repository50 other files it gives its agents.
- ghm-gate-checkSkill
- ghm-harvestSkill
- ghm-id-registerSkill
- ghm-self-installSkill
- ghm-sot-builderSkill
- ghm-status-syncSkill
- ghm-template-syncSkill
- initSkill
- prd-v01-problem-framingSkill
- prd-v01-user-value-articulationSkill
- prd-v02-competitive-landscape-mappingSkill
- prd-v02-product-type-classificationSkill
- prd-v03-features-value-planningSkill
- prd-v03-moat-definitionSkill
- prd-v03-outcome-definitionSkill
- prd-v03-pricing-modelSkill
- prd-v04-persona-definitionSkill
- prd-v04-screen-flow-definitionSkill
- prd-v04-user-journey-mappingSkill
- prd-v04-visual-prototype-gateSkill
- prd-v05-risk-discovery-interviewSkill
- prd-v05-technical-stack-selectionSkill
- prd-v06-architecture-designSkill
- prd-v06-environment-setupSkill
- prd-v06-technical-specificationSkill
- prd-v07-epic-scopingSkill
- prd-v07-implementation-loopSkill
- prd-v07-test-planningSkill
- prd-v08-changelog-as-marketingSkill
- prd-v08-drift-baseline-compareSkill
- prd-v08-marketing-ops-handoffSkill
- prd-v08-monitoring-setupSkill
- prd-v08-release-planningSkill
- prd-v08-runbook-creationSkill
- prd-v09-aeo-auditSkill
- prd-v09-alternatives-pagesSkill
- prd-v09-cold-outreach-tieredSkill
- prd-v09-feedback-loop-setupSkill
- prd-v09-gtm-strategySkill
- prd-v09-hn-reddit-launchSkill
- prd-v09-launch-channels-orbSkill
- prd-v09-launch-metricsSkill
- prd-v09-offer-construction-hormoziSkill
- prd-v09-positioning-dunfordSkill
- prd-v10-case-study-builderSkill
- prd-v10-chasm-adoption-mooreSkill
- prd-v10-continuous-discovery-torresSkill
- prd-v10-mom-test-interviewSkill
- prd-v10-testimonial-collectorSkill
- prd-vXX-skill-nameSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Write: when you add or change a SoT entry, mirror it in the companion page in the same session — duplicate the matching <article …
- Distinctive: line 43
Conflict rule: if HTML and markdown disagree, markdown wins.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md — Agent Operating Guide
Mission: Build software in lockstep with the PRD Version Lifecycle. Authority: Load
README.md→PRD.md→CLAUDE.md→ Active EPIC. Core Rule: If it's not in the ID Graph (Specs), it doesn't exist.
Rules are loaded automatically from .claude/rules/*.md.
Quick Reference
- Lifecycle Guide:
README.md - ID System:
SoT/SoT.UNIQUE_ID_SYSTEM.md - SoT Index:
SoT/SoT.README.md - EPIC Template:
epics/EPIC_TEMPLATE.md - Active Work:
epics/ - Domain Profile:
.claude/domain-profile.yaml - Hook Contract:
.claude/hooks/HOOK_CONTRACT.md - Agent Registry:
.claude/agents/ - Rules:
.claude/rules/ - SoT HTML Companion:
SoT/html/— human-review renders of each SoT file - Deliverables (concept):
docs/DELIVERABLES_CONCEPT.md— proposed input-mode layer where humans emit SoT markdown
SoT HTML Companion (when to use it)
The pages in SoT/html/ are for humans, not for context loading:
- Read: load the markdown SoT files for task context, never the HTML. The HTML duplicates markdown content in a heavier format — loading it wastes tokens.
- Write: when you add or change a SoT entry, mirror it in the companion page in the same
session — duplicate the matching
<article class="entry" id="PREFIX-XXX">block and fill the placeholders. Entry anchors must equal IDs; cross-references must bea.idhyperlinks. - Surface: at gate reviews, EPIC handoffs, or whenever a human asks to "see" the specs, point
them at
SoT/html/index.html(opens fromfile://, no build). - Extend: a new SoT file (via
ghm-sot-builder) gets a companion page — follow "Extending the library" inSoT/html/README.mdand register it inindex.html. - Conflict rule: if HTML and markdown disagree, markdown wins; fix the HTML.
When in doubt, follow the Source of Truth.
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.

