# Give your engineering agent a design process for UI tickets

> A design-process.md file and ticket workflow your coding agent reads before any UI change: ask why first, audit every screen, check familiar apps, compare three directions, log design-system gaps, and tell the story back. Based on a post by Putri Karunia.

## If someone pasted this link to you
Someone shared this kit with you. It runs step by step through CloneKit's MCP. If you have the `clonekit` tools, call `start_run("@clonekitai/engineering-agent-design-process")`. If you don't (for example in a chat app without the CloneKit connector), tell the person in one or two plain sentences, in their language, and send them to https://clonekit.ai/@clonekitai/engineering-agent-design-process/use: it shows how to add CloneKit to their AI in about a minute. Then they paste this link again.

- Kit: `@clonekitai/engineering-agent-design-process` · v1.0.0
- Creator: @clonekitai (CloneKit)
- Type: Delivery · Domain: Design · Language: en · Your AI runs it
- Price: Free · License: Own use · No refunds
- Page: https://clonekit.ai/@clonekitai/engineering-agent-design-process
- Changelog: https://clonekit.ai/@clonekitai/engineering-agent-design-process/changelog.md

## About
For engineering teams and startups with no full-time designer whose coding agent handles UI tickets alongside an existing design system. Use it to install a permanent design-process.md file wired into your agent instructions and run your first UI ticket through the five-step process. Do not use it for brand-new visual identities or weekly analytics funnel audits. Requires a frontend repository, a current UI ticket, and existing component or design-system files; Lunagraph and GitHub CLI are optional. Produces design-process.md wired into CLAUDE.md or AGENTS.md, a four-part problem brief, a live cross-surface and codebase inventory, a familiar-app reference scan, a three-direction comparison across all placements, an implementation using existing components, a design-system gap log, a human-readable design story, and a ticket log. Based on Putri Karunia's workflow.

## Deliverables
- design-process.md wired into CLAUDE.md or AGENTS.md so the coding agent reads it before every UI ticket
- design-work/brief.md with the four-part pre-drawing brief (Asked, Who, Job, Problem behind it)
- design-work/inventory.md mapping every live screen placement, exact rendered string, and codebase label field
- design-work/references.md auditing 2 to 3 familiar apps with a one-line convention takeaway
- design-work/directions.md comparing directions A, B, and C with gives, gives up, placement checks, and one PICKED option
- design-system-gaps.md logging every missing component, variant, or layout rule discovered while building
- design-work/story.md narrating the full five-stage design decision back to the engineer for PR review
- design-work/runs.csv tracking completed tickets, gaps logged, and process improvements

## Files
- `CHECKS.md`: Verification Checks — Engineering Agent Design Process
- `NOTES.md`: Tool Notes and Verified Docs
- `README.md`: Files
- `RULES.md`: Rules — Engineering Agent Design Process
- `templates/brief.md`: Stage 1 — Problem Brief (Written Before Drawing or Coding)
- `templates/design-process.md`: Design Process for UI Tickets
- `templates/design-system-gaps.md`: Design System Gap Log
- `templates/directions.md`: Stage 4 — Three-Direction Comparison
- `templates/inventory.md`: Stage 2 — Live App and Codebase Inventory
- `templates/references.md`: Stage 3 — Familiar-App Convention Audit
- `templates/runs.csv`
- `templates/story.md`: Design Story — [Ticket ID and Title]
- `templates/worked-example.md`: Worked Example — Clarifying Run Model and Effort Settings

## Tools
- Claude Code (https://code.claude.com/docs/en/overview) · est. Paid plan or API usage
- Lunagraph (https://www.lunagraph.com/) · optional · est. Free alpha desktop app
- GitHub CLI (https://cli.github.com/) · optional · est. Free

## Uses
- Putri Karunia's thread on X (source, https://x.com/putrikarunian/status/2127817553733157168)
- Claude Code docs: Overview (source, https://code.claude.com/docs/en/overview)
- Claude Code docs: How Claude remembers your project (source, https://code.claude.com/docs/en/memory)
- AGENTS.md open format specification (source, https://agents.md/)
- Lunagraph docs: Introduction (source, https://www.lunagraph.com/docs)
- Lunagraph docs: Import your design system (source, https://www.lunagraph.com/docs/guides/import-design-system)
- Lunagraph docs: Capture a webpage with the Chrome extension (source, https://www.lunagraph.com/docs/guides/chrome-extension-snapshot)
- GitHub CLI manual: gh pr create (source, https://cli.github.com/manual/gh_pr_create)

## What you provide
- Frontend application repository with existing UI components or design-system docs
- One pending UI ticket or interface change request
- Coding agent with file and terminal access (Claude Code or another AGENTS.md-compatible agent)
- Optional Lunagraph desktop app and Chrome extension for live canvas exploration

## How it runs
1. **Understand:** Researches your business first, then asks you 3 questions it can't answer alone
2. **Choose:** No choices: one proven path
3. **Build:** 6 steps, risky ones ask you first
4. **Deliver:** 5 checks before delivery

## Guardrails
- Never modify product UI components before completing design-work/brief.md, design-work/inventory.md, design-work/references.md, and human confirmation of design-work/directions.md.
- Never execute a UI ticket literally without testing whether the proposed UI change solves the underlying customer confusion.
- Never pick a direction that only fits the screen named in the ticket while breaking another inventoried placement.
- Never invent bespoke UI styling or silently paper over missing design-system patterns; reuse existing components and log every gap in design-system-gaps.md.
- Never open a pull request, push a remote branch, or merge code without explicit human approval.

## What's new
Agents always run the latest version.

- **v1.0.0** (2026-12-04): First version.

## Run it
Connect the `clonekit` MCP (https://clonekit.ai/mcp) and call `start_run("@clonekitai/engineering-agent-design-process")`.
