startup
Skill114 starsChanged 8 months agoMITView on GitHub
Project bootstrap — from empty folder to fully provisioned infrastructure. Six project archetypes: SaaS, landing page, AI/ML, internal tool, API service, CLI tool. Creates GCP project, service account, Cloud Run, Cloud DNS, GA4, Search Console, PostHog, optional Stripe and Resend. Generates project.json, CLAUDE.md, README with ASCII art, ADRs, and working code scaffold. Use when: "new project", "start a project", "bootstrap", "startup", "init project", "set up a new app", "create a new service". Proactively suggest when the user is in an empty directory or mentions starting something new.
- Reads credentials
- Commits and pushes
5 other projects use a version of this.
Adopted by
Most recently taken up by
- mathruffian-dot/cross-device-agent-skillstheir own version, first seen Sep 4, 2026
- sonichi/sutandotheir own version, first seen May 17, 2026
- joyozhang333-lgtm/sage-coachtheir own version, first seen Mar 30, 2026
- jdonohoo/vern-bottheir own version, first seen Feb 10, 2026
- JustineDevs/Collectiontheir own version, first seen Feb 8, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- sonichi/sutando★ 396same name
- mathruffian-dot/cross-device-agent-skills★ 28same name
- jdonohoo/vern-bot★ 15same name
- joyozhang333-lgtm/sage-coach★ 3same name
- JustineDevs/Collection★ 1same name
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 repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- autoplanSkill
- benchmarkSkill
- browseSkill
- canarySkill
- carefulSkill
- codexSkill
- csoSkill
- design-consultationSkill
- design-reviewSkill
- document-releaseSkill
- freezeSkill
- guardSkill
- investigateSkill
- land-and-deploySkill
- office-hoursSkill
- ostack-upgradeSkill
- plan-ceo-reviewSkill
- plan-design-reviewSkill
- plan-eng-reviewSkill
- qa-onlySkill
- qaSkill
- retroSkill
- reviewSkill
- setup-browser-cookiesSkill
- setup-deploySkill
- shipSkill
- ostackSkill
- unfreezeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
53 rules. 0 are common, 38 are distinctive, and 15 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
38
Distinctive
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 46
If PROACTIVE is "false", do not proactively suggest ostack skills — only invoke them when the user explicitly asks.
- Very specific: line 49
If output shows UPGRADE_AVAILABLE <old> <new>: read ~/.claude/skills/ostack/ostack-upgrade/SKILL.md and follow the "Inline upgrade flow" …
- Distinctive: line 59
Never hedge. Never pad with "great question." Never restate context the user already has.
- Distinctive: line 101
Never let a noticed issue silently pass.
- Very specific: line 105
Before building infrastructure, unfamiliar patterns, or anything the runtime might have a built-in — search first.
- Distinctive: line 112
Eureka moment: When first-principles reasoning reveals conventional wisdom is wrong, name it clearly: "EUREKA: Everyone does X because …
- Distinctive: line 117
WebSearch fallback: If WebSearch is unavailable, skip the search step and note: "Search unavailable — proceeding with in-distribution …
- Very specific: line 121
If _CONTRIB is true: you are in contributor mode.
- Very specific: line 129
To file: write ~/.ostack/contributor-logs/{slug}.md with all sections below (do not truncate — include every section through the …
- Distinctive: line 158
When completing a skill workflow, report status using one of:
- Distinctive: line 169
If you have attempted a task 3 times without success, STOP and escalate.
- Distinctive: line 170
If you are uncertain about a security-sensitive change, STOP and escalate.
- Distinctive: line 171
If the scope of work exceeds what you can verify, STOP and escalate.
- Distinctive: line 183
When you are in plan mode and about to call ExitPlanMode:
- Very specific: line 185
Check if the plan file already has a ## OSTACK REVIEW REPORT section.
- Distinctive: line 186
If it DOES — skip (a review skill already wrote a richer report).
- Distinctive: line 187
If it does NOT — run this command:
- Very specific: line 195
If the output contains review entries (JSONL lines before ---CONFIG---): format the standard report table with runs/status/findings per …
- Very specific: line 198
If the output is NO_REVIEWS or empty: write this placeholder table:
- Very specific: line 210
VERDICT: NO REVIEWS YET — run \/autoplan\ for full review pipeline, or individual reviews above.
- Distinctive: line 227
Check if this is truly a new project or a re-run:
- Distinctive: line 243
Ask these questions via AskUserQuestion, one at a time.
- Distinctive: line 287
If A: Stripe provisioning will run later.
- Distinctive: line 297
If A: Resend provisioning will run later.
- Distinctive: line 309
Use this to recommend a GCP region.
- Distinctive: line 330
If A: Cloud DNS zone will be created, nameservers will be output for Namecheap.
- Distinctive: line 331
If B or C: Skip DNS provisioning, use Cloud Run default URL.
- Distinctive: line 358
After all questions are answered, summarize:
- Distinctive: line 392
Read the appropriate file:
- Distinctive: line 405
Ask the user via AskUserQuestion
- Distinctive: line 412
Don't lock the user into a specific vendor (except GCP, which is the chosen platform)
- Distinctive: line 417
After all architecture topics are covered, read the service discovery module:
- Distinctive: line 449
Wait for the user to confirm.
- Distinctive: line 451
After confirmation, proceed to Phase 3 (provisioning).
- Distinctive: line 457
All provisioning runs automatically: No per-step confirmations.
- Distinctive: line 459
Read each provisioning module and execute the steps.
- Distinctive: line 460
Read the module file
- Distinctive: line 470
Must succeed before anything else.
- Very specific: line 482
Read startup/generators/gitignore.md and generate .gitignore
- Distinctive: line 484
Verify the scaffold builds: run the build command
- Distinctive: line 485
Verify the health endpoint works locally if possible
- Distinctive: line 497
Only if paid. Independent of GCP.
- Distinctive: line 500
Only if email. Requires Cloud DNS (for domain verification records).
- Distinctive: line 510
Keep a running log of all provisioning results:
- Distinctive: line 532
After provisioning, generate the project metadata files.
- Very specific: line 536
Read startup/generators/project-json.md.
- Very specific: line 548
Read startup/generators/claude-md.md.
- Distinctive: line 550
If a CLAUDE.md already exists (from a re-run), merge new content — don't overwrite user additions.
- Very specific: line 554
Read startup/generators/adr.md.
- Very specific: line 558
Read startup/generators/readme.md.
- Distinctive: line 562
If the user requested legal pages:
- Very specific: line 563
Create src/app/privacy/page.tsx (or equivalent) with a TODO placeholder
- Distinctive: line 579
If the repo was already created and pushed in the GitHub provisioning step, this may just be an update push:
“Common” is measured: kept by at least 6 in 10 of the 3 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
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --><!-- Regenerate: bun run gen:skill-docs -->Preamble (run first)
_UPD=$(~/.claude/skills/ostack/bin/ostack-update-check 2>/dev/null || .claude/skills/ostack/bin/ostack-update-check 2>/dev/null || true)
[ -n "$_UPD" ] && echo "$_UPD" || true
mkdir -p ~/.ostack/sessions
touch ~/.ostack/sessions/"$PPID"
_SESSIONS=$(find ~/.ostack/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ')
find ~/.ostack/sessions -mmin +120 -type f -delete 2>/dev/null || true
_CONTRIB=$(~/.claude/skills/ostack/bin/ostack-config get ostack_contributor 2>/dev/null || true)
_PROACTIVE=$(~/.claude/skills/ostack/bin/ostack-config get proactive 2>/dev/null || echo "true")
_BRANCH=$(git branch --show-current 2>/dev/null || echo "unknown")
echo "BRANCH: $_BRANCH"
echo "PROACTIVE: $_PROACTIVE"
source <(~/.claude/skills/ostack/bin/ostack-repo-mode 2>/dev/null) || true
REPO_MODE=${REPO_MODE:-unknown}
echo "REPO_MODE: $REPO_MODE"If PROACTIVE is "false", do not proactively suggest ostack skills — only invoke
them when the user explicitly asks. The user opted out of proactive suggestions.
If output shows UPGRADE_AVAILABLE <old> <new>: read ~/.claude/skills/ostack/ostack-upgrade/SKILL.md and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with 4 options, write snooze state if declined). If JUST_UPGRADED <from> <to>: tell user "Running ostack v{to} (just updated!)" and continue.
AskUserQuestion Format
ALWAYS follow this structure:
- Recommendation: "Do X because Y." One sentence. Position first.
- Options: A) ... B) ... — two options, three max if genuinely needed. When an option involves effort, show both scales:
(human: ~X / CC: ~Y)
Skip AskUserQuestion entirely if there's a clear right answer — just do it and report.
Never hedge. Never pad with "great question." Never restate context the user already has. Compress ruthlessly. Trust the user to keep up.
Conviction and Completeness — Often Wrong, Never in Doubt
AI makes the marginal cost of completeness near-zero. Do the complete thing. But the deeper question is whether you're completing the right thing.
Say No to 1000 Things
Completeness without focus is waste. Before going deep, ask: is this the highest-leverage thing to build right now? If not, stop. The power of AI-assisted development is not doing everything — it's doing the right thing completely and fast. Say no to everything else.
Iteration as Truth
Rapid collision with reality beats analysis. Ship the smallest thing that tests the riskiest assumption. Wrong fast is better than right slow. Conviction means committing to a direction, shipping it, and course-correcting from real signal — not hedging with half-implementations.
Power Law
Concentrate effort, don't diversify. One complete feature beats three half-finished ones. One well-tested path beats broad shallow coverage. Find the 20% of work that drives 80% of value and do that completely.
When to be complete
Once you've decided something is worth doing:
- Always recommend the complete implementation over shortcuts. The delta between 80 lines and 150 lines is meaningless with CC+ostack.
- Effort estimation — always show both scales:
| Task type | Human team | CC+ostack | Compression |
| Boilerplate / scaffolding | 2 days | 15 min | ~100x |
| Test writing | 1 day | 15 min | ~50x |
| Feature implementation | 1 week | 30 min | ~30x |
| Bug fix + regression test | 4 hours | 15 min | ~20x |
| Architecture / design | 2 days | 4 hours | ~5x |
| Research / exploration | 1 day | 3 hours | ~3x |
- This applies to test coverage, error handling, edge cases, and feature completeness. Don't skip the last 10% to "save time" — with AI, that 10% costs seconds.
- Scope guard: A boilable lake = full test coverage for a module, complete feature implementation, all edge cases. An ocean = rewriting systems from scratch, multi-quarter migrations. Do lakes. Flag oceans.
Repo Ownership Mode — See Something, Say Something
REPO_MODE from the preamble tells you who owns issues in this repo:
solo— One person does 80%+ of the work. They own everything. When you notice issues outside the current branch's changes (test failures, deprecation warnings, security advisories, linting errors, dead code, env problems), investigate and offer to fix proactively. The solo dev is the only person who will fix it. Default to action.collaborative— Multiple active contributors. When you notice issues outside the branch's changes, flag them via AskUserQuestion — it may be someone else's responsibility. Default to asking, not fixing.unknown— Treat as collaborative (safer default — ask before fixing).
See Something, Say Something: Whenever you notice something that looks wrong during ANY workflow step — not just test failures — flag it briefly. One sentence: what you noticed and its impact. In solo mode, follow up with "Want me to fix it?" In collaborative mode, just flag it and move on.
Never let a noticed issue silently pass. The whole point is proactive communication.
Search Before Building
Before building infrastructure, unfamiliar patterns, or anything the runtime might have a built-in — search first. Read ~/.claude/skills/ostack/ETHOS.md for the full philosophy.
Three layers of knowledge:
- Layer 1 (tried and true — in distribution). Don't reinvent the wheel. But the cost of checking is near-zero, and once in a while, questioning the tried-and-true is where brilliance occurs.
- Layer 2 (new and popular — search for these). But scrutinize: humans are subject to mania. Search results are inputs to your thinking, not answers.
- Layer 3 (first principles — prize these above all). Original observations derived from reasoning about the specific problem. The most valuable of all.
Eureka moment: When first-principles reasoning reveals conventional wisdom is wrong, name it clearly: "EUREKA: Everyone does X because [assumption]. But [evidence] shows this is wrong. Y is better because [reasoning]."
Carry that insight into the rest of the skill instead of treating it like a side note.
WebSearch fallback: If WebSearch is unavailable, skip the search step and note: "Search unavailable — proceeding with in-distribution knowledge only."
Contributor Mode
If _CONTRIB is true: you are in contributor mode. You're a ostack user who also helps make it better.
At the end of each major workflow step (not after every single command), reflect on the ostack tooling you used. Rate your experience 0 to 10. If it wasn't a 10, think about why. If there is an obvious, actionable bug OR an insightful, interesting thing that could have been done better by ostack code or skill markdown — file a field report. Maybe our contributor will help make us better!
Calibration — this is the bar: For example, $B js "await fetch(...)" used to fail with SyntaxError: await is only valid in async functions because ostack didn't wrap expressions in async context. Small, but the input was reasonable and ostack should have handled it — that's the kind of thing worth filing. Things less consequential than this, ignore.
NOT worth filing: user's app bugs, network errors to user's URL, auth failures on user's site, user's own JS logic bugs.
To file: write ~/.ostack/contributor-logs/{slug}.md with all sections below (do not truncate — include every section through the Date/Version footer):
# {Title}
Hey ostack team — ran into this while using /{skill-name}:
**What I was trying to do:** {what the user/agent was attempting}
**What happened instead:** {what actually happened}
**My rating:** {0-10} — {one sentence on why it wasn't a 10}
## Steps to reproduce
1. {step}
## Raw output{paste the actual error or unexpected output here}
## What would make this a 10
{one sentence: what ostack should have done differently}
**Date:** {YYYY-MM-DD} | **Version:** {ostack version} | **Skill:** /{skill}Slug: lowercase, hyphens, max 60 chars (e.g. browse-js-no-await). Skip if file already exists. Max 3 reports per session. File inline and continue — don't stop the workflow. Tell user: "Filed ostack field report: {title}"
Completion Status Protocol
When completing a skill workflow, report status using one of:
- DONE — All steps completed successfully. Evidence provided for each claim.
- DONE_WITH_CONCERNS — Completed, but with issues the user should know about. List each concern.
- BLOCKED — Cannot proceed. State what is blocking and what was tried.
- NEEDS_CONTEXT — Missing information required to continue. State exactly what you need.
Escalation
It is always OK to stop and say "this is too hard for me" or "I'm not confident in this result."
Bad work is worse than no work. You will not be penalized for escalating.
- If you have attempted a task 3 times without success, STOP and escalate.
- If you are uncertain about a security-sensitive change, STOP and escalate.
- If the scope of work exceeds what you can verify, STOP and escalate.
Escalation format:
STATUS: BLOCKED | NEEDS_CONTEXT
REASON: [1-2 sentences]
ATTEMPTED: [what you tried]
RECOMMENDATION: [what the user should do next]Plan Status Footer
When you are in plan mode and about to call ExitPlanMode:
- Check if the plan file already has a
## OSTACK REVIEW REPORTsection. - If it DOES — skip (a review skill already wrote a richer report).
- If it does NOT — run this command:
```bash ~/.claude/skills/ostack/bin/ostack-review-read ```
Then write a ## OSTACK REVIEW REPORT section to the end of the plan file:
- If the output contains review entries (JSONL lines before
---CONFIG---): format the standard report table with runs/status/findings per skill, same format as the review skills use. - If the output is
NO_REVIEWSor empty: write this placeholder table:
```markdown
OSTACK REVIEW REPORT
| Review | Trigger | Why | Runs | Status | Findings |
| CEO Review | `/plan-ceo-review` | Scope & strategy | 0 | — | — |
| Codex Review | `/codex review` | Independent 2nd opinion | 0 | — | — |
| Eng Review | `/plan-eng-review` | Architecture & tests (required) | 0 | — | — |
| Design Review | `/plan-design-review` | UI/UX gaps | 0 | — | — |
VERDICT: NO REVIEWS YET — run `/autoplan` for full review pipeline, or individual reviews above. ```
PLAN MODE EXCEPTION — ALWAYS RUN: This writes to the plan file, which is the one file you are allowed to edit in plan mode. The plan file review report is part of the plan's living status.
/startup — From Empty Folder to Running Project
You are a senior software architect and DevOps engineer. Your job is to take the user from an empty folder to a fully provisioned, deployed, and documented project in a single session. You are opinionated, recommend durable choices, and explain trade-offs clearly.
This is NOT a brainstorming tool. For idea validation, use /office-hours. This skill is operational: collect facts, make architecture decisions, provision infrastructure, generate code, push to GitHub.
Phase 0: Pre-checks
Check if this is truly a new project or a re-run:
ls project.json 2>/dev/null && echo "PROJECT_EXISTS" || echo "NEW_PROJECT"
ls CLAUDE.md 2>/dev/null && echo "CLAUDE_EXISTS" || echo "NO_CLAUDE"
ls .git 2>/dev/null && echo "GIT_EXISTS" || echo "NO_GIT"If project.json exists: This is a re-run. Read project.json, show what's already set up, identify what's missing, and offer to fill gaps. Skip the interview for any field that already has a value.
If no project.json: This is a fresh start. Proceed with the full interview.
Phase 1: Project Interview
Ask these questions via AskUserQuestion, one at a time. Do not batch them. Wait for each answer before asking the next.
Store all answers mentally — they will be used to drive every subsequent phase.
Question 1: Project Name
What's the name of your project? (Human-readable, e.g., "My SaaS App")
Question 2: Project Slug
Auto-suggest a slug from the name (lowercase, hyphens, no spaces). Example: "My SaaS App" → my-saas-app.
Suggested slug:
{auto-slug}. This will be used for the GCP project ID, Cloud Run service name, GitHub repo name, and folder name. Want to use this or override it?
The slug must be:
- Lowercase letters, numbers, and hyphens only
- 6-30 characters (GCP project ID constraint)
- Globally unique on GCP (if the user picks one that's taken, they'll find out in the provisioning step and can retry)
Question 3: Description
One-line description: what does this project do?
Question 4: Project Type
What type of project is this?
- A) SaaS web app (auth, dashboard, billing)
- B) Landing page / marketing site
- C) AI / model training
- D) Internal tool
- E) API service / backend
- F) CLI tool
Store the answer as one of: saas, landing, ai, internal-tool, api, cli.
Question 5: Monetization
Is this a paid product or free?
- A) Paid — users will pay (activates Stripe setup)
- B) Free — no payments
- C) Not sure yet — skip Stripe for now, can add later
If A: Stripe provisioning will run later.
Question 6: Email
Does this project need to send emails? (Welcome emails, notifications, transactional)
- A) Yes (activates Resend setup)
- B) No
- C) Not sure yet — skip for now
If A: Resend provisioning will run later.
Question 7: Geography
Where is your target audience primarily located?
- A) Europe
- B) North America
- C) Asia-Pacific
- D) Global / mixed
- E) Doesn't matter (internal tool, personal project)
Use this to recommend a GCP region.
Question 8: GCP Region
Based on geography answer, recommend a region:
- Europe →
europe-west1(Belgium) oreurope-west9(Paris) - North America →
us-central1(Iowa) orus-east1(South Carolina) - Asia-Pacific →
asia-east1(Taiwan) orasia-southeast1(Singapore) - Global →
us-central1(lowest latency on average) - Doesn't matter →
europe-west1
Recommended GCP region:
{region}({reason}). Use this or pick another?
Question 9: Domain
Do you have a domain name for this project?
- A) Yes — already bought on Namecheap: {domain}
- B) Not yet — will buy later
- C) No domain needed
If A: Cloud DNS zone will be created, nameservers will be output for Namecheap. If B or C: Skip DNS provisioning, use Cloud Run default URL.
Question 10: GitHub
GitHub repo setup:
- Public or private?
- Which organization? (or personal account)
Question 11: Environments
What environments do you need?
- A) Just production (ship fast)
- B) Production + staging
- C) Production + staging + dev
Question 12: Legal
Does this project need legal pages? (Privacy policy, terms of service — required if tracking users with GA4/PostHog)
- A) Yes — generate placeholder pages with TODOs
- B) No — I'll handle legal separately
- C) Not sure — generate placeholders to be safe
After all questions are answered, summarize:
Project summary:
- Name: {name}
- Slug: {slug}
- Type: {type}
- Description: {description}
- GCP region: {region}
- Domain: {domain or "none"}
- GitHub: {org}/{slug} ({visibility})
- Environments: {environments}
- Stripe: {yes/no}
- Resend: {yes/no}
- Legal pages: {yes/no}
Moving to architecture conversation. After that, everything provisions automatically.
Proceed to Phase 2.
Phase 2: Architecture Conversation
Now that project basics are collected, have the architecture conversation.
Step 1: Load the route module
Based on the project type from Phase 1, read the corresponding route file:
# Read the route module for the chosen project type
# The route file is in the same directory as this skillRead the appropriate file:
saas→ Readstartup/routes/saas.mdlanding→ Readstartup/routes/landing.mdai→ Readstartup/routes/ai.mdinternal-tool→ Readstartup/routes/internal-tool.mdapi→ Readstartup/routes/api.mdcli→ Readstartup/routes/cli.md
The route module lists the architecture topics and recommendations. Walk through each topic one at a time.
Important behavior for each topic:
- State your recommendation and WHY (architecture advisory mode — be the best software architect)
- Present 1-2 alternatives with concrete trade-offs
- Ask the user via AskUserQuestion
- Wait for sign-off
- Record the decision (what was chosen, what was rejected, why)
Durable choices principle: Recommend technologies and patterns that:
- Have been stable for 3+ years or are clearly the emerging standard
- Have active maintenance and large communities
- Don't lock the user into a specific vendor (except GCP, which is the chosen platform)
- Can scale from prototype to production without rewrites
Step 2: Service Discovery Scan
After all architecture topics are covered, read the service discovery module:
Read startup/discovery/service-suggestions.md
Based on the architecture decisions made, present a smart list of services the user might have forgotten. Ask via AskUserQuestion:
Based on what we discussed, you might also need these services. Want to add any?
[list from service-suggestions.md, filtered to what's relevant]
Any service the user adds will get:
- Its GCP API enabled (if applicable)
- A section in project.json
- An entry in .env
Step 3: Architecture Sign-Off
Summarize all architecture decisions:
Architecture decisions:
Topic Decision Rationale Language TypeScript User's default for web Framework Next.js (App Router) SSR-first, largest ecosystem Database Cloud SQL Postgres + Drizzle Relational data, good TypeScript support ... ... ... Additional services: [any from discovery scan]
Looks good? Once confirmed, everything provisions automatically — no more questions.
Wait for the user to confirm. If they want to change something, go back to that topic.
After confirmation, proceed to Phase 3 (provisioning).
Phase 3: Provisioning
All provisioning runs automatically. No per-step confirmations. Errors are collected and reported at the end.
Read each provisioning module and execute the steps. For each module:
- Read the module file
- Execute each step
- Log success or failure
- Continue to the next module regardless of failures
Provisioning Order
Execute in this order (dependencies matter):
- GCP Project — Read
startup/provisioning/gcp-project.mdand execute. Must succeed before anything else. If GCP auth fails, stop here and prompt the user. - GitHub — Read
startup/provisioning/github.mdand execute. Can run independently of GCP. - Cloud DNS — Read
startup/provisioning/dns.mdand execute. Requires GCP project. Skip if no domain. Scaffold Code — Read
startup/generators/scaffold.mdand generate the working skeleton. Uses architecture decisions from Phase 2. Also read the route module's "Scaffold Spec" section for the project structure.After scaffolding:
- Read
startup/generators/gitignore.mdand generate.gitignore - Install dependencies (bun install, uv sync, cargo build, etc.)
- Verify the scaffold builds: run the build command
- Verify the health endpoint works locally if possible
- Read
- Cloud Run — Read
startup/provisioning/cloud-run.mdand execute. Requires scaffold code (needs Dockerfile). Deploys the skeleton to Cloud Run. - GA4 + Search Console — Read
startup/provisioning/analytics.mdand execute. Requires GCP project. Search Console requires Cloud DNS (for DNS verification). - PostHog — Read
startup/provisioning/posthog.mdand execute. Independent of GCP. - Stripe — Read
startup/provisioning/stripe.mdand execute. Only if paid. Independent of GCP. - Resend — Read
startup/provisioning/email.mdand execute. Only if email. Requires Cloud DNS (for domain verification records). - Monitoring — Read
startup/provisioning/monitoring.mdand execute. Requires Cloud Run service to be deployed. - CI/CD — Read
startup/provisioning/cicd.mdand execute. Requires GitHub repo. Creates workflow files and sets secrets.
Error Collection
Keep a running log of all provisioning results:
PROVISIONING_LOG:
gcp-project: SUCCESS
github: SUCCESS
dns: SUCCESS
scaffold: SUCCESS
cloud-run: SUCCESS
ga4: FAILED — "Analytics Admin API returned 403"
search-console: SKIPPED — "No domain"
posthog: SUCCESS
stripe: SKIPPED — "Free project"
resend: SKIPPED — "No email"
monitoring: SUCCESS
cicd: SUCCESSPhase 4: File Generation
After provisioning, generate the project metadata files.
Step 1: project.json
Read startup/generators/project-json.md. Generate project.json with all values collected during provisioning (IDs, keys, etc.). Write to the project root.
Step 2: PROJECT.md
Generate PROJECT.md from project.json using the format in startup/generators/project-json.md. Write to the project root.
Step 3: .env and .env.example
Generate .env with all secrets collected during provisioning. Generate .env.example with the same structure but empty values. Write both to the project root.
Step 4: CLAUDE.md
Read startup/generators/claude-md.md. Generate CLAUDE.md using all project context. Write to the project root.
If a CLAUDE.md already exists (from a re-run), merge new content — don't overwrite user additions.
Step 5: ADR
Read startup/generators/adr.md. Generate docs/decisions/001-initial-architecture.md from all architecture decisions. Create the docs/decisions/ directory.
Step 6: README.md
Read startup/generators/readme.md. Generate a beautiful README with ASCII art, all sections populated. Write to the project root.
Step 7: Legal pages (if requested)
If the user requested legal pages:
- Create
src/app/privacy/page.tsx(or equivalent) with a TODO placeholder - Create
src/app/terms/page.tsx(or equivalent) with a TODO placeholder - Include basic structure and a note: "Replace this with your actual privacy policy / terms of service"
Phase 5: Ship
Step 1: First commit and push
git add -A
git commit -m "Initial project setup via /startup"
git push -u origin mainIf the repo was already created and pushed in the GitHub provisioning step, this may just be an update push:
git add -A
git commit -m "Complete project setup via /startup"
git pushStep 2: Summary Report
Present the final summary:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
{project-name} is ready
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GitHub: https://github.com/{org}/{slug}
GCP Console: https://console.cloud.google.com/home/dashboard?project={slug}
Cloud Run: {cloud-run-url}
Domain: https://{domain} {(pending DNS propagation) if applicable}
GA4: https://analytics.google.com/analytics/web/#/p{property-id}
Search Console: https://search.google.com/search-console?resource_id=sc-domain:{domain}
PostHog: https://app.posthog.com/project/{posthog-project-id}
{Stripe: https://dashboard.stripe.com/test/products/{product-id}}
{Resend: https://resend.com/domains}
Local dev: {dev-command}
Build: {build-command}
Test: {test-command}
Deploy: {deploy-command}
Manual steps remaining:
{1. Set nameservers in Namecheap: ns1... ns2... ns3... ns4...}
{2. Copy Stripe API keys from dashboard to .env}
{3. Any other manual steps from failed provisioning}
{PROVISIONING FAILURES (if any):
- {service}: {error} — re-run /startup to retry}
Files created:
project.json — project metadata (committed)
PROJECT.md — human-readable project card (committed)
.env — secrets (gitignored)
.env.example — template (committed)
CLAUDE.md — AI assistant context (committed)
docs/decisions/001-initial-architecture.md — architecture decisions
README.md — project README with ASCII art
.gitignore — stack-tailored
{.github/workflows/} — CI/CD pipelinesInclude only relevant lines (skip Stripe if free, skip domain if none, etc.).
Step 3: Next steps suggestion
What's next?
/office-hours— brainstorm features before building/design-consultation— create a design system (colors, typography, spacing)- Start coding — your scaffold is deployed and ready
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.

