CLI Reference
20 commands, all invoked as preset <command>. The CLI is a standalone binary (no npm); install it with curl -fsSL https://presetai.dev/install.sh | sh.
preset audit: Unified design system audit for CI pipelinespreset audit-copy: Audit codebase for copy and terminology violationspreset badge: Generate design system compliance badgepreset ci: Generate GitHub Actions workflow for design system enforcementpreset doctor: Check project health and configurationpreset drift: Analyze design system drift in your codebasepreset export: Export design system in various formatspreset fingerprint: [Deprecated] Renamed topreset snapshot. Still works for one release.preset generate-claudemd-section: Print the canonical 'how to use preset AI' block for a project's CLAUDE.mdpreset import: Import design tokens from external sourcespreset init: Initialize Preset in your projectpreset preview: Generate self-contained HTML preview of design system tokenspreset scan: Scan codebase for component patterns and propose presetspreset serve: Start the MCP server for AI agent integrationpreset setup: Configure AI agents to use Preset MCP serverpreset skills: Manage user-authored skillspreset snapshot: Generate a Design System Snapshot. Analyzes your codebase's implicit design decisions.preset suggest: Detect code intent and suggest appropriate presetspreset sync-rules: Write governed design system rules into AI tool ambient instruction files (push-mode)preset validate: Validate code snippet against design system (stdin or file)
Last reviewed by @jschuyler