dekit-cli
v0.5.0
Published
A code-first design toolkit for agents and humans — create, preview, and screenshot HTML/CSS designs
Downloads
135
Maintainers
Readme
dekit
A design canvas for AI code agents.
Agents write HTML/CSS designs, preview and screenshot them, iterate until satisfied — then humans review in the browser and give feedback.

How It Works
- Agent designs — scaffolds a project, writes HTML/CSS, takes screenshots to self-check
- Human reviews — opens the browser preview, inspects elements, right-clicks to Copy Ref
- Human gives feedback — pastes the ref in terminal with instructions
- Agent iterates — resolves the ref to source code, makes changes, screenshots to verify
All design files live inside a .dekit/ directory, keeping your project clean.
Getting Started
1. Install
npm install -g dekit-cli2. Set up your agent
Create a skill file at .claude/skills/dekit/SKILL.md:
---
name: dekit
description: Use dekit to create, preview, and iterate on HTML/CSS designs
---
Run `dekit usage` to get the full usage guide.
Follow the guide to complete your design task.3. Try it
> Use dekit to design a landing page for a task management appExamples
Design for mobile:
> Use dekit to design a mobile app for a fitness tracker, use the mobile templateAdd to an existing project:
> Initialize a dekit design project using the dashboard templateReview and give feedback:
Right-click any element in the preview and Copy Ref, then tell the agent:
> The hero section $${[email protected]} needs more padding, and make the CTA button blueAdd pages and components:
> Add a pricing page with a 3-tier card layout
> Create a ui-card component with an image slot and body slot