Skip to content
Back to skills

Design

ASecurity

Hold an interface to a real design bar - a written design plan before any code, a distinct identity per product, measured screenshots at phone and desktop widths, two critique passes, accessibility and motion rules, and the owner's verdict as the exit. Use when building or restyling a website, landing page, app screen, dashboard or component, when the user says "make it look good", "premium", "polish the UI", "redesign", "it looks generic", or rejects a design.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsrustgo

Works with

  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add mohamedbechirkefi/mandatum --skill design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mohamedbechirkefi-design/badge)](https://www.skillsdirectory.com/skills/mohamedbechirkefi-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design
description: Hold an interface to a real design bar - a written design plan before any code, a distinct identity per product, measured screenshots at phone and desktop widths, two critique passes, accessibility and motion rules, and the owner's verdict as the exit. Use when building or restyling a website, landing page, app screen, dashboard or component, when the user says "make it look good", "premium", "polish the UI", "redesign", "it looks generic", or rejects a design.
---

# Design

Interfaces fail review for one reason more than any other: they look like every other
generated page. The remedy is to decide what this product looks like, in writing, before
writing any markup, and then to measure the result instead of trusting it.

## 1. A design plan before code

Write it into the phase doc or `docs/design.md`. One page:

- **Who and what for**: the visitor, what they should do, what they should remember.
- **Palette**: a small set of named colours with roles (ground, ink, accent, signal) and
  measured contrast for text pairs.
- **Type**: two typefaces at most, with a scale. Choose them for this product; do not
  reuse the pair from the last one.
- **Layout**: a wireframe in text for phone and desktop, with the reading order.
- **Motion**: what moves, when, and why. Each animation needs a reason.
- **One memorable thing**: the single element a visitor would describe to someone else.
- **Banned list**: the tells of a generated page that this design will not use. For
  example: a purple-to-blue gradient hero, three identical feature cards with emoji
  icons, a centred headline over a generic blob, glass panels everywhere, the same
  rounded-xl shadow card for every block.

Several products in one family each get their own plan and their own identity (logo,
favicon, social image). Shared templates are where sameness comes from.

## 2. Build rules

- Design at phone width first; desktop is the enlargement, not the other way round.
- Touch targets at least 44 px. Visible focus states. Real semantic elements, with
  accessible names.
- Animate `transform` and `opacity` only; they do not trigger layout. Provide a
  reduced-motion variant for every animation.
- Self-host fonts and assets where the licence allows; a page that depends on a third
  party's server breaks when that server changes.
- Empty, loading, error and long-content states are part of the design.
- **A visual change never alters a number, a fixture or an accessible name.** If a test
  that pins content fails after a restyle, the restyle is wrong.

## 3. Measure it

A screenshot is a measurement, and measurements have error.

- Capture at a real phone width (390 px) and a desktop width (1440 px). A narrowed
  desktop window is not a phone.
- Wait for fonts and entry animations to finish before capturing.
- Capture each state and each section, not only the top of the page.
- If a capture shows a defect, confirm it in the computed styles or a clipped capture
  before changing the product. Some defects exist only in the capture.
- Never overwrite captures a review or report already cites; write new ones beside them.

## 4. Critique twice

Look at every capture yourself, slowly, as a designer who dislikes it. First pass:
hierarchy, spacing rhythm, alignment, contrast, overflow, orphaned words, anything
cramped or clipped. Fix. Second pass on fresh captures: does it match the plan, does the
memorable thing land, does anything on the banned list appear.

Run an automated accessibility check and read its own PASS line. Check keyboard
navigation by hand.

## 5. The owner's verdict is the exit

You cannot fully judge your own design; self-review has passed layouts the owner
rejected on sight. Show the captures, say what you are unsure about, and treat rejection
as information about the bar. Record the specific objection in the phase doc so the next
attempt answers it, and put lasting preferences ("no matched fonts across products") in
the charter's quality bar.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.