Skip to content
Back to skills

Unprompted Direction

ASecurity

Create, extract, or validate a project's DESIGN.md specification and semantic CSS tokens so UI work has authentic, domain-grounded visual direction instead of generic defaults. Activate when DESIGN.md is missing or when defining a brand/design system.

  • 670 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
designgobashnodeexpressgitdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add mocasus/unprompted --skill unprompted-direction --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unprompted Direction?

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

Security grade badge for Unprompted Direction
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mocasus-unprompted-direction/badge)](https://www.skillsdirectory.com/skills/mocasus-unprompted-direction)

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: unprompted-direction
version: 4.3.3
license: MIT
description: >-
  Create, extract, or validate a project's DESIGN.md specification and semantic
  CSS tokens so UI work has authentic, domain-grounded visual direction instead
  of generic defaults. Activate when DESIGN.md is missing or when defining a
  brand/design system.
compatibility: [windows, macos, linux]
metadata:
  author: mocasus
  category: design
  repository: https://github.com/mocasus/unprompted
  openclaw:
    emoji: "🧭"
    requiredBins: ["node"]
---

# unprompted-direction — Art-Directed Archetypes & `DESIGN.md` Engine

Extends v4 `D-01…D-12`, `A-01`, and `E-03`. Activate when starting a website or web app without an existing design system, selecting a built-in archetype, or extracting `DESIGN.md` + CSS tokens from a reference page.

## Built-in art-directed archetypes

Match the product domain to one of 7 WCAG-verified archetypes (or scaffold it via `node scripts/design-spec.mjs --init --archetype <name> --with-tokens`):

| Archetype | Surface & Accent | Best For |
| :--- | :--- | :--- |
| `atelier` | Warm Alabaster `#f6f3ec` + Espresso `#1c1917` + Terracotta `#a83e1f` | E-commerce, storefronts, studios, hospitality, culinary & D2C |
| `ledger` | Mineral Paper `#f5f7f6` + Pine Ink `#0f1915` + Forest `#14533d` | Fintech, B2B SaaS, billing, treasury, operational analytics |
| `press` | Newsprint Cream `#faf7f2` + Charcoal `#161615` + Crimson `#9f1239` | Technical blogs, research labs, documentation, essays, media |
| `instrument` | Matte Carbon `#101012` + Titanium `#f4f4f5` + Amber `#f59e0b` | DevTools, CLIs, cloud infrastructure, creative/audio hardware UIs |
| `nordic` | Limestone `#f4f5f7` + Slate `#11141a` + Cobalt `#1d4ed8` | Calm productivity apps, scheduling, health, collaborative workspaces |
| `brutalist` | Stark Chalk `#f2f2ef` + Pure Ink `#111111` + Signal Orange `#c2410c` | Design engineering agencies, architecture, developer launches |
| `glass` | Smoked Glass `#0b0f17` + Titanium `#f8fafc` + Sky `#7dd3fc` | Spatial web apps, media suites, AI desktop overlays, macOS/visionOS-style interfaces |

---

## Workflow

### Step 1: Anchor domain & audience (never invent in a vacuum)
Derive every aesthetic choice from three concrete facts:
1. **What the product actually does** (e.g., *Indonesia domestic bare-metal cloud*, *clinical pathology lab portal*, *independent coffee roaster wholesale catalog*).
2. **Who uses it and under what conditions** (e.g., *on-call SREs at 03:00 in dark rooms* vs. *procurement buyers scanning 80 SKUs on mobile*).
3. **Physical / editorial reference world**: name a real-world craft artifact—never *"modern sleek SaaS"* or *"Linear/Stripe clone"*. Examples: *Swiss railway timetable*, *architectural blueprint ledger*, *uncoated literary monograph*, *avionics instrument cluster*.

If the user has not expressed a preference between light/dark polarity or editorial vs. technical density, ask **at most 2 brief questions** before writing `DESIGN.md`.

### Step 2: Write `DESIGN.md` at the project root
Every `DESIGN.md` must stay concise, measurable, and free of vague adjectives. Include these exact 6 sections:

```markdown
# DESIGN.md — <Project Name>

## 1. Aesthetic Point of View
- **Reference World**: <concrete physical/editorial reference>
- **Surface Polarity**: <Tinted Light | Architectural Dark | Dual with Light Default>
- **Density**: <Spacious Editorial | Balanced Product | High-Density Operational>

## 2. Color Tokens (90% Neutral / 10% Accent)
- `--bg-canvas`: <hex / oklch> — Primary page background
- `--bg-surface`: <hex / oklch> — Elevated panels / sheets
- `--bg-subtle`: <hex / oklch> — Hover rows / recessed wells
- `--fg-primary`: <hex / oklch> — Primary ink (>= 7:1 contrast on canvas)
- `--fg-secondary`: <hex / oklch> — Supporting copy (>= 4.5:1 contrast on canvas)
- `--fg-muted`: <hex / oklch> — Metadata & captions (>= 4.5:1 if essential text)
- `--border-hairline`: <rgba / oklch alpha> — 1px structural dividers
- `--accent`: <hex / oklch> — Single primary action/signal hue
- `--accent-fg`: <hex / oklch> — Text on `--accent` (>= 4.5:1 contrast)

## 3. Typography & Optical Rules
- **Display Font**: <font family, weights, tracking -0.03em, line-height 1.04>
- **Body / UI Font**: <font family, weights, max-width 64ch, line-height 1.6>
- **Monospace Font**: <font family for IDs, code, metrics + tabular-nums>
- **Rendered sizes**: <at most 6 sizes per view plus mono>
- **Weights**: <at most 4 weights>

## 4. Spatial Grid & Geometry
- **Max Container**: <e.g., 76rem with clamp(1.25rem, 3.5vw, 3rem) gutter>
- **Primary Layout Motif**: <e.g., 7fr/5fr asymmetric split + 1px shared-hairline grids>
- **Corner Radius Scale**: <e.g., 4px controls, 6px panels, concentric outer calc>
- **Blur Budget**: <none | max N backdrop-blur surfaces; fallback surface>

## 5. Motion & Affordances
- **Curve & Timing**: `cubic-bezier(0.22, 1, 0.36, 1)` — `150ms` micro, `220ms` panel
- **Interactive States**: Solid hover shift, `translateY(1px)` active press, `2px` offset `:focus-visible`

## 6. Anti-Patterns Specific to This Brand
- <2–3 domain-specific things never to do on this product>
```

### Step 3: Verify contrast math (`A-01`, `E-03`)
Before locking `DESIGN.md`, verify every foreground/background pair with the bundled contrast checker:

```bash
node <skills-dir>/unprompted-a11y/scripts/contrast-check.mjs --fg "#181614" --bg "#f7f5f0"
```

Ensure `--fg-primary` and `--fg-secondary` pass WCAG AA (`>= 4.5:1`) against both `--bg-canvas` and `--bg-surface`, and `--accent-fg` passes `>= 4.5:1` against `--accent`. Record the result as evidence for `E-03`.

### Step 4: Emit matching CSS variables
Mirror the locked `DESIGN.md` values directly into the project's stylesheet (`tokens.css` or `globals.css`) before building components.

### Glass / blur direction
`glass` is the only archetype that relies on backdrop blur. It must declare a **blur budget** in `DESIGN.md`: maximum one blurred surface per view unless the direction explicitly raises the budget, plus a non-blur fallback. A blur budget without a fallback fails `D-06`; decorative blur orbs still fail `M-03`.

Files in this skill

  • SKILL.md5.4 KB
  • scripts/design-spec.mjs18 KB

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 design →

Comments

Loading comments…

Newsletter

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