setup-project
Skill1 starsChanged 5 months agoMITView on GitHub
Bootstrap the .claude/ blueprint into a repo — detect the stack, tune CLAUDE.md and rules, wire the safety hooks, write the drift fingerprint. Run once when seeding a new project, or re-run after the stack changes. Trigger phrases "set up this project", "setupdotclaude", "seed claude into this repo".
- Reads credentials
10 other projects use a version of this.
Adopted by
Most recently taken up by
- GrannoDev/skillstheir own version, first seen Oct 5, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- antoniowolkk/junior-agenttheir own version, first seen Sep 22, 2026
- ByronFinn/dev-skillstheir own version, first seen Aug 21, 2026
- r2rka1/skillstheir own version, first seen Aug 18, 2026
- beeltec/skillstheir own version, first seen Jul 28, 2026
Used with
Projects with it also use implement and research.
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
DockerSkillresearch
Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- gricha/dangerous-skills★ 38same name
- yimwoo/hotl-plugin★ 27same name
- Global-Software-Consulting/project-scaffolding-skills★ 8same name
- ByronFinn/dev-skills★ 4same name
- beeltec/skills★ 2same name
- r2rka1/skills★ 2same name
- antoniowolkk/junior-agent★ 0same name
- GrannoDev/skills★ 0same name
- lohi-ai/babysit★ 0same name
- OlliTapio/claude_skills★ 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.
In this repository16 other files it gives its agents.
- catchupSkill
- claude-mdSkill
- context-budgetSkill
- db-querySkill
- debug-fixSkill
- eval-agentSkill
- explainSkill
- fix-issueSkill
- incident-ruleSkill
- pr-reviewSkill
- refactorSkill
- secrets-checkSkill
- shipSkill
- tddSkill
- test-writerSkill
- trace-agentSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
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 19
Detect the stack: Read (don't guess) what exists:
- Very specific: line 46
Write settings.json with the matchers and the allow/deny permission list.
- Very specific: line 51
chmod +x: every hook (Git Bash): chmod +x .claude/hooks/*.sh.
“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-project
Trigger: "set up this project" / "setupdotclaude" / "seed claude here"
Standing rules: ../_conventions.md.
You are seeding this repo with the standing blueprint. Lead with what you're about to change, do it, then report what landed. Never invent commands — detect them from real manifest files; if a command isn't verifiable, mark it TODO and say so.
Steps
- Detect the stack. Read (don't guess) what exists:
pyproject.toml/requirements.txt/setup.py→ Python. Frompyproject.toml, note the real test runner (pytest?), formatter/linter (ruff? black? isort?), type checker (mypy?), and package manager (uvlock file?poetry? plain pip?).package.json→ JS/TS; read thescriptsblock for real commands.railway.json/Procfile/vercel.json→ deploy target..env.example→ expected env vars (NEVER read.envitself; the deny list blocks it — that's correct, don't work around it). State the detected stack in one line before writing anything.
- Write/patch CLAUDE.md from
CLAUDE.template.md. Fill Commands from the REAL detected commands only (e.g.pytest,ruff check .,mypy .). Keep it under 50 non-blank lines (hard cap; aim for 25). Do NOT duplicate code style — that lives inrules/code-quality.md. - Install rules. Copy the always-on rules (
code-quality.md,testing.md) and the path-scoped rules that match this repo:python.md(**/*.py) for any Python repo.security.mdif there's anapi/**/routes/**/handlers/**surface.error-handling.mdforservices/**/handlers/**. Skip rules with no matching paths — dead rules cost tokens. Dropfrontend.md/database.mdunless the repo actually has a UI or SQL migrations.
- Wire hooks. Copy the four PreToolUse guards (
protect-files,warn-large-files,scan-secrets,block-dangerous-commands),format-on-save+auto-test(PostToolUse),session-start,notify. Writesettings.jsonwith the matchers and the allow/deny permission list. Retune the allow-list for the stack: for Python addBash(pytest *),Bash(ruff *),Bash(mypy *),Bash(python -m *),Bash(uv *); keep the git/gh allows; drop thenpmallows if there's nopackage.json. - chmod +x every hook (Git Bash):
chmod +x .claude/hooks/*.sh. - Write the fingerprint so
session-startcan nudge on drift:DOTCLAUDE_FINGERPRINT=1 .claude/hooks/session-start.sh > .claude/.dotclaude.json. - Verify, don't assume. Actually run each command you wrote into CLAUDE.md
once (lint, test, typecheck). If one fails or is missing, fix the CLAUDE.md
line or mark it
# TODO: unverified— never leave a command that doesn't run. - Report (terse): stack detected · files written · commands verified · anything left as TODO. End with the single next action.
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.

