Mission

patties is the single command-line entry point developers use to work with a Patties project. Three verbs cover the daily loop — dev, build, deploy — plus a dev-only secret for keychain-stored credentials. A separate scaffolder create-patties produces a new project. Nothing else ships in the CLI until a real workflow demands it.

Design pillars

  1. One command, zero questionsbun dev (which calls patties dev) must work in a fresh project with no flags.
  2. Bun-native — invoked via bun bin/patties.ts. The CLI itself uses Bun.spawn, Bun.file, Bun.argv.
  3. Fast feedback — startup under 200ms. No top-level network calls.
  4. Honest output — surface errors with file + line, suggest the next action.

Commands

CommandSpec
patties dev02-dev-command
patties build03-build-command
patties deploy04-deploy-command
patties secret08-secret-command
bunx create-patties <name>05-create-patties09-create-patties-dx → redesigned by 18-create-patties-redesign
/patties skill · /patties-init flow19-patties-agent-skill

Supporting specs

Phase alignment

  • Phase 0: entry, dev, scaffolder seed.
  • Phase 1: build, secret.
  • Phase 2: deploy.
  • Phase 3+: no new commands; existing commands generate AGENTS.md automatically.
  • Dev-DX (post-launch): 09 — overhauls create-patties (template, README, prompts, agent overlays, name handling).
  • Dev-DX (post-launch): 18 — redesigns the create-patties prompt flow (agent → type → UI/monorepo → deploy target) and hands off to the agent for feature scaffolding; 19 — the /patties skill (components + agent-only pattern modules) and the /patties-init plan-mode onboarding flow.

Non-goals

  • An interactive REPL.
  • A plugin-extensible command surface (plugins extend the framework, not the CLI). Revisit via RFC if user demand appears.