# Design discipline

> Design discipline is an open-source agent skill for design and media. Guides an agent to pick familiar, accessible, system-consistent UI patterns for frontend. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/debugbundle/debugbundle/tree/main/.agents/skills/design-discipline
- **Repository:** https://github.com/debugbundle/debugbundle
- **GitHub stars:** 7
- **License:** Apache-2.0
- **Skill name:** design-discipline
- **Collection:** https://github.com/debugbundle/debugbundle
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/debugbundle/debugbundle/tree/HEAD/.agents/skills/design-discipline)
- [License: Apache-2.0](https://github.com/debugbundle/debugbundle/tree/HEAD/.agents/skills/design-discipline)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/design-discipline` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/design-discipline` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/design-discipline` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/debugbundle/debugbundle.git --path .agents/skills/design-discipline
```

Or copy the folder to `~/.gemini/skills/design-discipline` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/design-discipline`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/debugbundle/debugbundle.git
```

Then 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.

## 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.

## Alternatives

- [Frontend design](https://ai-powered.com/skills/frontend-design-melandlabs): Frontend design is an open-source agent skill for design and media.
- [UI UX pro max](https://ai-powered.com/skills/ui-ux-pro-max): UI UX pro max is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.
- [Design](https://ai-powered.com/skills/design-rshankras): Design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design): Frontend design is a free agent skill for design and media.
- [Design](https://ai-powered.com/skills/design): Design is an open-source agent skill for design and media.
- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.
- [Anti UI slop](https://ai-powered.com/skills/anti-ui-slop): Anti UI slop is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/design-discipline
