
Design discipline
Guides an agent to pick familiar, accessible, system-consistent UI patterns for frontend
Design discipline is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 7
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Design discipline
Design Discipline is a single-file instruction set for AI coding agents working on user interfaces. It covers UI, UX, layout, interaction, components, forms, tables, navigation, dialogs and dashboards. Rather than generating generic screens, the agent is directed to reuse existing components, tokens and state patterns in the codebase before inventing anything new.
The skill walks the agent through a fixed checklist: clarify the human task and primary action, check local conventions, prefer the most standard pattern, then stress-test the proposal against small screens, keyboard use and new users. It includes decision guidance for choosing between modals, drawers and full pages, tabs, steps and accordions, and tables, lists and cards, plus rules for forms, microcopy, responsive behavior and a visual hierarchy check.
It does not run scripts or call external tools. It expects the agent to have access to the project's design system and code, and it asks the agent to flag unusual or custom interactions for approval before implementation. Its output guidance suggests a structured design response covering pattern, fit, convention, reuse, states, accessibility and approval.
When your agent uses it
Use this skill for any UI, UX, layout, interaction, component, accessibility, or design-system related task. It helps choose familiar patterns, preserve system consistency, and avoid low-quality generated UI.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (10 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/design-discipline to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/debugbundle/debugbundle.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/design-discipline &&
cp -R "$tmp/.agents/skills/design-discipline" ~/.claude/skills/design-discipline &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/design-discipline inside it instead.
Copy the skill folder to ~/.agents/skills/design-discipline to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/debugbundle/debugbundle.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/design-discipline &&
cp -R "$tmp/.agents/skills/design-discipline" ~/.agents/skills/design-discipline &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/design-discipline inside it instead.
Copy the skill folder to ~/.cursor/skills/design-discipline to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/debugbundle/debugbundle.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/design-discipline &&
cp -R "$tmp/.agents/skills/design-discipline" ~/.cursor/skills/design-discipline &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/design-discipline inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/debugbundle/debugbundle.git --path .agents/skills/design-disciplineOr copy the folder to ~/.gemini/skills/design-discipline yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/design-discipline:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/debugbundle/debugbundle.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/design-discipline &&
cp -R "$tmp/.agents/skills/design-discipline" ~/.copilot/skills/design-discipline &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/design-discipline inside it instead.
Get the folder:
git clone --depth 1 https://github.com/debugbundle/debugbundle.gitThen copy debugbundle/.agents/skills/design-discipline into your agent's skills folder as design-discipline. Agents that support SKILL.md read one folder per skill.
What it does
- Familiar pattern selection
- Guidance for choosing standard patterns such as modal, drawer, page, tabs, steps, table or list.
- Existing system reuse
- Rules to use the project's components, tokens and layout primitives before building custom UI.
- Interaction state coverage
- Checklist of hover, focus, disabled, loading, empty, error and success states.
- Accessibility requirements
- Expectations for semantic markup, keyboard navigation, visible focus and non-color cues.
- Form and microcopy rules
- Guidance on labels, validation, helper text, error handling and clear button wording.
- Responsive design judgment
- Approach for mobile-first baselines with desktop layouts that diverge when the task needs it.
Good for
- Design a settings page or form for a new feature in an existing app
- Choose between a modal, drawer or full page for an editing workflow
- Review a dashboard for hierarchy, clutter and action placement
- Check a component for missing loading, empty and error states
- Make a table or list responsive without losing the core task
Design discipline FAQ
What does Design discipline need to run?
It has no scripts or tools. It is a SKILL.md instruction file, and it works best when the agent can inspect the project's existing components and design tokens.
When does Design discipline trigger?
Its description says it applies to any UI, UX, layout, interaction, component, accessibility or design-system related task.
Does Design discipline change the code directly?
It guides the agent's decisions and output structure. It does not include code generators or file-writing scripts.
How do I install Design discipline in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/design-discipline to use it in all your projects, or to .claude/skills/design-discipline in one project.
Does Design discipline run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Design discipline?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Design discipline?
The closest alternatives to Design discipline are Frontend design, UI UX pro max, Frontend design, Design and Frontend design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from debugbundle/debugbundle

Gives agents runtime error, incident and uptime evidence from DebugBundle to guide fixes
- Open source
- 7 GitHub stars
- Developer tools

Runs a mandatory doc sync against code changes at the end of each project phase
- Open source
- 7 GitHub stars
- Developer tools

Runs a structured checklist for what could still break before a phase ships
- Open source
- 7 GitHub stars
- Developer tools

Saves status, open decisions and stopping point so the next session resumes cleanly
- Open source
- 7 GitHub stars
- Developer tools

Guides an AI agent through adding, fixing and styling shadcn/ui components
- Open source
- 7 GitHub stars
- Developer tools





