Dreamers New Project

Bootstrap a brand new project from scratch: discovery questions, project brief, shell plans. Triggers: /dreamers-new-project, new…

mrStorrs updated 2mo ago
Claude CodeGeneric
View source ↗
---
description: 'Bootstrap a brand new project from scratch: discovery questions, project brief, shell plans. Triggers: /dreamers-new-project, new project, bootstrap a project, start a new project.'
---

Bootstrap a brand new project from scratch. Work through the phases in order. Do not skip ahead or write anything permanent until the user explicitly approves the brief.

Follow the Dreamers Kernel and output discipline from `~/.claude/CLAUDE.md`.

<project-bootstrap>
# Project Bootstrap

## Bootstrap checklist for new repos
1. Ensure `.dreamers/` is in the project's `.gitignore`
2. Create the project-level `CLAUDE.md` (see ownership below)
3. Create `.dreamers/plans/` directory
4. **Optional but recommended. (Ask user if they want this created or not):** create a `BUILD.md` (or similar) at the project root if the project has a defined build/distribution flow for test builds. The file is the authoritative playbook the orchestrator follows during user-testing pauses. It should specify:
   - Which commands (if any) the orchestrator is authorised to run itself
   - Which steps must be performed by the user (install on device, launch app, version/build number to verify, etc.)
   - Where the build artifact lives (link, path, store listing) and how to fetch it
   - How to recover from a failed build/distribution
   If this file is absent, the orchestrator will pause user-testing rounds and ask the user to build/distribute manually.

## Project CLAUDE.md ownership (split)

The project-level `CLAUDE.md` at the repo root is the shared briefing all agents read on startup.

**Command/orchestrator owns (initial creation + ongoing):**
- **Constraints** — anything agents must never do (e.g., no direct DB writes, no breaking public API)
- **Distribution** — short pointer to `BUILD.md` if it exists (the authoritative playbook), or a brief note that the orchestrator should ask the user to build/distribute when no playbook is present
- **Links** — plan directory, global workspace, related repos

**Echo owns (updated after each cycle):**
- **Tech stack** — languages, frameworks, major dependencies
- **Repo structure** — key directories and what lives where
- **Conventions** — naming, formatting, branching, commit style, test commands
- **Key files** — entry points, config files, CI/CD definitions

Do not touch Echo-owned sections during orchestration — those updates come from Echo after each cycle.
</project-bootstrap>


$ARGUMENTS

---

## Todo list

At skill entry, declare via `TaskCreate`:
- [ ] Phase 1 — discovery questions
- [ ] Phase 2 — tech stack recommendation + iteration
- [ ] Phase 3 — project brief + approval
- [ ] Phase 4 — repo & workspace bootstrap
- [ ] Phase 5 — shell plans
- [ ] Phase 6 — review loop

Mark each item `in_progress` when starting, `completed` when done. Never batch completions at the end.

---

## Phase 1 — Discovery

Read `~/.claude/dreamers/templates/discovery-questions.md` and use those questions to grill the user. Conversation only — write nothing to disk yet. Follow the grilling rules in that file. Do not proceed to Phase 2 until every question has a concrete answer.

---

## Phase 2 — Tech stack recommendation

Based on the discovery answers, recommend a stack optimised for scale, fast deployment, AI-assisted development, and operational simplicity. Present it as:

- **Frontend** (if applicable)
- **Backend / API**
- **Database**
- **Auth**
- **Hosting / infra**
- **CI/CD**
- **Testing strategy**
- **AI integration** (if applicable)

For each choice: one-line rationale + rejected alternatives and why.

Call `AskUserQuestion` with `["Stack approved — write the brief", "Adjust the stack", "Other"]`. On `Adjust` or `Other`, capture corrections, revise the recommendation, re-present. Loop until approved.

---

## Phase 3 — Project brief

Read `~/.claude/dreamers/templates/project-brief.md`. Fill it out using the discovery answers and agreed stack. Write it to `.dreamers/atlas/project-brief.md` (create the directory if it doesn't exist).

Present the brief to the user in chat, then call `AskUserQuestion` with `["Brief approved — bootstrap the repo", "Revise the brief", "Other"]`. On `Revise` or `Other`, capture changes, update the brief on disk, re-present. Do not proceed to Phase 4 until explicit approval.

---

## Phase 4 — Repo & workspace bootstrap

Follow `refs/project-bootstrap.md` for checklist.

**Check for existing repo:**

git rev-parse --is-inside-work-tree 2>/dev/null


If not already a repo:
1. Call `AskUserQuestion` with `["Public", "Private", "Other"]` to choose repo visibility.
2. Run the following commands inline (no subagent — this is mechanical setup the orchestrator does directly):
   - `git init`
   - `gh repo create [project-name] --[public|private] --source=. --remote=origin`
   - `git remote set-url origin git@github.com:[owner]/[project-name].git`
   - Create `.gitignore` with `.dreamers/` plus standard ignores for the agreed stack
   - Create `.dreamers/plans/` and `.dreamers/atlas/` directories

Then create the project-level `CLAUDE.md` per `project-bootstrap.md` ownership rules — this requires judgment and is done directly.
---

## Phase 5 — Shell plans

Read `~/.claude/dreamers/templates/shell-plan.md`. For each milestone in the approved brief, create a shell plan in `.dreamers/plans/feature-<slug>/` using plan naming + structure rules from `~/.claude/dreamers/templates/plan-writing-guide.md`.

After writing all plans, list them in chat with file paths and one-line summaries.

---

## Phase 6 — Review loop

Call `AskUserQuestion` with `["Shell plans look good — I'll take it from here", "Revise the milestones (split / merge / reorder / rescope)", "Other"]`.

- `Look good` → exit this skill; tell the user to invoke `/dreamers-plan` on a specific milestone (or `/dreamers-full` to plan + implement in one session).
- `Revise` or `Other` → capture changes, update affected plan files, re-list all plans, re-call the gate. Repeat until the user si

Maintain Dreamers New Project?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Dreamers New Project on getagentictools](https://getagentictools.com/loops/mrstorrs-project-bootstrap?ref=badge)
npx agentictools info loops/mrstorrs-project-bootstrap

The second line is the CLI lookup for this page — handy in READMEs and docs.