ARCHE
FamiliesDocsExamplesBlogGitHub ↗
Documentation

Start

  • Getting started
  • Philosophy

Guides

  • First hour
  • Agent context
  • Verification
  • Package managers
  • Scaffold lifecycle
  • Showcase & portfolio

Walkthroughs

  • TypeScript fullstack
  • Convex product
  • Rust API & fullstack
  • Solana family
  • Customize & experiments
  • Automation (JSON/MCP)

CLI

  • Overview
  • Flags
  • Subcommands
  • Generated output

Presets

  • Preset catalog

Stack

  • TypeScript architecture
  • Convex
  • Rust
  • Solana
  • Authentication
  • Prisma store
  • tRPC

Operations

  • Deployment
  • Environment variables
  • Workers & queues
  • CI & testing
  • Scaling
  • Security
  • Troubleshooting

Reference

  • Stack links
  • Capabilities
  • This source repo
  • Code examples
← Documentation

Automation walkthrough

create-json, validate, MCP, history, and shell completions for agents and CI.

1 min read

Goal: Scaffold or validate projects without interactive prompts—same registry rules as arche create.

create-json

terminal
bun run dev:cli -- create-json '{
  "projectName": "my-app",
  "destinationDir": "/tmp/my-app",
  "preset": "typescript-fullstack",
  "packageManager": "bun",
  "initializeGit": false,
  "installDependencies": false
}'

Add --dry-run to preview transforms without writing.

validate

terminal
bun run dev:cli -- validate '{"projectName":"my-app","preset":"typescript-fullstack","database":"postgres","orm":"prisma"}'

Exit non-zero on incompatible options—use in agent tool loops before create-json.

MCP server

Loading diagram…
terminal
bun run dev:cli -- mcp

Tools expose schema and guidance from the same CLI sources—no parallel capability story.

add repairs

terminal
bun run dev:cli -- add agent-docs ./my-app
bun run dev:cli -- add docker ./my-app
bun run dev:cli -- add ci ./my-app

Use when an existing tree drifted from Arche conventions.

History and completions

terminal
bun run dev:cli -- history
bun run dev:cli -- completion zsh >> ~/.zshrc

CI pattern

  1. validate JSON config in PR
  2. create-json into a temp dir on main merges (optional)
  3. Run generated bun run ci in the target repo

See CI & testing.

Next steps

  • Subcommands reference
  • Generated output
  • TypeScript walkthrough