setup-repo
Skill0 starsChanged 17 days agoMITView on GitHub
Bootstrap a new project folder with a Pi-ready agentic scaffold plus a compliance package. Stamps CLAUDE.md, AGENTS.md, .pi/agents/*.md, .docs/violations/, and .docs/sessions/ from the universal principle catalog.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- protokol11/skillsword for word, first seen Nov 8, 2026
- mblauberg/provenanttheir own version, first seen Nov 8, 2026
- etr/groundworktheir own version, first seen Nov 8, 2026
- Significant-Gravitas/AutoGPTtheir own version, first seen Nov 4, 2026
- p-chan/agent-skillstheir own version, first seen Nov 1, 2026
- p-chan/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use implement.
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.
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 1
- protokol11/skills★ 1100% same
Edited · 0
None found.
Wrote their own version · 11
- Significant-Gravitas/AutoGPT★ 188ksame name
- etr/groundwork★ 45same name
- florian101010/awesome-agentic-AI-coding-template★ 4same name
- jpoindexter/theft-kit★ 1same name
- marinvch/Cortex★ 1same name
- mblauberg/provenant★ 1same name
- nhhthong/skills★ 1same name
- Sassy-Dog/skills★ 1same name
- vincenzo345/skills★ 1same name
- p-chan/agent-skills★ 0same name
1 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 repositoryOne other file it gives its agents.
- upgrade-repoSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
2
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 15
Before starting a feature when no agentic scaffold exists.
- Very specific: line 49
Keep CLAUDE.md < 150 lines.
- Very specific: line 50
Use the deep anchors in CONTEXT.md.
- Distinctive: line 51
Do not commit sensitive data.
“Common” is measured: kept by at least 6 in 10 of the 9 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
setup-repo
Bootstrap a new project with the Pi agentic scaffold and the compliance package.
When to use
- New project folder.
- New directory that will use Pi orchestration (explore/plan/coder/tester/fixer).
- Before starting a feature when no agentic scaffold exists.
Steps
- Render — call the renderer before scaffolding.
- Command:
node ~/.agents/skills/principles-render/render.mjs --out <tmp-render-dir>. - Completion: temp directory contains
role-prompts/*.md,lint-rules.md,spec-template.md.
- Command:
- Scaffold — run
scripts/scaffold.ps1 -ProjectPath <path>.- Copies templates (incl.
.docs/PLAN.mdin canonical planmd format — Now/Next/Backlog/Done,1. [ ], optional[P0]). - Replaces project placeholders.
- Injects role prompts into
.pi/agents/*.md. - Replaces
.docs/SPECS/README.mdspec template section with the renderer's template. - Writes
.docs/violations/lint-rules.mdand.docs/violations/audit-log.md. - Creates
.docs/sessions/STATUS_TEMPLATE.md. - Initializes git unless
-SkipGit.
- Copies templates (incl.
- Drill — ask the user one question at a time to fill project-specific content.
- Questions: project purpose, stack, main entry point, sensitive data exclusions, special workflow rules.
- Completion:
CLAUDE.md,CONTEXT.md,README.md, andAGENTS.mdcontain project-specific content.
- Verify — check the scaffold against the acceptance criteria in
REFERENCE.md.- Required files exist and have non-placeholder content.
.docs/PLAN.mdfollows the canonical planmd format (Now/Next/Backlog/Done)..pi/agents/*.mdcontain role-specific principles..docs/violations/exists withaudit-log.mdandlint-rules.md..docs/sessions/exists instead ofsessions/in the repo root.
- Archive spec — move
SPEC.mdto.archive/when the user confirms.- Completion:
SPEC.mdis moved to.archive/SPEC-<date>.mdor deleted.
- Completion:
Conventions
- Language: all documents and code terms are English. Chat replies are Russian. Author quotes stay verbatim in
> «...». - Keep
CLAUDE.md< 150 lines; push details toAGENTS.mdandREFERENCE.md. - Use the deep anchors in
CONTEXT.md. - Do not commit sensitive data.
- The compliance package (
lint-rules.md,audit-log.md) is generated from the catalog and cannot drift from it.
Output
A bootstrapped project ready for the explore → plan → coder → tester workflow, with compliance artifacts stamped.
Reference
See REFERENCE.md for file-by-file explanations and templates/ for the scaffold.
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.

