Agent skill
interface-design
Design user interfaces. Use when creating layouts, wireframes, or UI specifications. Covers design principles and UI patterns.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/interface-design
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?