Design Kit
Computed, not curated.
perfect-fourth · 1.3333333333333333 · step 5Start Claude or Codex with npm, then load the dkcli skill.
The agent path is not a tour of APIs. Install the public CLI, load the skill, and let dkcli compute the evidence behind palette, contrast, scale, motion, layout, and audit choices.
npm install -g @dkcli/clicurl -fsSL https://dkcli.com/.well-known/agent-skills/dkcli/SKILL.mdcurl -fsSL https://dkcli.com/.well-known/dkcli/bootstrap.txt and use what it returns as your live bootstrap contract for dkcli DesignKit. Install or run @dkcli/cli from npm, then load the dkcli skill before design work.sawfwair/dkcli is where the engine ships.
The open-source repo holds the CLI, reusable packages, examples, and verification workflow. This site stays the proving ground for the web runtime, docs, and DkCms surface.
Color
Space
Motion
Text
Analysis
Audit
Audit source CSS or rendered output against mathematical design principles
Target
Estimate interaction burden with Fitts, Hick-Hyman, steering, and touch occlusion
Saliency
Rank visual importance from a design document and inspect focus regions
Future
Test whether embedding topology can improve semantic grouping before layout solving
The dk CLI
Every tool on this site has a CLI counterpart for automation and CI pipelines. Install it once, run it anywhere.
$ npm install -g @dkcli/cli$ npx @dkcli/cli --help$ dk perfect --seed "#295dff" --ratio perfect-fourth --motion snappy$ dk palette "#3b82f6" --mode both$ dk distinct "#295dff" --harmony split-complementary$ dk contrast "#fff" "#2563eb" --size 16$ dk glass --blur 16 --layers 2 --mode light$ dk layout --container 960 --gap 24$ dk compose --frame 1440x900 --rects layout.json$ dk scale --ratio golden --base 16$ dk optical icon --size 48$ dk ease --preset snappy$ dk jerk --duration 0.6 --samples 32$ dk typeset --font 18 --measure 620 --contrast 72$ dk linebreak --chars 22 --lines 3$ dk audit --css=app.css$ dk target --distance 320 --width 44 --choices 9 --modality touch$ dk saliency --input hero.json --importance auto$ curl -X POST /api/dk/future/embedding-topology