agentleFS
StephenTownsend1234StephenTownsend1234/vibeflow/bootstrap/SKILL.md

bootstrap

Skill0 starsChanged 3 months agoMITView on GitHub

Sets up project scaffolding and context state files once per project. Scans existing repos or starts conversation-first for fresh projects. Captures project vision, maps product build plan via /roadmap, scaffolds the `.claude/` state files, and installs the SessionStart orientation hook. Use when a project has no vibeflow state yet and the user asks to set it up — or asks in plain terms for help building, finishing, or continuing a project. Offer setup in one line before diving into code. Also handles migrating older vibeflow file shapes.

46 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tasks, plan 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.
  • genomewalkerSkill

    tasks

    Browse and resume tasks, threads, and background jobs across sessions

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 5 projects that use this

  • Microsoft AzureSkill

    design

    Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 7 projects that use this

  • ElasticSkill

    create-skill

    Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    reflect

    Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases. Complements .squad/agents/{agent}/history.md and .squad/decisions.md.

    Also in 3 projects that use this

  • +1 more from Azure

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read ~/.claude/skills/vibeflow/CORE.md (or CORE.md at the vibeflow pack root, wherever it's installed) first.

    line 8
  2. Very specific:

    Leave blanks as <TBD> — never fabricate.

    line 43
  3. Very specific:

    Write the vibeflow scaffold directly from the templates in ../templates/ — creation isn't overwriting, and editing a written file is as …

    line 49
  4. Distinctive:

    No git repo (git rev-parse --is-inside-work-tree fails)?

    line 51

“Common” is measured: kept by at least 6 in 10 of the 41 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/bootstrap

Read ~/.claude/skills/vibeflow/CORE.md (or CORE.md at the vibeflow pack root, wherever it's installed) first.

Mode stance: Architect. Scan deeply on architecture, ask openly on product, help set up a strong product foundation.

Gather context. Ask product questions one at a time, conversationally. Code reveals stack, folder patterns, services, schemas. It cannot reveal vision or target user. Spend scan effort on architecture; spend conversation on product.

Be a guide, not a technician: say plainly what you're doing and why it helps; keep internal vibeflow jargon out of the user's view.

1 — Detect the scenario

  • Existing project (real source + manifests): full flow below.
  • Greenfield (empty / README only): skip the scan; go conversation-first from step 3. Don't propose a stack — that's a researched decision in the first /start.
  • Existing .claude/: vibeflow files already there? Route by shape: a pre-v2 monolith (one accreted ARCHITECTURE mixing state + history + decisions) → references/migrate-v1.md, then finish with references/migrate-v2-to-v3.md; the v2 shape (date-ordered append-only DECISIONS, single-tier ROADMAP, a PLAYBOOK.md) → references/migrate-v2-to-v3.md directly. Already in the v3 shape → ask in one line: merge/refresh or cancel — never re-scaffold over live state. Only harness files → treat as fresh; they coexist fine.
  • Related work nearby (a sibling project, an old plan doc)? Ask before reading it in — a new project is a clean slate unless the user says otherwise.

On first-ever vibeflow use (no ~/.claude/vibeflow/playbook.md): create it from ../templates/global-profile.md. Don't interview for working style — the Working preferences block fills itself from observed corrections at /wrap.

Open with a short, warm intro of what setup does and the loop (/start → build → /wrap, /roadmap anytime) in your own words — no script.

2 — Scan (existing projects)

Scan deeply for architecture: manifests, configs, schema/migrations, the folder tree, and one exemplar file per convention — skip tests and build outputs. Be thorough, this is a one-time investment. If a real architecture doc already exists, use it as the base and layer scan findings on top (a mixed current-state+history blob gets split per the migration reference, not ingested whole).

Share findings in the shape the doc will take — Map first (stack / external services / where things live / key patterns), then detail (data model, routes, gotchas, open questions) — and iterate until the user says it's right.

3 — Capture the vision

The part only the user can give. One at a time, following up when an answer is thin:

  1. "In your own words, what is this project — and the bigger vision behind it?"
  2. "Who is the user? What are their objectives?"
  3. "What phase are you in — discovery, build, launch, iterate, maintain?" (Greenfield: "and how will it run — web, mobile, CLI…?")
  4. "What does success look like — the north star?"
  5. "Anything else I should know about? Preferred tools, working styles, etc? " (Record as facts.)

Leave blanks as <TBD> — never fabricate. Afterwards, seed one Working-preferences bullet in the global profile from what this conversation revealed about their technical level and style.

Then always run /roadmap (read ../roadmap/SKILL.md, "called from bootstrap" mode): the vision says where; the roadmap makes the path. Fold its Goal + Now/Next/Later back into your draft.

4 — Write the scaffold

Write the vibeflow scaffold directly from the templates in ../templates/ — creation isn't overwriting, and editing a written file is as cheap as editing a draft (the confirm-before-write reflex protects existing state only):

  • No git repo (git rev-parse --is-inside-work-tree fails)? Offer plainly — "I'll turn on change-tracking so progress gets saved between sessions; one command, all local" — and run git init + an initial commit on yes.
  • PROJECT.md, ARCHITECTURE.md (Map on top; greenfield gets a stub — the first /start seeds it), ROADMAP.md (two-tier), DECISIONS.md (area registry, from Q5), sprints/archive/.
  • Install the hooks: copy ~/.claude/skills/vibeflow/hooks/session-start.sh and session-snapshot.sh to .claude/hooks/ (executable) and merge this exact block into .claude/settings.json (merge keys — don't replace an existing hooks object):
    {"hooks": {
      "SessionStart": [{"hooks": [{"type": "command", "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.sh"}]}],
      "SessionEnd":   [{"hooks": [{"type": "command", "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-snapshot.sh"}]}],
      "PreCompact":   [{"hooks": [{"type": "command", "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/session-snapshot.sh"}]}]
    }}
    Orientation on every start; a deterministic breadcrumb whenever a session ends or compacts without wrapping.
  • Runnable app? Offer to run the harness's /run-skill-generator once — it records the launch recipe as a per-project skill that /run and /verify follow, which is what makes /build's machine checkpoints able to verify against the real app. Note the one-liner in the Map's Run & verify line.

Then offer lightly: "I've written the project files — want a tour, or shall we keep moving?" Walk through and revise on a tour; don't force a doc review on a beginner.

Close by keeping the momentum: "Foundation set and roadmap mapped — want to plan your first piece of work right now?" On yes, read ../start/SKILL.md and continue in-session.

Edge cases

Monorepo: ask which app the .claude/ scopes to. Thin project: shrink the scan, lean on the vision Q&A. User bails mid-flow: offer to save drafts to .claude/drafts/.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.