docs
Skill0 starsChanged 4 months agoApache-2.0View on GitHub
How to read, write, and maintain the pyharness docs under docs/. Use when adding or editing a docs page, deciding where documentation belongs, syncing docs after a code change, or when you need to consult the docs to understand a subsystem. Covers the three-section layout, the reference↔source map, and the "cut rather than rot" rule.
- Reads credentials
165 other projects use a version of this.
Adopted by
Most recently taken up by
- Adelie-Squad/solosquadtheir own version, first seen Nov 8, 2026
- hhtower/price-comparisontheir own version, first seen Nov 8, 2026
- vladtrc/iw4Ltheir own version, first seen Nov 8, 2026
- igorkasyanchuk/diffnotestheir own version, first seen Nov 8, 2026
- tiankonglan/TomeWikitheir own version, first seen Nov 8, 2026
- Canonry/aeo-audittheir own version, first seen Nov 8, 2026
Used with
Projects with it also use import-memory, perf 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.
amirbironSkillimport-memory
Import a memory export from another AI assistant into Claude's memory — conversationally, additively, and with the content treated as data.
Also in 3 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.
Also in 4 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
JkudjoSkillincident
Production incident response — structured triage, hypothesis tree, safe remediation, incident record
Also in 4 projects that use this
vbrevikSkillwork
Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.
Also in 7 projects that use this
mbwsimsSkillimpact
This skill should be used when the user asks to "check the impact", "what will break if I change this", "blast radius", "impact analysis", "what depends on this", "who imports this", "is it safe to change this", mentions "/impact", or wants to understand the consequences of modifying a specific file or function before making changes.
Also in 3 projects that use this
Other versions165 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 165
- remotion-dev/remotion★ 72ksame name
- PrefectHQ/fastmcp★ 28ksame name
- jlowin/fastmcp★ 28ksame name
- ccusage/ccusage★ 19ksame name
- ryoppippi/ccusage★ 19ksame name
- micronaut-projects/micronaut-core★ 6.4ksame name
- latitude-dev/latitude-llm★ 4.7ksame name
- samuelgursky/davinci-resolve-mcp★ 4ksame name
- TanStack/ai★ 3.3ksame name
- patrykandpatrick/vico★ 3.2ksame name
155 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- harness-loopSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 129 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Not a public product, not newcomers who aren't here.
- Very specific: line 15
Do not bulk-read docs/ to "get context." Load the single page tied to the subsystem you're touching:
- Distinctive: line 46
Don't recreate a tutorial quadrant.
- Distinctive: line 71
Concrete over aspirational: Document what exists, not what you might build.
- Distinctive: line 76
Cut before you pad: If a page has thinned to a stub that just points elsewhere, delete it and repoint its inbound links.
- Very specific: line 83
Add it to the section list in docs/index.md.
- Distinctive: line 84
If it's reference, add its source to the sync map above.
“Common” is measured: kept by at least 6 in 10 of the 129 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.
Files
Maintaining the pyharness docs
The docs exist for one audience: you and the agents working in this repo. Not a public product, not newcomers who aren't here. Every page must earn its keep as non-inferable knowledge someone will actually reach for. When in doubt, cut it — a missing page costs a grep; a stale page lies.
Read narrowly, not broadly
Do not bulk-read docs/ to "get context." Load the single page tied to the
subsystem you're touching:
| Working on… | Read |
| the run_python model, kernel, delegation | explanation/action-space.md |
| dispatch / capability routing | explanation/broker.md |
| policy, vault, sandbox, audit chain | explanation/security-and-audit.md |
| budget, tiers, pricing | explanation/budget.md |
| the builtin surface | reference/builtins.md |
| env vars / config | reference/configuration.md |
| the public Python API | reference/python-api.md |
| the CLIs | reference/cli.md |
The code is ground truth; a doc page is a faster, curated summary. If a page disagrees with the code, the code wins — and you fix the page (see below).
The three sections (Diátaxis, minus tutorials)
Each page stays in exactly one lane. Mixing lanes is the main way these rot.
- explanation/ — why and how it works. Architecture and rationale. Most durable; changes only when the design changes. New conceptual background goes here.
- how-to/ — one real task, start to finish. "Add a tool," "use the vault,"
"run with observability." If it's not a task someone actually performs, it
doesn't belong. (This is why there's no
deploypage — nothing is deployed.) - reference/ — precise lookup. Tables of signatures, flags, env vars. Lean; no narrative. This section drifts fastest — see the sync map.
There is no tutorials/ section. Onboarding lives in the top-level README.md.
Don't recreate a tutorial quadrant.
Sync docs after a code change (do this in the same commit)
A change is not done until the docs it affects are true again. The reference pages track specific sources — when you touch the left, update the right:
| If you change… | Update |
the SYSTEM_PROMPT builtins in pyharness/core/agent.py | reference/builtins.md |
env vars (add/rename/default) in .env.example | reference/configuration.md |
the public exports in pyharness/__init__.py | reference/python-api.md |
CLI flags/behavior in cli/main.py / cli/vault.py | reference/cli.md |
| tiers, pricing, or budget enforcement | explanation/budget.md |
| policy defaults, vault rules, or the sandbox | explanation/security-and-audit.md |
| how side effects route through the broker | explanation/broker.md |
Also check README.md (it has the quickstart and a few illustrative builtin
names, then links to reference/builtins.md for the full set) and the repo map
in AGENTS.md when structure moves.
Writing rules
- Lean. Reference is tables, not prose. Link instead of repeating — each fact has one home; other pages point to it.
- Concrete over aspirational. Document what exists, not what you might build. No "in a shared deployment you would…" pages.
- Real internal links. Paths are relative to the page's own directory; the cross-links between pages are load-bearing, so don't break them when moving content.
- Cut before you pad. If a page has thinned to a stub that just points elsewhere, delete it and repoint its inbound links.
When adding a genuinely new page
- Confirm it's non-inferable and someone will reach for it. If not, don't.
- Pick the one lane it belongs to; if it spans two, it's two pages.
- Add it to the section list in
docs/index.md. - If it's reference, add its source to the sync map above.
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.

