Interface Design

June 12, 2026 · View on GitHub

Craft · Memory · Consistency

Build interfaces with intention. Remember decisions across sessions. Maintain systematic consistency.

For interface design — dashboards, apps, tools, admin panels. Not for marketing sites.

Install · How It Works · Examples · Website


What This Does

When you build UI with a coding agent, design decisions get made: spacing values, colors, depth strategy, surface elevation. Without structure, those decisions drift across sessions.

Interface Design helps you:

  1. Craft — Principle-based design that produces professional, polished interfaces
  2. Visual direction — In Codex, use native image generation for direction boards, UI references, and critique paintovers when useful
  3. Memory — Save decisions to .interface-design/system.md, then reload them when the skill runs
  4. Consistency — UI changes follow the same principles throughout the session

Make choices once. Apply them consistently.

Before & After

Without interface-design:

  • Every session starts from scratch
  • Button heights drift (36px, 38px, 40px...)
  • Random spacing values (14px, 17px, 22px...)
  • No consistency across components

With interface-design:

  • System loads automatically when the skill runs
  • Codex can explore direction boards and paintovers with image generation
  • Patterns reused (Button: 36px, Card: 16px pad)
  • Spacing on grid (4px, 8px, 12px, 16px)
  • Consistent depth and surface treatment throughout

See the difference: interface-design.dev/examples.html


Installation

Use the installer shown on the interface-design skills.sh page:

npx skills add https://github.com/dammyjay93/interface-design --skill interface-design

The CLI detects supported agents and installs the skill in the right place. Useful variants:

# Install globally for the current detected agent
npx skills add https://github.com/dammyjay93/interface-design --skill interface-design -g

# Install for a specific agent
npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent claude-code -g
npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent codex -g

# Install for all supported agents
npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent '*' -g -y

# Preview available skills without installing
npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --list

Review installed skills before use. Skills run with the same permissions as your coding agent.

Agent Notes

Claude Code

Recommended install:

npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent claude-code -g

This installs the core skill to ~/.claude/skills/interface-design. Claude Code can auto-invoke it when relevant, and you can invoke it directly as /interface-design.

Claude Code plugin install is still supported if you prefer Claude Code's marketplace/plugin flow:

/plugin marketplace add Dammyjay93/interface-design
/plugin menu

Select interface-design from the menu, then restart Claude Code.

Codex

Recommended install:

npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent codex -g

The skills CLI installs Codex skills to ~/.agents/skills/interface-design, which Codex scans. Restart Codex, or start a fresh Codex thread, if the skill does not appear immediately.

Use the Codex slash command when available, invoke the skill explicitly in prompts, or let Codex invoke it when the request is clearly product UI work:

  • /interface-design
  • /interface-design audit src/components
  • use interface-design critique on the dashboard

Other Skill-Compatible Agents

Use the same CLI with an agent target:

npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent <agent-name> -g

Compatibility Matrix

AgentInstallSkill supportSlash commandsNotes
Claude Codenpx skills add ... --agent claude-code -gYes/interface-designPlugin marketplace remains supported
Codexnpx skills add ... --agent codex -gYes/interface-designSlash command and natural language both work
All supported agentsnpx skills add ... --agent '*' -g -yDepends on agentDepends on agentGood for multi-agent setups

Manual Fallback

If you cannot use npx, copy the core skill folder manually:

git clone https://github.com/Dammyjay93/interface-design.git
cd interface-design

# Claude Code
mkdir -p ~/.claude/skills
cp -R .claude/skills/interface-design ~/.claude/skills/

# Codex / shared agent-skills location
mkdir -p ~/.agents/skills
cp -R .claude/skills/interface-design ~/.agents/skills/

Restart the target agent after manual installation.


How It Works

The Flow

When an agent uses interface-design:

If system.md exists:

✓ Reads skill files and principles
✓ Loads .interface-design/system.md
✓ Applies established patterns
✓ Keeps design choices explicit
✓ Offers to save new patterns

If no system.md:

1. Reads skill files and principles
2. Assesses project context
3. Suggests direction, asks for confirmation
4. Keeps design choices explicit while building
5. Builds with consistent principles
6. Offers to save system

Example: First Session

You: "Build a user dashboard with metrics cards"

Agent:
This feels like a data-heavy dashboard — I'd suggest:
- Depth: Borders-only (clean, technical)
- Surfaces: Subtle elevation shifts
- Spacing: 8px base

Does this direction fit?

[You: y]

Depth: borders-only
Surfaces: 7% → 9% → 11% lightness scale
Borders: rgba(255,255,255,0.06)
Spacing: 8px base

[Builds dashboard with consistent depth, spacing, surfaces]

Want me to save these patterns to .interface-design/system.md?

[You: y]

✓ System saved

Example: Second Session

You: "Add a settings page"

Agent:
✓ Loaded system.md

Depth: borders-only
Surfaces: using established scale
Borders: rgba(255,255,255,0.06)
Spacing: 8px base

[Builds settings page matching existing system]

Want me to save any new patterns?

The system remembers across sessions.


System File

After establishing direction, your decisions live in .interface-design/system.md:

# Design System

## Direction
Personality: Precision & Density
Foundation: Cool (slate)
Depth: Borders-only

## Tokens
### Spacing
Base: 4px
Scale: 4, 8, 12, 16, 24, 32

### Colors
--foreground: slate-900
--secondary: slate-600
--accent: blue-600

## Patterns
### Button Primary
- Height: 36px
- Padding: 12px 16px
- Radius: 6px
- Usage: Primary actions

### Card Default
- Border: 0.5px solid
- Padding: 16px
- Radius: 8px

This file is loaded by the interface-design skill when relevant. Claude Code and Codex use it to maintain consistency.


Agent Usage

Claude Code

With the skills.sh install, invoke the skill directly or let Claude Code auto-invoke it:

/interface-design
use interface-design to build this dashboard
use interface-design to audit this settings page

If you installed through the Claude Code plugin flow, the legacy command files in .claude/commands also provide:

/interface-design:init           # Start building with design principles
/interface-design:status         # Show current system
/interface-design:audit <path>   # Check code against system
/interface-design:extract        # Extract patterns from existing code
/interface-design:critique       # Critique the build for craft, then rebuild weak spots

Codex Invocation

Codex uses the same skill content and can invoke it through the slash command or natural language:

/interface-design
/interface-design status
/interface-design audit src/components
/interface-design extract
/interface-design critique

use interface-design status
use interface-design audit src/components
use interface-design extract
use interface-design critique

Claude Code also ships legacy command files such as /interface-design:status; Codex does not need those files to perform the same actions. For visual direction work, the skill can also invoke $imagegen for direction boards, UI reference mockups, screenshot paintovers, and project-bound raster assets.


Design Directions

The skill infers direction from project context, but you can customize:

DirectionFeelBest For
Precision & DensityTight, technical, monochromeDeveloper tools, admin dashboards
Warmth & ApproachabilityGenerous spacing, soft shadowsCollaborative tools, consumer apps
Sophistication & TrustCool tones, layered depthFinance, enterprise B2B
Boldness & ClarityHigh contrast, dramatic spaceModern dashboards, data-heavy apps
Utility & FunctionMuted, functional densityGitHub-style tools
Data & AnalysisChart-optimized, numbers-firstAnalytics, BI tools

Examples

See live examples at interface-design.dev/examples.html

For system file templates, see reference/examples/:


Migration from claude-design-skill

This repo was renamed from claude-design-skill.

All old URLs redirect automatically.

If you installed the old skill:

# Uninstall old
rm -rf ~/.claude/skills/design-principles

# Install the current skill
npx skills add https://github.com/dammyjay93/interface-design --skill interface-design --agent claude-code -g

Your system.md files (if any) continue to work. Rename .ds-engineer/ to .interface-design/ if you have not already.


Philosophy

Decisions compound. A spacing value chosen once becomes a pattern. A depth strategy becomes an identity.

Consistency beats perfection. A coherent system with "imperfect" values beats a scattered interface with "correct" ones.

Memory enables iteration. When you can see what you decided and why, you can evolve intentionally instead of drifting accidentally.


License

MIT — See LICENSE


Website · GitHub