A sigil summons a behavior.
In Claude Code, a slash command is a sigil — a short mark that invokes a specific behavior. Sigil scans your repo and writes a set tailored to your stack: your framework, your test runner, your package manager, your conventions. One run. Done.
$ npx sigil
Detected stack:
pkgmgr pnpm
languages javascript, typescript
frameworks nextjs
tests vitest
flags typescript, next-router:app
Wrote 7 commands:
✓ /commit
✓ /review
✓ /add-route
✓ /add-server-action
✓ /add-api-route
✓ /add-test
✓ /find-dead-code
+7 premium commands available:
○ /add-feature TDD-first feature add
○ /fix-bug Systematic debugging
○ /pr-self-review Pre-push self-review
○ /safe-rename Cross-codebase TS rename
○ /optimize-rerenders Find React re-render hotspots
○ /audit-bundle Find oversized client bundles
○ /add-rate-limit Per-route rate limiting
How it works
The CLI reads package.json, pyproject.toml, Makefile, lockfiles, and your top-level dirs. It detects 7 frameworks, 3 test runners, 4 databases, 4 package managers, monorepo shape, and CI presence. Then it writes commands whose {{testCommand}}, {{buildCommand}}, {{typecheckCommand}} are substituted with the right invocation for your stack.
No LLM at runtime. No API key. Deterministic. Runs in <100 ms.
Free tier — 12 commands
- Universal —
/commit,/review,/add-test,/find-dead-code - Next.js App Router —
/add-route,/add-server-action,/add-api-route - FastAPI —
/add-endpoint,/add-pydantic-model - Django —
/add-view,/add-model - Monorepo —
/add-package - CI —
/check-actions-status
What's in the premium pack — 8 deeper commands
| Command | What it does |
|---|---|
/add-feature | TDD-first feature add — failing test, minimum impl, refactor |
/fix-bug | Systematic debugging — repro, root cause, regression test, no symptom-patching |
/pr-self-review | Senior-reviewer self-review checklist before pushing |
/safe-rename | Cross-codebase TypeScript symbol rename — exports, callers, type refs |
/optimize-rerenders | Find React re-render hotspots — bad memo, unstable refs, context fan-out |
/audit-bundle | Find oversized Next.js client bundles, server modules in client |
/safe-migration | Deploy-safe DB migrations — Prisma, Drizzle, Alembic, Django |
/add-rate-limit | Per-route rate limiting with proper IP/user keys and 429 responses |
Each premium command is longer, sharper, and more opinionated than the free tier. They push back on anti-patterns, refuse to suppress errors, enforce real TDD instead of test-after-the-fact.
After purchase
You get an email with a download link. Drop the archive into ~/.sigil/templates/ and re-run npx sigil. Premium commands now render automatically — no license key, no env var.