bootstrap
Skill108 starsChanged 9 months agoMITView on GitHub
Bootstrap a new project with a proper .claude/ setup for agentic development. Use when: setting up a new codebase for Claude Code, user says "set up this project", "bootstrap", "add Claude to this repo", or when .claude/ is missing in a project. Creates CLAUDE.md, CODEBASE.md, docs/, knowledge/, and optionally skills and hooks.
75 other projects use a version of this.
Adopted by
Most recently taken up by
- wlu-Q/AIagent-Small-officetheir own version, first seen Nov 29, 2026
- joi-fairshare/agentic-workflowtheir own version, first seen Nov 26, 2026
- Kanevry/session-orchestratortheir own version, first seen Nov 24, 2026
- Mohidkz05/tacktheir own version, first seen Nov 22, 2026
- kalaverin/skillstheir own version, first seen Nov 22, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Nov 19, 2026
Used with
Projects with it also use surprise-me, ppt-generation 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.
stophobiaSkillsurprise-me
Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".
Also in 3 projects that use this
HK-hubSkillppt-generation
Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.
Also in 3 projects that use this
stophobiaSkillgithub-deep-research
Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.
Also in 3 projects that use this
HK-hubSkillconsulting-analysis
Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.
Also in 3 projects that use this
MicrosoftSkillpodcast-generation
Generate AI-powered podcast-style audio narratives using Azure OpenAI's GPT Realtime Mini model via WebSocket. Use when building text-to-speech features, audio narrative generation, podcast creation from content, or integrating with Azure OpenAI Realtime API for real audio output. Covers full-stack implementation from React frontend to Python FastAPI backend with WebSocket streaming.
Also in 3 projects that use this
VercelSkillvercel-deploy
Deploy applications and websites to Vercel with a claimable preview. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment". No authentication required - returns preview URL and claimable deployment link.
Also in 4 projects that use this
- +1 more from HK-hub
Other versions75 projects use a version of this.
Word for word · 1
- sohaibdevv/Claude-Starter-Kit★ 1100% same
Edited · 0
None found.
Wrote their own version · 74
- bytedance/deer-flow★ 86ksame name
- openai/plugins★ 8.4ksame name
- modelscope/OpenJudge★ 1.1ksame name
- agentscope-ai/OpenJudge★ 1.1ksame name
- iovisor/ubpf★ 999same name
- stophobia/deerflow2.0-enhanced★ 821same name
- infragate/capa★ 718same name
- EvovexAI/EvoFlow★ 709same name
- vercel/vercel-plugin★ 353same name
- Mindrally/skills★ 275same name
64 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 repository5 other files it gives its agents.
- create-skillSkill
- onboardSkill
- planSkill
- reflectSkill
- tasksSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. 0 are common, 10 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 64 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
First: Read LEARNINGS.md in this skill's directory.
- Very specific: line 18
If no project path given, use the current working directory.
- Very specific: line 19
If --type not specified, infer from context (has src/, package.json, Cargo.toml -> code.
- Distinctive: line 23
Before creating anything, understand what exists.
- Very specific: line 25
Read the project's existing README, package.json/Cargo.toml/pyproject.toml, or equivalent
- Very specific: line 27
Check if .claude/ already exists — if so, audit what's there and fill gaps instead of overwriting
- Distinctive: line 56
Create the directories. Do NOT create empty placeholder files.
- Distinctive: line 126
Use an Agent subagent per module (parallel) to scan source code and produce the doc.
- Very specific: line 130
Create knowledge/<topic>.md for each relevant framework/language convention.
- Distinctive: line 131
Only create files for technologies actually used — don't speculate.
- Distinctive: line 150
Only add hooks when the project has specific needs:
- Very specific: line 158
Write hooks to scripts/ and register in .claude/settings.local.json.
- Distinctive: line 162
Run through the checklist:
- Distinctive: line 181
Do NOT push without user approval.
- Distinctive: line 187
Docs describe behavior, not API surface: Write for an agent that needs to understand the codebase without reading every file.
- Very specific: line 188
Only create files for things that exist: Don't create knowledge/react.md if the project doesn't use React.
- Very specific: line 189
Third-party projects get isolation: Add to CLAUDE.md: Do NOT update ~/claude-assistant/knowledge/, MEMORY.md, or task backlog for this …
- Distinctive: line 190
Don't over-document: Start lean. Fill gaps over time as you learn what's actually needed.
- Distinctive: line 191
Adapt, don't template: Every project is different.
“Common” is measured: kept by at least 6 in 10 of the 64 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
/bootstrap — Set Up a Project for Claude Code
First: Read LEARNINGS.md in this skill's directory.
Arguments: $ARGUMENTS
If no project path given, use the current working directory.
If --type not specified, infer from context (has src/, package.json, Cargo.toml -> code; otherwise -> knowledge).
Step 1: Reconnaissance
Before creating anything, understand what exists.
- Read the project's existing README, package.json/Cargo.toml/pyproject.toml, or equivalent
lsthe top-level directory structure- Check if
.claude/already exists — if so, audit what's there and fill gaps instead of overwriting - Identify:
- Tech stack (languages, frameworks, package manager)
- Build/lint/test commands (from package.json scripts, Makefile, etc.)
- Major modules (top-level dirs that represent distinct concerns)
- Project type:
code(has source code, build system) orknowledge(notes, docs, automation)
Present findings to the user in a table. Confirm before proceeding.
Step 2: Create Directory Structure
.claude/
CLAUDE.md # Behavioral core (always created)
CODEBASE.md # Project overview + module index (code projects only)
docs/ # Module documentation (code projects only)
<module>.md # One per major module
knowledge/ # On-demand context
<framework>.md # Language/framework conventions
settings.local.json # Project-scoped settings (if hooks needed)For knowledge projects, skip CODEBASE.md and docs/. Add instead:
.claude/
rules/ # Domain rules (always loaded)
knowledge/sessions/ # Session logsCreate the directories. Do NOT create empty placeholder files.
Step 3: Write CLAUDE.md
Target: 30-40 lines max. This burns context tokens every session.
Structure — adapt sections to the project:
# <Project Name>
## Commands
- `<build command>` -- build the project
- `<test command>` -- run tests
- `<lint command>` -- lint/typecheck
## Process
- Before starting, read `.claude/CODEBASE.md` and relevant `.claude/docs/` files
- Do NOT use the Explore agent by default -- read documentation first
- After code changes, update documentation if interfaces or behavior changed
- When fetching context, state which documents you loaded
## Available Documentation
- `.claude/CODEBASE.md` -- project overview and module index
- `.claude/docs/<module>.md` -- <one-line description>
## Available Knowledge
- `.claude/knowledge/<topic>.md` -- <one-line description>What goes in CLAUDE.md: commands, process instructions, file listings. What does NOT go in CLAUDE.md: architecture details (-> CODEBASE.md), code conventions (-> knowledge/), module descriptions (-> docs/).
Step 4: Write CODEBASE.md (Code Projects Only)
The entry point Claude reads first. Include:
- What the project does (2-3 sentences)
- Tech stack summary
- Module index — one line per module linking to its doc file
<!-- docs-synced-at: <commit-hash> -->marker on line 1
<!-- docs-synced-at: abc1234 -->
# <Project Name> — Codebase Overview
<What this project does. 2-3 sentences.>
## Tech Stack
<Language, framework, database, key libraries>
## Modules
| Module | Description | Docs |
|--------|-------------|------|
| `src/api/` | REST API routes and handlers | [docs/api.md](docs/api.md) |
| `src/web/` | Frontend application | [docs/web.md](docs/web.md) |Step 5: Write Module Docs (Code Projects Only)
One file per major module in docs/. Each file:
- What the module does (2-3 sentences)
- Key interfaces and type signatures (actual code, not prose)
- Links to source files
- Important design decisions and why
- Behavioral description (what happens when X is called)
These describe behavior and intent for an agent, not auto-generated API docs.
Use an Agent subagent per module (parallel) to scan source code and produce the doc.
Step 6: Write Knowledge Files
Create knowledge/<topic>.md for each relevant framework/language convention.
Only create files for technologies actually used — don't speculate.
For knowledge projects, also create any needed rules/*.md files.
Knowledge file design principles:
- YAML frontmatter on every file (tags, created, last_reviewed, type)
- Imperative phrasing ("Use X for Y" not "X is used for Y")
- Tables over prose for structured data
- 40-80 lines per file, no redundancy — each fact lives in ONE place
- Actionable: "what do I need to know to act", not complete documentation
For knowledge projects, also set up MEMORY.md:
- Under 200 lines always (silently truncated beyond)
- Structure: Active State table, Key Decisions, Next Up, File Map
- Concise index pointing to topic files — not a comprehensive document
- "Next Up" section is mandatory — next session reads this first
Step 7: Configure Hooks (If Needed)
Only add hooks when the project has specific needs:
| Need | Hook | Example |
| Security boundaries | PreToolUse guard | Block writes outside project dir |
| Session continuity | PreCompact state dump | Save critical context before compaction |
| Reminders | Stop hook | "Update docs before ending" |
Write hooks to scripts/ and register in .claude/settings.local.json.
Step 8: Verify
Run through the checklist:
| # | Item | Check |
| 1 | CLAUDE.md exists and is under 40 lines | |
| 2 | CLAUDE.md lists all doc and knowledge files | |
| 3 | CLAUDE.md has build/lint/test commands | |
| 4 | CODEBASE.md exists with module index (code projects) | |
| 5 | Each major module has a docs/ file (code projects) | |
| 6 | knowledge/ files exist for each framework used | |
| 7 | No placeholder/empty files | |
| 8 | CLAUDE.md disables Explore agent by default |
Present the completed checklist to the user.
Step 9: Initial Commit
Stage all .claude/ files. Commit message: feat: bootstrap .claude/ for agentic development
Do NOT push without user approval.
Rules
- Minimal CLAUDE.md is non-negotiable. 30-40 lines. Minimize noise, maximize signal — it gets very bad, very fast if you give information that you might not use.
- Never dump architecture into CLAUDE.md. That's what CODEBASE.md and docs/ are for.
- Docs describe behavior, not API surface. Write for an agent that needs to understand the codebase without reading every file.
- Only create files for things that exist. Don't create
knowledge/react.mdif the project doesn't use React. - Third-party projects get isolation. Add to CLAUDE.md:
Do NOT update ~/claude-assistant/knowledge/, MEMORY.md, or task backlog for this project. - Don't over-document. Start lean. Fill gaps over time as you learn what's actually needed.
- Adapt, don't template. Every project is different. The structure above is a guide, not a rigid template. A 3-file Python script doesn't need module docs.
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.

