Co-Pilot
Updated a month ago

interface-design

DDammyjay93
1.4k
dammyjay93/interface-design
82
Agent Score

💡 Summary

Interface Design helps create consistent and intentional UI by saving design decisions across sessions.

🎯 Target Audience

UI/UX DesignersFrontend DevelopersProduct ManagersDesign System EngineersAgile Teams

🤖 AI Roast:Powerful, but the setup might scare off the impatient.

Security AnalysisCritical Risk

Risk: Critical. Review: shell/CLI command execution; outbound network access (SSRF, data egress); filesystem read/write scope and path traversal. Run with least privilege and audit before enabling in production.

Interface Design


What This Does

When you build UI with Claude, 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. Memory — Save decisions to .interface-design/system.md, load automatically
  3. Consistency — Every component follows 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 each session
  • 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

Plugin (Recommended)

# Add the marketplace /plugin marketplace add Dammyjay93/interface-design # Install the plugin /plugin menu

Select interface-design from the menu. Restart Claude Code after.

Gets you:

  • Principle-based craft for every UI component
  • Automatic system.md loading every session
  • Per-component design checkpoint
  • Commands (/interface-design status, audit, extract)

Manual (Advanced)

git clone https://github.com/Dammyjay93/interface-design.git cd interface-design cp -r .claude/* ~/.claude/ cp -r .claude-plugin/* ~/.claude-plugin/

Restart Claude Code.


How It Works

The Flow

When you build UI with interface-design:

If system.md exists:

✓ Reads skill files and principles
✓ Loads .interface-design/system.md
✓ Applies established patterns
✓ States design choices before each component
✓ 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. States design choices before each component
5. Builds with consistent principles
6. Offers to save system

Example: First Session

You: "Build a user dashboard with metrics cards"

Claude:
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"

Claude:
✓ 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 loads automatically at session start. Claude sees it and maintains consistency.


Commands

/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

Design Directions

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

| Direction | Feel | Best For | |-----------|------|----------| | Precision & Density | Tight, technical, monochrome | Developer tools, admin dashboards | | Warmth & Approachability | Generous spacing, soft shadows | Collaborative tools, consumer apps | | Sophistication & Trust | Cool tones, layered depth | Finance, enterprise B2B | | Boldness & Clarity | High contrast, dramatic space | Modern dashboards, data-heavy apps | | Utility & Function | Muted, functional density | GitHub-style tools | | Data & Analysis | Chart-optimized, numbers-first | Analytics, 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 new plugin /plugin marketplace add Dammyjay93/interface-design /plugin menu

Your system.md files (if any) continue to work — just rename .ds-engineer/ to .interface-design/.


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


5-Dim Analysis
Clarity9/10
Novelty7/10
Utility8/10
Completeness9/10
Maintainability8/10
Pros & Cons

Pros

  • Ensures design consistency across sessions.
  • Saves design decisions for future use.
  • Facilitates professional interface crafting.
  • Offers a structured approach to UI design.

Cons

  • May require initial setup effort.
  • Learning curve for new users.
  • Limited to specific types of interfaces.
  • Dependency on Claude Code environment.

Related Skills

flutter-claude-code

A
toolCo-Pilot
82/ 100

“Powerful, but the setup might scare off the impatient.”

design-tokens-skill

A
toolCo-Pilot
82/ 100

“Powerful, but the setup might scare off the impatient.”

claude-designer-skill

A
toolCo-Pilot
82/ 100

“Powerful, but the setup might scare off the impatient.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author Dammyjay93.