project-init
Skill2 starsChanged 4 months agoMITView on GitHub
One-time project bootstrap workflow for new repos. Use whenever the user says "initialize project," "set up this repo for Cursor and Claude," "new Cursor project," "set up Cursor," "bootstrap docs/context," or "new project setup." Prefer this before first handoff in a repo. Do NOT use for end-of-session updates in active projects; use handoff for that.
- Reads credentials
- Commits and pushes
38 other projects use a version of this.
Adopted by
Most recently taken up by
- UnBergant/bergant-workflowtheir own version, first seen Nov 8, 2026
- 70asunflower/70asunflower-skillstheir own version, first seen Nov 8, 2026
- u9401066/zotero-keepertheir own version, first seen Nov 8, 2026
- DaeSeokSong/oh-my-ouroborostheir own version, first seen Nov 1, 2026
- ttalkkaklab/social-flowtheir own version, first seen Nov 1, 2026
- claude-world/director-mode-litetheir own version, first seen Nov 1, 2026
Used with
Projects with it also use harness-audit, workflow and 2 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.
sattva2020Skillharness-audit
Audits a codebase for "AI-agent harness" maturity across six layers (context engineering, tools & MCP, memory & state, tests & evals, observability, guardrails & approvals). Scores each layer, flags AGENTS.md/CLAUDE.md drift, gives prioritized fixes. Use for "audit harness", "оцени харнес", "check agent readiness", "is this project agent-ready", "проверь готовность к AI-агентам".
Also in 3 projects that use this
VercelSkillworkflow
Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.
Also in 3 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 4 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- bkywksj/knowledge-base★ 340same name
- zephyrwang6/myskill★ 339same name
- AlexZio00/sovereign-skills★ 157same name
- claude-world/director-mode-lite★ 80same name
- agencia-conversion/agentic-seo-skills★ 51same name
- u9401066/pubmed-search-mcp★ 28same name
- mathruffian-dot/cross-device-agent-skills★ 27same name
- ecodelearn/template-claude-code-open★ 25same name
- peter-tu-zynkr/zynkr-skill-builder★ 21same name
- SpaceZephyr/allSkills★ 14same name
28 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 repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/context-router.mdCursor rule
- drift-checkSkill
- handoffSkill
- model-alignment-auditSkill
- qa-auditSkill
- token-auditSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 12 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Create the minimum durable scaffolding a project needs on day 0:
- Distinctive: line 22
Do NOT create SPEC.md, DECISIONS.md, ROADMAP.md, or PROJECT.md.
- Distinctive: line 36
Ask one setup question: "Will this live on git?"
- Distinctive: line 39
Create or patch README.md with just: What this is, How to install/use it, and any key configuration.
- Very specific: line 40
Create a minimal CLAUDE.md so return sessions start oriented (it's the file AI tools auto-load), using the template in …
- Very specific: line 42
Create .cursor/rules/context-router.md so Cursor loads CLAUDE.md too, using the template in assets/context-router-simple.md.
- Very specific: line 44
Do not create WORKLOG.md or a docs/ folder, a simple project doesn't need session scaffolding.
- Distinctive: line 56
Prefer patching existing files over replacing them.
- Distinctive: line 59
Ask: "Will this live on git?" (Skip the question if the project root is already a git repo, treat that as a yes.)
- Very specific: line 64
If .gitignore or LICENSE already exist, leave them untouched.
- Very specific: line 67
Ensure the docs/ folder exists.
- Very specific: line 69
If CLAUDE.md is missing, create it using the template in assets/claude-md-indepth.md (fill in what you know from the conversation.
- Very specific: line 73
If docs/WORKLOG.md is missing, create it using the template in assets/worklog-template.md.
- Distinctive: line 76
Ensure README.md includes these minimum sections, adapting or omitting any that don't apply:
- Distinctive: line 83
If README.md already exists, preserve project-specific details and only add missing sections.
- Very specific: line 86
Ensure .cursor/rules/context-router.md exists, using the template in assets/context-router-indepth.md.
- Distinctive: line 132
Never guess scope, always ask (Step 1).
- Distinctive: line 134
Never delete existing project content to satisfy this skill.
- Distinctive: line 135
Never rewrite a full README.md if only sections are missing.
- Distinctive: line 136
Keep file paths in output explicit and copy-pasteable.
- Very specific: line 143
Claude Code: if you keep global instructions in ~/.claude/CLAUDE.md, that's a one-time, machine-level setup, not per-project.
- Very specific: line 148
Do not move recurring handoff logging into project-init.
“Common” is measured: kept by at least 6 in 10 of the 18 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
SKILL: Project Init
Initialize a project so future sessions and handoffs work consistently in both Cursor and Claude Code. Default to the minimum: three docs plus git. A project earns more files by outgrowing these, not on day 0.
MISSION
Create the minimum durable scaffolding a project needs on day 0:
- Git repo initialized with a
.gitignore, and an MITLICENSEwhenever the project uses git CLAUDE.mdfor project-facing AI guidance, including a short "What this is" and "Key decisions" sectiondocs/WORKLOG.mdwith the task checklist (Now / Next) up top and rolling session notes belowREADME.mdbaseline sections so agents and humans can pick up the repo quickly.cursor/rules/context-router.mdfor Cursor startup routing
Do NOT create SPEC.md, DECISIONS.md, ROADMAP.md, or PROJECT.md. Spec and decision content starts as sections inside CLAUDE.md; the escalation path (below) covers projects that outgrow that.
PROTOCOL (run in this exact order)
Invoking this skill is the user's confirmation for its standard outputs: create the files for the chosen scope without per-file approval. Only two questions need answers at either scope: the scope question and the git question. This overrides any general "state proposed changes and wait for confirmation" habit for files this skill is defined to create.
Step 1: Determine project scope
Ask the user:
"Is this a simple, smaller project (a script, a one-off page, a config, a quick artifact), or an in-depth build (an app or tool you'll develop over time)?"
Do not infer the answer from file types or folder contents, only the user knows how deep this project goes. Exception: if the user already described the project's depth earlier in the conversation, state the scope you inferred and ask them to confirm instead of asking from scratch.
Simple project:
- Ask one setup question: "Will this live on git?"
- Yes: run
git initif not already a repo, create a minimal.gitignore(.DS_Store,.env,CLAUDE.local.md, plus stack-specific entries if detected), and create an MITLICENSE, all automatically, no further questions. Use a different license only if the user names one. Do NOT ask where it will be pushed or create a remote; the completion report covers connecting to GitHub later. After all files are created, make an initial commit (Initial scaffold) so the folder is push-ready. - No: skip git,
.gitignore, andLICENSEentirely.
- Yes: run
- Create or patch
README.mdwith just: What this is, How to install/use it, and any key configuration. Skip "How to run it" / "How to test or preview" if they don't apply. - Create a minimal
CLAUDE.mdso return sessions start oriented (it's the file AI tools auto-load), using the template inassets/claude-md-simple.md. - Create
.cursor/rules/context-router.mdso Cursor loads CLAUDE.md too, using the template inassets/context-router-simple.md. - Do not create WORKLOG.md or a
docs/folder, a simple project doesn't need session scaffolding. If it grows into a real build later, rerunproject-initand answer "in-depth"; it patches in the missing files. - Report completion using the "Simple project" checklist in Step 7 and stop.
In-depth build: continue to Step 2.
Step 2: Verify workspace and detect current state
Confirm you are in the project root and inventory whether these files already exist:
CLAUDE.mddocs/WORKLOG.mdREADME.md.cursor/rules/context-router.md
Prefer patching existing files over replacing them.
Step 3: Ask the git question
Ask: "Will this live on git?" (Skip the question if the project root is already a git repo, treat that as a yes.)
- Yes: run
git initif not already a repo. If.gitignoredoes not exist, create one with sensible defaults for the detected stack (check forpackage.json,requirements.txt,Gemfile, etc.), at minimum.DS_Store,.env,CLAUDE.local.md,node_modules/(if JS/TS), and editor/IDE cruft. Create an MITLICENSEautomatically (use a different license only if the user names one). No further git questions. Do not ask where the repo will be pushed or create a remote; after all scaffolding steps finish, make an initial commit (Initial scaffold) so the folder is push-ready, and the completion report's follow-up block covers connecting to GitHub later. - No: skip git,
.gitignore, andLICENSE. Note in the report thathandoff's commit step won't apply until git is initialized.
If .gitignore or LICENSE already exist, leave them untouched.
Step 4: Create CLAUDE.md and docs/WORKLOG.md
Ensure the docs/ folder exists.
If CLAUDE.md is missing, create it using the template in assets/claude-md-indepth.md (fill in what you know from the conversation; leave honest placeholders otherwise). If CLAUDE.md exists, patch in the worklog check line and any missing section headers, don't rewrite existing content.
Note: Claude Code also loads a gitignored CLAUDE.local.md for personal-only prefs; this skill doesn't create one automatically.
If docs/WORKLOG.md is missing, create it using the template in assets/worklog-template.md.
Step 5: Create or patch README baseline
Ensure README.md includes these minimum sections, adapting or omitting any that don't apply:
- What this is
- How to run it
- How to test or preview
- Key configuration
- Project structure (lightweight, top-level paths)
If README.md already exists, preserve project-specific details and only add missing sections.
Step 6: Create/repair Cursor context router
Ensure .cursor/rules/context-router.md exists, using the template in assets/context-router-indepth.md.
Step 7: Report completion checklist (required)
For the simple branch, return:
Project init checklist (simple project):
- [x] Git repo + `.gitignore` + MIT `LICENSE` (created|skipped-no-git|already good)
- [x] `README.md` (created|updated|already good)
- [x] Minimal `CLAUDE.md` (created|updated|already good)
- [x] `.cursor/rules/context-router.md` (created|already good)
- [x] WORKLOG.md, docs/: not applicable at this scope
Manual follow-up:
- <only include items that still need user action>If git was initialized (either scope) and no remote exists, always append this to Manual follow-up. Substitute the real values before printing (folder name from the project root, username via gh api user -q .login), the command must be copy-pasteable exactly as shown, no <placeholders>. If gh isn't installed or isn't authenticated, that lookup fails, in that case print the block with ACTUAL-USERNAME left as a literal placeholder and add a one-line note that the user needs to fill in their own GitHub username:
- This folder is committed and ready to push whenever you want it on GitHub:
- Fastest (creates the repo and pushes in one step, paste as-is): `gh repo create ACTUAL-FOLDER-NAME --private --source=. --push` (use `--public` to share it)
- Or create the repo on github.com first, then connect it:
```bash
git remote add origin git@github.com:ACTUAL-USERNAME/ACTUAL-FOLDER-NAME.git
git branch -M main
git push -u origin main
```For the in-depth branch, return:
Project init checklist:
- [x] Git repo + `.gitignore` + MIT `LICENSE` (created|skipped-no-git|already good)
- [x] `CLAUDE.md` (created|updated|already good)
- [x] `docs/WORKLOG.md` (created|updated|already good)
- [x] `README.md` baseline sections (created|updated|already good)
- [x] `.cursor/rules/context-router.md` (created|updated|already good)
Manual follow-up:
- <only include items that still need user action>DEFAULTS AND GUARDRAILS
- Never guess scope, always ask (Step 1). Folder contents are not a reliable signal for how deep a project will go.
- Both scopes ask the git question once; a yes covers
.gitignoreand MITLICENSEautomatically, a no skips all three. Never create a remote at scaffold time. - Never delete existing project content to satisfy this skill; patch minimally.
- Never rewrite a full
README.mdif only sections are missing. - Keep file paths in output explicit and copy-pasteable.
- This skill only creates
CLAUDE.md, notAGENTS.md. If you already useAGENTS.mdfrom another tool,handoffwill still recognize and update it, project-init just doesn't create one itself.
Tool-specific notes
Cursor: context-router.md points Cursor at CLAUDE.md and docs/WORKLOG.md. If you maintain a separate global-context file shared across projects, link or reference it from your own Cursor setup; that's outside this skill's scope.
Claude Code: if you keep global instructions in ~/.claude/CLAUDE.md, that's a one-time, machine-level setup, not per-project. This skill does not configure it.
BOUNDARY
project-initis for one-time bootstrap or repairing missing scaffolding.handoffis for recurring session updates (session notes, Now/Next checklist, README health check, durable doc deltas) and owns the escalation when CLAUDE.md's "What this is"/"Key decisions" sections outgrow a screen of content and move todocs/PROJECT.md(the last tier, never split further; the task checklist always stays indocs/WORKLOG.md, never a separate ROADMAP.md). Not part of day-0 init.- Do not move recurring handoff logging into
project-init.
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.

