foundry
Skill8 starsChanged 3 months agoApache-2.0View on GitHub
The build-and-maintenance process for this repository's converged skill kit. Use for ANY convergence or maintenance work here — lifting files from upstream sources, building or revising one of the six skills, handling upstream drift or a failed integrity check, adding a contradiction ruling, distilling source material, installing the private course drop-in, or evaluating a new upstream or skill for the kit. Load BEFORE editing anything.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- razakiau/skillstheir own version, first seen Nov 8, 2026
- huuphuoc1396/android-claude-skillstheir own version, first seen Nov 1, 2026
- ryktara/Foundrytheir own version, first seen Sep 25, 2026
- mjmirza/foundrytheir own version, first seen Jun 11, 2026
- LiorZ/foundry-claude-skilltheir own version, first seen Feb 7, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- razakiau/skills★ 3same name
- huuphuoc1396/android-claude-skills★ 1same name
- LiorZ/foundry-claude-skill★ 1same name
- mjmirza/foundry★ 0same name
- ryktara/Foundry★ 0same name
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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Read foundry/MANIFEST.json — look up the class of every file you intend to touch.
- Very specific: line 20
Read foundry/LEDGER.md — rulings bind everything you author.
- Distinctive: line 45
Anti-slop gates on anything you author: no restatement between spine and references (principle in the spine, recipe in the ref, never both) …
- Very specific: line 52
Plan first: write foundry/derivations/<skill>.md (sources, classes, cuts, rulings applied) before running a single lift.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Foundry
This repo converges 84 upstream design-engineering skills into six
(pe-design, pe-build, pe-review, pe-verify, pe-product-description, pe-brand-assets), preserving the
best source prose byte-for-byte and proving it with hashes. You are operating a
factory with strict rules, not editing a normal repo. AGENTS.md is the fence; this
skill is the manual.
Before anything else
- Read
foundry/MANIFEST.json— look up the class of every file you intend to touch. - Read
foundry/LEDGER.md— rulings bind everything you author. - Pick the runbook that matches the task (table below) and follow it exactly.
- End every session that changed provenance state with a
foundry/LOG.mdline and a greenfoundry/scripts/check-integrity.sh.
File classes
| Class | Meaning | Your permissions |
verbatim | Byte-for-byte lift from a pinned upstream commit | Never edit. Re-lift via script or nothing. |
verbatim-minus | Verbatim with a recorded cut (pristine + .patch in foundry/pristine/) | Never edit the file directly. Changing the cut = edit file, run make-patch.sh, PR shows the patch diff. |
distilled | Authored condensation of recorded sources; the salvage list in its derivation file is the contract | Edit only via the distill-refresh runbook; finish with check-integrity.sh --update-distilled <path>. |
authored | Ours: spines, glue, foundry docs | Edit freely, subject to the ledger and the anti-slop gates. |
private: true entries are course drop-in files — purchased content that exists only on
local machines, never in a commit.
The convergence method (for building or revising a skill)
- Architecture: each skill is a thin authored spine (router: modes, cues, contract, rulings block; target < 150 lines) over references lifted verbatim from graded sources. New prose is written only for glue, routing, and rulings.
- Grades bind handling: GOLD → lift verbatim, never reword (cut whole sections only, via verbatim-minus, logged) · SOLID → lift, dedupe only · PADDED → distill against a named salvage list · SLOP → exclude.
- Anti-slop gates on anything you author: no restatement between spine and references (principle in the spine, recipe in the ref, never both) · every sentence must change an implementation choice · no adjective stacks, personas, or dial theater · skill activation load stays under ~500 lines · no provenance in runtime text — MANIFEST, derivations, and NOTICE own provenance; skill prose states rules without citing sources, patches, pins, or ledger ids (frontmatter carries only a one-line derivations pointer).
- Plan first: write
foundry/derivations/<skill>.md(sources, classes, cuts, rulings applied) before running a single lift. The receipts precede the work. - Verify:
check-integrity.shgreen,skills-ref validate(or equivalent) clean, spine checked against every ledger ruling it touches.
Runbooks
| Task | Runbook |
| Bring a file in from an upstream | runbooks/lift.md |
| An upstream changed a vendored file | runbooks/re-lift.md |
| A distilled file's source changed, or the distillation needs work | runbooks/distill-refresh.md |
| Sources contradict, or a ruling needs to change | runbooks/new-ruling.md |
| CI integrity check is red | runbooks/integrity-failure.md |
| Install/refresh the purchased course files locally | runbooks/course-dropin.md |
| Evaluate a new upstream or add a skill to the kit | runbooks/new-skill.md |
Division of labor — never blur it
LLMs propose (grade, classify drift, author spines, draft PRs) ·
hashes verify (check-integrity.sh, in CI on every push) ·
humans merge (nothing you produce lands on main without review).
Your token stream is never the channel vendored prose travels through.
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.

