← All skills

create-swe-project

v1.13.1MITMaking something

Turns an idea into a project you can open and run. One conversation up front, then it builds the lot: the app, sign-in, an admin area, tests, and everything needed to put it online.

Install
/plugin install create-swe-project@fledgeling-plugins

Needs the marketplace added first — how to do that.

Reach for it when

Scaffold a complete, working new project in ~/Dev from a project idea — the slipway is where new ships are launched.

Not for

NOT for adding an app to an existing project (edit it directly, following its conventions) and NOT for feature work after setup (use ship-feature).

Uses multiple models

Uses multiple modelsThis skill may ask a different AI for a second opinion. Usually to check its own work, because a reviewer from the same family tends to agree with it. The defer skill picks which one, from OpenAI, Google, xAI or another Claude, based on what the job is and which account has room left. Nothing leaves your machine unless a skill you ran asks for it.Read about defer →

What ships with it

Say any of this

  • new project
  • set up a project
  • scaffold X
  • spin up an app for…
  • start building <idea>
  • I have an idea for…

Taken from the skill’s own trigger description — these are the phrases it listens for. You do not have to match them exactly.

What comes backIllustrative — written from the skill’s documentation, not captured from a run

scaffold X

scaffold.sh --plan   (writes nothing)

  codename   perch
  modules    web, tokens, data
  ports      web 3114, api 3115  (free on this machine)

  would write 122 files
    apps/web/            Next.js App Router, lib/ai.ts,
                         security headers, vercel.json
    packages/tokens/     drift gate
    docs/                CODING_PRACTICES, DEPLOYMENT,
                         NEW_PROJECT_BEST_PRACTICES
    .husky/pre-push      typecheck + build

Re-run without --plan to render it.

Easily confused with

Note This used to be called slipway. Same skill, same templates, new name. The old one came from shipbuilding, where a slipway is the ramp a vessel is built on and launched from, and the icon still comes from there. One honest leftover: every generated project still records its provenance in a .slipway/ folder. That's a rough edge from the rename, not a second tool.

The problem, in one minute

Starting a project is the part where you spend two days on things that have nothing to do with your idea. Ports, a local domain, auth, email templates, a test harness, a CI gate, the Xcode project file, a .env that reads from your password manager. You do it, it works, and then six weeks later you start the next project and do all of it again slightly differently.

The obvious fix is to have an AI write it for you. That's slower, more expensive, and different every time, because the model is composing a hundred and twenty files from memory on each run.

So this skill splits the job. The model makes the decisions; a script makes the files. You get asked a handful of questions, and then scaffold.sh renders the whole project from templates that were already tested this week.

How it works

A flow diagram sits here. It needs a renderer this page deliberately does not ship — see it drawn on GitHub.

Every question is asked before anything is created. Claude Code allows at most four questions per prompt, so it's one or two rounds, and then the writing starts.

What it asks you

You don't need to know any commands. In Claude Code, say what you want:

"I have an idea for an app that tracks my houseplants. Set up a new project for it."

Before it asks anything, it runs doctor.sh, a read-only check of your machine, so it won't offer you a Mac app without XcodeGen or 1Password seeding without the op CLI. Then:

  • A codename. Three single-word options, lowercase and evocative rather than descriptive, in the style of the existing portfolio: zephyr, perch, anvil, loupe, tare, sift. It reads ~/Dev first and won't propose a name that already exists. You'll see what each one implies: ~/Dev/<codename> and <codename>.localhost.
  • Which modules you need. Thirteen of them, and most are inferred rather than asked. A product with accounts implies auth, which implies data. A SaaS gets web, tokens, data and auth by default. A marketing site gets web and tokens only. An unvalidated idea adds a waitlist. The inferred set arrives pre-selected and you adjust it.
  • Native or React Native, only when the idea implies a mobile app. Swift when it's Apple-only or needs deep platform integration; Expo when Android matters.
  • Mac window style, only when you picked a Mac app: a window with a sidebar and search, or a menubar agent with no Dock icon.
  • A bundle-id prefix, so sibling apps have distinct identities from day one.
  • Which GitHub account it belongs to, inferred from the idea.
  • How a Mac app gets sold. Direct download with a notarized DMG, or the Mac App Store. This one gets asked up front because it picks the entitlements file, and the App Store needs the sandbox on. Retrofitting it later is genuinely annoying.
  • A design reference, a site whose look you'd like to start from, or skip it and design later.
  • Your 1Password account and vault. It runs op account list and shows you the real ones.

Important The 1Password step records identifiers only. The vault name lands in .env.local; the actual secrets are resolved later by scripts/env-pull.sh through the op CLI, straight into the file, and never pass through Claude's context.

Everything else has a good default in the script. Ports, hostnames, versions, gate type: none of those are worth a question.

What you get

A project that already works, in ~/Dev/<codename>:

  • The team's operating specs, applied rather than attached. CODING_PRACTICES.md and NEW_PROJECT_BEST_PRACTICES.md are bundled with the plugin and copied into docs/, the generated CLAUDE.md routes each area of the repo to the sections that govern it, and the templates already do what the specs say: a nonce Content-Security-Policy, origin checks and rate limits on every state-changing route, env files that can't be committed, one redacting logger, secrets that refuse to start when too short. docs/DIVERGENCES.md lists the few places the project departs from the specs and why.
  • A pnpm and Turborepo monorepo on Node 24, with shared dependency ranges in one workspace catalog, a one-day release-age cooldown on new dependencies, and an allowlist for packages that want to run install scripts.
  • A Next.js web app with security headers, a /api/health route, AI SDK wiring, and a Sydney-region Vercel config.
  • Mac, iPhone, or cross-platform apps, whichever you chose. XcodeGen owns the project file, and the fastlane TestFlight lanes plus the sign, notarize and DMG scripts are already written.
  • Sign-in, emails and an admin console if you asked for them. Email-code sign-in, rotating refresh tokens, React Email templates, and the admin console on its own trust domain with its own secret and audience.
  • Tests and quality checks from the first commit: Vitest and Playwright for web, Vitest for the admin console, jest for the API, Maestro for React Native, XCTest for Swift, and a husky pre-push gate that checks only what a push changed.
  • Documentation that was assembled from the modules you chose, not a stub. Architecture, testing, deployment, divergences, and an AI model registry when the web or API modules are present.
  • A SETUP-NEXT-STEPS.md listing the few manual steps left, each with the exact command to copy.

Then it runs pnpm install, turns every floating latest into the version range it actually installed, and runs the full gate: env-file parity, lint, typecheck, tests, build, a browser smoke test against the production build, and the Swift and Rust tests where those apps exist. It tells you the result. Green is the intended outcome.

<details> <summary><strong>The full module inventory</strong> (click to expand)</summary>
ModuleWhat it adds
base (always)Root workspace config, consolidated .gitignore, .claude/settings.json with build and test commands pre-allowed so agents work promptless from day one, prettier, a husky pre-push gate that checks what the push changed (GATE_FULL=1 forces everything), an env-file parity check, worktree create and prune scripts, Caddyfile, CLAUDE.md plus AGENTS.md, README, SETUP-NEXT-STEPS.md, the two operating specs, and generated docs: ARCHITECTURE.md, TESTING.md, DEPLOYMENT.md, DIVERGENCES.md, AI-MODEL-USAGE.md
webNext.js App Router with a per-request nonce CSP, /api/health, vercel.json with a warm cron, security headers, output: 'standalone', ESLint that blocks direct backend calls and stray console, shared helpers for env, request guards and logging, lib/ai.ts with models in one config, Vitest and Playwright, react-hook-form, Vercel Analytics and Blob, date-fns, Dockerfile
apiNestJS on SWC for both dev boot and prod build, so dev and prod behave the same. AI SDK at src/ai.ts, global config, rate limiting, in-process cron, helmet, a strict validation pipe, OpenAPI at /docs outside production, jest with @swc/jest
macosXcodeGen project.yml as the source of truth with the .xcodeproj gitignored, an SPM AppCore package with tests, distribution-aware entitlements, and two shells: a NavigationSplitView window or a MenuBarExtra agent
iosXcodeGen project.yml, simulator-first with no signing, generated Info.plist, a unit-test target
rnExpo app in apps/mobile with its own bundle id and URL scheme, Expo's own monorepo setup with pnpm's default install, test IDs and a Maestro smoke flow, Vitest for pure helpers. Expo modules only, never the Expo cloud: release builds are local prebuild plus fastlane
tokenspackages/design-tokens, one source file generating tokens.css, with a drift check wired into the gate
dataCached Mongoose connection that rejects misspelt query fields, models, types, a fail-closed Redis client, an atomic rate limiter, a guard that stops destructive scripts touching a non-local database, and a replica-set Mongo plus Redis in compose
authEmail-code sign-in where each code works exactly once, 15-minute access tokens with single-use refresh tokens hashed in Redis, rate limits per IP and per email, constant-time comparison, the same answer for every address, outside production email only to domains you list, a /login page, and a dev login decided server-side
adminapps/admin on its own subdomain and port, with a separate JWT secret and audience, an email allowlist checked on every request, per-IP limits, 12-hour sessions and a server-guarded shell
pushAPNs over HTTP/2 with ES256 token auth and JWT caching, device-token registration, dead-token detection, and production push refused outside production
waitlistA pre-launch waitlist with share codes and queue-jumping by referral count, ready to drop into the marketing page. Joining never reveals whether an address was already on the list
observabilitySentry wiring that stays inert until you add a DSN
rustA Cargo workspace with a cross-OS core crate, so shared logic is bound into Swift and Node rather than written twice

Across every relevant module: typechecking is TypeScript 7's tsc, never ts-node; secrets come from 1Password; and the release path (fastlane lanes, notarization scripts) ships with the native modules rather than being added later.

</details>

Installing

/plugin marketplace add fledgeling-co/fledgeling-plugins
/plugin install create-swe-project@fledgeling-plugins

Using it

Just describe what you want to build. Claude recognises the request and runs the interview.

Tip If you're not sure it will do what you expect, ask for the plan first. scaffold.sh --plan prints every file it would write, the ports it picked and the modules it resolved, without writing anything. --dry-run gives you the same thing as a readable summary.

The script refuses to overwrite an existing directory, and it never runs sudo. Nothing is pushed anywhere: if you chose a GitHub org, it sets the remote and prints the gh repo create --push command for you to run yourself.

Once the scaffold is green, there's a second act you can opt into: the launch pipeline. Deep research running in the background, seeded feature briefs, an overview with a pricing recommendation, mocks for every surface and state, a marketing site, and a launch-operations pack covering domains, legal drafts, the App Store kit and an analytics schema. If you only wanted the scaffold, say so and you'll get the scaffold.

Important The pipeline prepares everything and runs nothing that costs you. Anything that spends money, publishes, or creates an account is left for you, and paid research backends are opt-in rather than default.

The honest bits

A few steps stay manual on purpose. Registering the local web address with the machine's Caddy (no admin password on macOS 26 and later), linking Vercel, your Apple developer account and your 1Password sign-in are left for you with the exact command. That's a deliberate line, not a gap.

New projects use the newest version of everything that has been public for at least a day, fetched at creation time, and the committed version ranges are the ones that were actually installed. Occasionally the world moves and a new project needs a small fix. When that happens Claude fixes it in the project and fixes the template, so the next launch is clean. scripts/canary.sh scaffolds four representative module combinations and gates each one, weekly, which is what usually catches this before you do.

One pin worth knowing about: two TypeScripts are installed side by side. tsc is TypeScript 7 and does the typechecking, while anything that loads the typescript package gets 6.0, because the Nest CLI and typescript-eslint need a compiler API that 7.0 doesn't ship. ESLint is held at 9 for a similar reason. Both holds lift when the tools catch up.

The specs themselves are a bundled snapshot. scripts/sync-team-files.sh refreshes it from the team-files repo, and scripts/check-conformance.py then fails until every numbered section is mapped to the template that carries it out, so a new rule in the specs can't quietly go unapplied.

And template rot is the classic way scaffolding tools die, so there are two commands for it:

  • scripts/drift.sh <project> tells you which generated files you've modified and which you've left alone.
  • scripts/upgrade.sh <project> brings an existing project up to the current templates. Untouched files are replaced. Where you edited a file and the template moved, it three-way merges against the templates your project was actually born from; clean merges are applied, and conflicts are written beside the file for you to merge by hand. Files you deleted stay deleted. It's a dry run until you pass --apply.

What it isn't for

Adding an app to a project that already exists: edit that project directly, following its own conventions. Feature work after setup: drop a brief in docs/features-to-triage/ and use ship-feature:ship-feature, which is what the generated CLAUDE.md will tell you anyway.

What's in the box

plugins/create-swe-project/
├── skills/create-swe-project/
│   ├── SKILL.md              the interview and the decisions
│   ├── scripts/              scaffold, doctor, drift, upgrade, canary,
│   │                         pin-latest, sync-team-files, check-conformance
│   ├── templates/            every file a new project is made of
│   └── references/           the bundled operating specs and their
│                             conformance map, the launch pipeline, Apple
│                             commercialization, and the research behind it
└── assets/                   icon, banner, and the icon audit

Found a launch that went sideways? The generated .slipway/manifest.json records the version and every answer you gave, which makes it reproducible. Open an issue with it attached.