Interface Craft
FreeDesign a screen around one job, one primary action, and the empty, loading, and error states before any decoration.
Purpose
Stop agents from producing generic pages that look finished but cannot be used.
Procedure
--- name: interface-craft description: Design a screen around one job, one primary action, and the empty, loading, and error states before any decoration. ---
Interface Craft
Purpose
Stop agents from producing generic pages that look finished but cannot be used.
Procedure
Before writing interface code, write a six-line brief in the working notes, not as a comment dump in the component:
- Who is on this screen, and what job are they finishing?
- Which decisions must they make, in order?
- What is the single primary action? Name every other action as secondary or destructive.
- What does empty, loading, error, and success look like?
- What density is appropriate: comfortable for infrequent setup, compact for repeated scanning?
- Which existing components, type sizes, and spacing steps will be reused?
Then build only that. Do not introduce a new accent color, a new radius, or a second button style.
Layout rules:
- Narrow screens are one column. Content must not require horizontal scrolling.
- The title and the primary action share the first row on wide screens and stack on narrow ones.
- Labels sit with their controls. Helper text is optional and never the only instruction.
- Touch targets are at least 44px. Focus order follows visual order.
Finish by checking the brief against the result. If a control does not serve the job, remove it. Return a three-line summary of the decisions. Do not add a hero, testimonial, or gradient to an application screen.
Example requests
1. Rebuild a settings screen
Request: Use Interface Craft on the account settings page. Keep the existing data. Do not add a marketing hero. Expected: A short decision list, then a settings layout with one primary save action and explicit error state.
Dependencies
None. Work in the repository that is already open. Do not add packages unless the procedure names one.
Compatibility
This document follows the Agent Skills layout (a folder named interface-craft containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it. Last verified 2026-11-15.
Example prompts
Rebuild a settings screen
Use Interface Craft on the account settings page. Keep the existing data. Do not add a marketing hero.
Expected: A short decision list, then a settings layout with one primary save action and explicit error state.
Choose the agent
This skill is installed for one agent at a time. Pick the section you are using.
Related
- SaaS Dashboard
Structure an operational dashboard: status first, then the queue of work, then detail. No vanity metrics.
- Form States
Build forms with labels, inline errors, pending submits, and no silent failure.
- Responsive Shell
Build an application shell that works at 390px and on a laptop: navigation, scroll, and safe targets.
Reviews
No reviews yet.
Sign in to review.
Report a problem
Inaccurate steps, an unsafe instruction, or a licensing concern.
Sign in to report.