create-sigil-app
v2.0.0
Published
Bootstrap a new Next.js project with Sigil UI pre-configured
Readme
create-sigil-app
Bootstrap a new Next.js project with Sigil UI pre-configured. One command to go from zero to a fully token-driven, preset-powered, agent-ready project.
The Core Principle
create-sigil-app sets up the Sigil token pipeline from the start. You choose a preset, optionally customize fonts — and the result is a project where every visual property flows from a central token spec. Agents and humans change the look by editing tokens, not by hunting through component files.
Usage
npx create-sigil-app
npx create-sigil-app my-app
npx create-sigil-app my-app --template ai-saas
npx create-sigil-app my-app --preset noir --template portfolio
npx create-sigil-app my-app -y # defaults: minimal template, sigil presetInteractive Flow
| Step | Question | Options |
|------|----------|---------|
| 1 | Project name | Text input (kebab-case) |
| 2 | Template | Minimal, AI SaaS, dashboard, docs, portfolio, ecommerce, blog, agency, CLI tool, startup |
| 3 | Preset | 12 popular picks + browse all 46 |
| 4 | Display font | Optional text input |
| 5 | Features | GSAP, Motion, Radix Primitives, Sigil Grid |
| 6 | Agent instructions | Generate .sigil/AGENTS.md |
Templates
Templates are token-native starter pages generated from the Sigil template manifest. They are intentionally not copied from the older demo apps; each template starts with the active preset, the Sigil token CSS pipeline, and source-owned Next.js files.
| Template | Description |
|----------|-------------|
| ai-saas | AI product landing with workflow cards and conversion sections |
| dev-docs | Documentation site starter with install blocks and agent-readable structure |
| dashboard | Analytics surface with KPI cards and operational sections |
| portfolio | Personal or studio portfolio with project narrative sections |
| ecommerce | Storefront starter with product, trust, and checkout cues |
| blog | Editorial publication starter with article and subscription structure |
| agency | Studio landing page with services, proof, and inquiry CTA |
| cli-tool | Developer tool landing with terminal and command-led sections |
| startup | Launch page with waitlist, proof, features, and FAQ structure |
| minimal | Clean starting point — just Next.js + Sigil |
What It Creates
- Next.js project — App Router, TypeScript, Tailwind v4, Turbopack
sigil.config.ts— project configuration with your chosen preset- Token CSS — imports base tokens + preset, with optional font overrides
globals.css— updated with Sigil token importsrc/components/ui/— empty components directory.sigil/AGENTS.md— AI agent instructions (optional).sigil/skills/— installed Sigil workflow skills for coding agents.cursor/rules/sigil-skills.mdc— Cursor rule that enforces the installed skillspackage.json— all Sigil + feature dependencies added- Git — initialized with initial commit (unless
--no-git)
Flags
| Flag | Description |
|------|-------------|
| -t, --template <name> | Template to use |
| -p, --preset <name> | Sigil preset to use |
| --no-git | Skip git initialization |
| --no-install | Skip dependency installation |
| -y, --yes | Skip prompts, use defaults (minimal template, sigil preset) |
After Creating
cd my-app
pnpm dev # start dev server
npx @sigil-ui/cli add button card input # add components
npx @sigil-ui/cli preset list # browse presets
npx @sigil-ui/cli preset noir # switch aesthetic
npx @sigil-ui/cli inspire ./reference.css --name brand-draft
npx @sigil-ui/cli docs # write docs/sigil-project.md + llms.txt
npx @sigil-ui/cli doctor # validate setupFor AI Agents
When asked to create a new Sigil project:
- Use
create-sigil-app— do not manually scaffold Next.js and add Sigil packages - Pick the right template for the use case (SaaS →
ai-saas, docs →dev-docs, etc.) - Pick a preset that matches the desired mood — browse
sigil preset listor reference the preset catalog - After creation, read
.sigil/AGENTS.mdto understand the project setup - Read the relevant
.sigil/skills/<name>/SKILL.mdbefore editing tokens, presets, components, layouts, pages, migrations, or polish details - All visual changes go through the token layer — the created project is already wired for this. Edit the token CSS file or switch presets. Do not manually add Tailwind classes to component files.
- Run
npx @sigil-ui/cli doctorto validate the setup before starting development
