feature-design

Turn an approved brief into a mockup before frontend coding: pick the page pattern, list every screen and every state the config requires (default, loading, empty, error, no-permission, long content, right-to-left, mobile), map each element to a component that exists in the company's own design system, flag anything new, and record a versioned approval. Reads the design system, component index, required states and languages from delivery.config.yaml. Use when the user says "design ACME-123", "mock this up", "draw the screens for this brief", "/feature-design", or has an approved brief with UI and no approved mockup.

Qu'est-ce que feature-design ?

feature-design is a Claude Code agent skill that turn an approved brief into a mockup before frontend coding: pick the page pattern, list every screen and every state the config requires (default, loading, empty, error, no-permission, long content, right-to-left, mobile), map each element to a component that exists in the company's own design system, flag anything new, and record a versioned approval. Reads the design system, component index, required states and languages from delivery.config.yaml. Use when the user says "design ACME-123", "mock this up", "draw the screens for this brief", "/feature-design", or has an approved brief with UI and no approved mockup.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Abdelrahman1412/delivery-kit/tree/HEAD/skills/feature-design

Installed? Explore more Développement et programmation skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Feature design: a mockup the frontend can build exactly

Stage Design of the delivery process. Output: a design spec from <kit>/templates/design-spec.md saved next to the brief as <TICKET>-<slug>.design.md, plus the mockup link.

Why this stage exists. A brief cannot catch "it doesn't look or behave like the rest of the product": wrong spacing, a hand-built table where a shared one exists, a missing empty state. A mockup made from the components that already exist can, because the developer then builds what was approved instead of interpreting a picture.

Load the config

Find delivery.config.yaml (DELIVERY_CONFIG, else the current folder, else the nearest parent). <kit> is two folders above this skill's real path. Use:

  • design.system_name and design.system_url: the only design system the mockup may use;
  • design.component_index: the file that lists real components (path under workspace.root);
  • design.required_states: the columns of the state matrix;
  • design.languages: the languages every piece of copy needs;
  • approvers.design: who approves; the frontend repo's rulebooks for UI rules.

Hard rules

  1. Only components that exist. Every element maps to an export in design.component_index (show it with git grep on origin/<base>). Anything else is labelled NEW: <what> on the mockup and listed in the spec with a reason and an owner. Never invent one silently.
  2. Every required state, or it will not be built. Each screen shows each state in design.required_states, plus what the user sees for each negative and no-permission criterion.
  3. Every control has a defined behaviour. No decorative buttons, no hints at features that do not exist.
  4. Real copy, in every language in design.languages. No placeholder text.
  5. Approval is per version. approvers.design approves a version number. Any change after that is a new version and needs a new approval.

Workflow

1. Read the brief

Roles and what each sees (section 2), every criterion with a visible result (section 4), the negative and no-permission criteria, edge cases with a UI consequence (section 6), and the scope, so you do not draw what is out of scope. If the brief is not approved and the size needs the scope gate, stop.

2. Pick the page pattern

Choose the pattern for each screen (list, detail, form, wizard, settings, approval inbox…) from the frontend rulebook or the design system's pattern pages. Open one existing screen that follows it on origin/<base> and note what it already does: header, filters, table, empty state, permission handling. New screens follow the pattern. A deviation needs a written reason.

When extending an existing screen, open its code first. The mockup keeps everything the screen already does unless the brief says otherwise.

3. Screen inventory

Fill the spec's inventory table: screen or dialog, pattern, components by export name, criteria shown. This table is the deliverable even when no picture is drawn: the frontend developer and feature-plan work from it.

4. Draw the mockup

Use whatever the user's tools support (a design artifact, a design tool connected through MCP, or a prompt the user pastes into their design tool). In every case, name the design system explicitly:

Design system: <design.system_name> (<design.system_url>). Use only its components, by export name.
Label anything missing as "NEW: <what>".
Feature: <ticket and one-line problem>. Users: <roles from the brief>.
Pattern: <pattern>, following <reference screen>.
Screens: <inventory rows>.
For each screen draw: <design.required_states>.
Show these criteria visibly: <criteria with a UI result>.
Refused actions show: <negative and no-permission criteria>.
Copy: sentence case, buttons say what happens, real labels in <design.languages>.
Do not draw: <out of scope from the brief>.

5. Self-check, then hand off

  • Every inventory component greps in the component index, or is marked NEW.
  • Every cell of the state matrix is ticked, for every screen.
  • Every brief criterion with a UI result is visible on some screen.
  • The copy table has every string in every language.

Then add the mockup link, the version and the states to brief section 8, set the spec's approval history row to "waiting", and ask approvers.design to approve that version. Post the link to the ticket only on a yes.

Output

  • The design spec with inventory, state matrix, refused actions, new components, copy and approval history.
  • The mockup link, recorded in the brief.
  • The list of NEW: components for the frontend pattern owner.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Skills associés