Repo bootstrap
Skill vintagedon/claude-skills-cookbook/skills/repo-bootstrap
Tested recipes for Claude skills and hooks — methodology documentation, failure modes, and honest assessments. Not another awesome-list.
npx -y skills add vintagedon/claude-skills-cookbook --skill repo-bootstrapAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Bootstrap a new repository structure after onboarding conversation. Use when user says "scaffold the repo", "create the directory structure", "let's scaffold", "hydrate the repo", "write the READMEs", or "flesh out the templates". Two phases — scaffold (create directories + placeholders) and hydrate (write content).
SKILL.md
4.5 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it
Repository Bootstrap
Two-phase skill for bootstrapping new repositories after an onboarding conversation has established project context.
Phases
| Phase | Trigger | Actions |
|---|---|---|
| Scaffold | "scaffold the repo", "create structure" | Create directories, place README-pending.md placeholders |
| Hydrate | "hydrate", "write the READMEs", "flesh out" | Write README, interior READMEs, memory-bank files |
Phase 1: Scaffold
Prerequisites: Onboarding conversation complete. You understand the project's purpose, structure, and scope.
Actions:
-
Confirm the repo path (should be
D:\development-repositories\{project}\repo\{repo-name}\) -
Propose directory structure based on onboarding discussion — present as tree for approval
-
On approval, create directories using FS MCP tools
-
Place
README-pending.md(empty file) in every directory that needs a README -
Report what was created
Directory creation pattern:
For each directory:
1. Create directory
2. Create empty README-pending.md inside it
Do not create:
- Files that already exist
- Directories that already exist (check first)
- Content in
.kilocode/(template handles this)
Phase 2: Hydrate
Prerequisites:
- Scaffold phase complete
- Templates copied to
docs/templates/(user does this manually) - Same conversation or sufficient context about the project
Actions:
-
Read templates from
docs/templates/:template-interior-readme.md— for directory READMEstemplate-general-kb.md— for methodology docs, guides, etc.
-
Write primary
README.mdat repo root:- Follow user's established style (badges, structure, methodology sections)
- Include: What Is This, Quick Navigation, Repository Structure, Directory Overview
- Add TODO comments for assets/infographics if applicable
-
Write interior READMEs (replace each
README-pending.md):- Follow
template-interior-readme.mdpattern - Link to parent README
- Link to all child directory READMEs
- List and describe all files in directory
- Remove the Guidelines section (that's template-only)
- Follow
-
Populate memory-bank files in
.kilocode/rules/memory-bank/:brief.md— 2-3 paragraphs: what, why, whoarchitecture.md— Structure, components, design principlesproduct.md— Problems solved, how it works, goals- Leave
context.md,tasks.md,tech.mdas templates unless project-specific content exists
-
Delete all
README-pending.mdand*-pending.mdplaceholder files -
Report what was written
Memory Bank Structure
The memory-bank serves AI agents loading context at session start:
| File | Purpose | When to Populate |
|---|---|---|
brief.md | What/why/who in 2-3 paragraphs | Always |
architecture.md | Structure, components, patterns | Always |
product.md | Problems, approach, goals | Always |
context.md | Current state, recent decisions | When relevant |
tasks.md | Active work items | When relevant |
tech.md | Stack, dependencies, constraints | When relevant |
Interior README Pattern
Every directory README must:
- Title & Overview — What this directory is
- Contents — Tables listing files and subdirectories
- Structure — ASCII tree of directory layout
- Related — Links to parent and sibling READMEs
- Getting Started — Entry points (optional)
- Document Information — Maintainer, dates
Linking rules:
- Always link to
README.md, never bare directories - Every subdirectory must have its README linked
- Parent directory always linked in Related section
Quality Checks
Before completing each phase:
Scaffold:
- All proposed directories created
-
README-pending.mdin every directory - No duplicate or conflicting structures
Hydrate:
- Primary README complete with all sections
- All interior READMEs written
- All
*-pending.mdfiles removed - Memory-bank core files populated (brief, architecture, product)
- All links valid (parent/child/sibling)
References
See references/workflow.md for the complete user workflow this skill supports.
What ships with it: 2 files
16.1 KB alongside SKILL.md
references/
- workflow.md4.4 KB
- README.md11.7 KB