Interface Design
Designinterface-designInterface Design is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Design user interfaces. Use when creating layouts, wireframes, or UI specifications. Covers design principles and UI patterns.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/interface-design/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/interface-design, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Interface Design
Design Principles
1. Clarity
Make the interface obvious. Users shouldn't have to guess.
2. Consistency
Same actions, same results. Maintain patterns throughout.
3. Feedback
Respond to every action. Show progress, confirm success, explain errors.
4. Efficiency
Minimize steps. Optimize common workflows.
5. Forgiveness
Allow undo. Confirm destructive actions. Recover gracefully.
UI Patterns
Navigation
- Top Nav: Primary navigation, global actions
- Side Nav: Section navigation, hierarchical content
- Breadcrumbs: Show location in hierarchy
- Tabs: Switch between related views
Forms
- Label above input
- Clear validation messages
- Inline validation where helpful
- Logical field grouping
- Clear call-to-action
Feedback
- Loading states
- Success confirmations
- Error messages
- Empty states
- Progress indicators
Actions
- Primary action prominent
- Secondary actions subtle
- Destructive actions require confirmation
- Disabled states clear
Layout Principles
Visual Hierarchy
- Size indicates importance
- Color draws attention
- Spacing groups elements
- Alignment creates order
Grid System
.container {
display: grid;
grid-template-columns: repeat(12, 1fr);
gap: 1rem;
}
Responsive Design
- Mobile-first approach
- Breakpoints: 640px, 768px, 1024px, 1280px
- Fluid typography
- Flexible images
Design Specification
When handing off to development:
- Color values (hex/RGB)
- Typography (font, size, weight, line-height)
- Spacing (margins, padding)
- Component states (default, hover, active, disabled)
- Responsive behavior
- Animations/transitions