Skip to content

starter-series/create-starter

create-starter

Scaffold and audit Starter Series projects — MCP server, Claude Code skill, and CLI in one package.

Part of: Human-Controlled AI Systems — scaffolding is the easy half. What keeps a shipped repo trustworthy is the audit primitives (audit, audit-cd, audit-security) verifying release, CD, and CI security hygiene against a known bar — gating each merge instead of asking a human to re-check by hand.

🇰🇷 한국어

Currently implemented

  • CLInpx @starter-series/create my-bot --template discord-bot. One of 11 templates with Zod-validated input, atomic rename on success, retry + timeout + 50 MB download cap.
  • MCP server — five stdio tools: list_templates, create_project, audit_release, audit_cd, audit_security. One binary chooses the mode by argv (positional → CLI, none → MCP stdio).
  • Claude Desktop extension.mcpb bundle on every release; drag onto the Claude Desktop settings window.
  • Claude Code plugin + skill/plugin install create-starter@starter-series ships the MCP server and the conversational create skill together.
  • MCP Registry entryio.github.starter-series/create-starter, OIDC-verified namespace, npm tarball cross-checked.
  • audit_release — detects matched starter, version vs last-tag drift, CHANGELOG drift vs merged PRs (git log <tag>..HEAD), publish-workflow kind (release-please / publish-on-tag / auto-release).
  • audit_cd — probes npm, PyPI, Open VSX, VS Marketplace, AMO, GitHub Releases for per-destination publish drift (in-sync / needs-publish / local-stale / not-found / unsupported).
  • audit_security — checks 8 CI hygiene items: gitleaks (with pin check), CodeQL, dependency audit, license check, --ignore-scripts, Dependabot grouped, secret-scanning hint, claude-code-security-review Action. This repo passes 8/8 HARDENED.
  • Graduation guidedocs/graduation-from-vibe-coding.md (+ Korean): five-step path from Lovable/Bolt/v0 exports to GitHub Actions + a real deploy target, using the three audit primitives.

Planned

  • audit_cd support for Chrome Web Store, EAS, Railway, Fly, and GHCR. Currently reported as unsupported because those destinations require auth or have no public read API.

Design intent

  • One binary, two surfaces. CLI and MCP stdio share one scaffolding engine. Argv decides which surface answers. No duplicated logic for "the same thing called from a human vs an agent".
  • Atomic on failure. Extraction happens in a sibling .<name>-incomplete-<rand> directory and only renames into the final path on success. Network failure, corrupt archive, partial write — none of them leaves a half-scaffolded directory behind.
  • Audit is first-class. Templates ship a security baseline (gitleaks pinned to SHA, CodeQL, Dependabot grouped, --ignore-scripts, claude-code-security-review). The three audit commands check whether a downstream repo still matches that bar — turning the baseline from a one-time scaffold into an ongoing gate.
  • Eat your own dogfood. This repo passes audit_security 8/8 HARDENED. If the tool that audits other repos can't pass its own check, the bar isn't real.
  • Read-only outside its sandbox. Downloads are capped (50 MB, 30 s timeout, 3 retries). Relative output paths cannot escape cwd; absolute paths are accepted only as explicit user intent. git init failure is logged but non-fatal.

Non-goals

  • Full vendor parity in audit_cd. Destinations without a public read API stay unsupported rather than reporting confidently-wrong state.
  • Rewriting app code. The graduation flow lifts CI/CD from the matching starter; it never touches application code.
  • A general-purpose project generator. Templates are the Starter Series 11. New stacks land as new starters, not as flags on create_project.

Quick start — CLI

npx @starter-series/create my-bot --template discord-bot
# or, after cloning and building:
node dist/index.js my-bot --template discord-bot
create-starter — scaffold a project from the Starter Series.

Usage
  create-starter <name> --template <id> [options]
  create-starter --list
  create-starter --help

Options
  -t, --template <id>      Template ID (see --list)
  -d, --description <text> One-line project description
  -o, --output-dir <path>  Output directory (default: ./<name>)
      --no-git             Skip "git init" after scaffold
      --list               List templates and exit
  -h, --help               Show help and exit
  -v, --version            Print version and exit

Environment
  CREATE_STARTER_DEBUG=1   Emit verbose stderr logs

Available templates

ID Stack
mcp-server TypeScript + @modelcontextprotocol/sdk + Zod
mcp-server-python Python + FastMCP
npm-package Jest + ESLint + OIDC publish
discord-bot discord.js v14 + Docker
telegram-bot grammY + Docker
browser-extension Chrome/Firefox MV3
vscode-extension VS Marketplace + Open VSX
electron-app cross-platform + code signing
react-native Expo + EAS
cloudflare-pages Wrangler + Pages
docker-deploy any language + GHCR + SSH

Run create-starter --list (CLI) or call list_templates (MCP) for the authoritative, up-to-date list.

Graduating from Lovable / Bolt / v0

Already have a working app on a vibe-coding platform and want to graduate to GitHub Actions + your own deploy target? Read docs/graduation-from-vibe-coding.md (한국어) — a 5-step path that uses audit, audit-cd, and audit-security to diagnose your repo, then lifts CI/CD from the matching starter without rewriting your app code.

Install from source

git clone https://github.com/starter-series/create-starter
cd create-starter
npm install
npm run build

Requires Node.js ≥22.

One-click install in Claude Desktop

Grab the latest .mcpb bundle from the Releases page and drag it onto the Claude Desktop settings window. Claude Desktop unpacks the bundled dist/ and node_modules/ and registers create-starter as an MCP server — no npm, no config file, no absolute path.

.mcpb (MCP Bundle, formerly .dxt) is Anthropic's packaged extension format for MCP servers. See Desktop Extensions.

To rebuild the bundle locally:

npm ci
npm run bundle:mcpb   # produces create-starter-<version>.mcpb

Use as MCP server

Register the built binary in your MCP client (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "create-starter": {
      "command": "node",
      "args": ["/absolute/path/to/create-starter/dist/index.js"]
    }
  }
}

Then ask your agent: "Use create-starter to scaffold a new discord bot named my-bot." The agent will call list_templates if needed and then create_project.

The binary speaks MCP stdio when called with no extra arguments, and switches to CLI mode when given any positional argument or flag. Both modes share the same scaffolding engine.

Use as Claude Code plugin

The plugin bundles both the MCP server and the create skill — one install wires them up together.

From the Claude Code REPL:

/plugin marketplace add starter-series/create-starter
/plugin install create-starter@starter-series

Then ask Claude: "scaffold a new discord bot named my-bot" and the create-starter:create skill guides the conversation into the MCP tools.

For local development (no marketplace round-trip):

claude --plugin-dir /path/to/create-starter

Point at a git clone so edits in skills/create/SKILL.md or dist/index.js take effect the moment the session starts.

Use via MCP Registry

This server is published to the Official MCP Registry under the namespace:

io.github.starter-series/create-starter

MCP-compatible clients that integrate registry discovery can install it by name without manual path wiring. The registry entry points at the npm package @starter-series/create, so npx runs the same stdio server described above.

Ownership is verified through GitHub OIDC (namespace io.github.starter-series/*) and npm tarball inspection (package.json#mcpName). See .github/workflows/publish-mcp-registry.yml for the publish flow.

Tools

Scaffolding:

  • list_templates — returns the full template table as JSON.
  • create_project — args:
    • template (required) — template ID from the table above.
    • name (required) — project name matching ^[A-Za-z0-9][A-Za-z0-9_-]*$.
    • description (optional) — one-line description.
    • output_dir (optional) — defaults to ./<name> relative to the MCP server's cwd. Relative paths must stay inside cwd; absolute paths are accepted as explicit user intent.
    • init_git (optional, default true) — run git init after scaffold.

Audit (each takes an optional path arg, default = MCP server cwd; all read-only):

  • audit_release — release-readiness diagnosis. CLI mirror: create-starter audit [path].
  • audit_cd — per-destination publish-drift probe. CLI mirror: create-starter audit-cd [path].
  • audit_security — baseline CI security hygiene check. CLI mirror: create-starter audit-security [path].

Safety & reliability

  • Project names are regex-validated before any filesystem touch; relative output paths are rejected if they escape the working directory.
  • Downloads enforce a 30 s timeout, 3-attempt exponential backoff, and a 50 MB size cap.
  • Extraction happens in a sibling .<name>-incomplete-<rand> dir; on any failure (network, corrupt archive, extraction error) the tmp dir is removed. The final path only appears via an atomic rename once everything succeeded.
  • git init failures are logged to stderr but do not fail the scaffold; the project is usable without a .git directory.

License

MIT © heznpc

About

Scaffold projects from Starter Series templates — MCP server + Claude Code skill

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors