Create Design Context
From the project root:.21st/design.json, the machine-readable source of truth, and
.21st/DESIGN.md, a readable summary. 21st detects the framework, Tailwind
version, shadcn setup, token sources, component folders, installed primitives,
assets, and project instruction files. Each inferred fact includes source
evidence.
Edit constraints.must, constraints.avoid, and decisions in
.21st/design.json. Refreshing preserves those user-owned fields:
--check never writes and exits non-zero when extracted project facts drift.
Find grounded inspiration
Generate alternatives
Review locally
--fix only applies high-confidence mechanical fixes.
Suppress a rule only with a reason:
Manage skills
Project-local installation is the default:--global for a user-wide installation and
--agent claude|cursor|codex|all to select harnesses. 21st verifies each skill
hash, records ownership and license metadata in .21st/skills.lock, and refuses
to overwrite or remove local modifications without --force.
21st install-skill remains a compatibility alias for
21st skills install --global.