design-directions
Skill9 starsChanged 5 months agoMITView on GitHub
Generate several deliberately divergent single-file HTML prototypes with fake data so the user can react before real implementation — iterable HTML, not one generated image or a Cursor canvas. Use when the user wants design options or a UI mockup to react to ("mock up a page"), says "design directions", "出几个设计方向", "出几版 UI", "哪种页面风格好", "我说不好想要什么样", or can only judge a design by seeing it; also consider offering directions first when the user asks to build a UI whose look was never discussed. Not for technical feasibility spikes or functional MVPs ("做个原型验证跑不跑得通"), and not for copying one concrete reference as the end state (use reference-hunt); a reference named only as inspiration stays here.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- wlsdks/ontology-atlastheir own version, first seen Sep 28, 2026
- casoon/ai-agent-configtheir own version, first seen Sep 27, 2026
- Onkarj012/skillstheir own version, first seen Aug 18, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- wlsdks/ontology-atlas★ 141same name
- casoon/ai-agent-config★ 1same name
- Onkarj012/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- blindspot-passSkill
- change-quizSkill
- field-guideSkill
- implementation-notesSkill
- implementation-planSkill
- interview-meSkill
- pitch-explainerSkill
- reference-huntSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 76
Do not modify application code, add dependencies, or wire up backends at this stage.
- Distinctive: line 78
Use realistic fake data (plausible names, numbers, edge-case lengths) — lorem ipsum hides layout problems.
- Distinctive: line 80
If the project has an established design system, keep its tokens and branding.
- Distinctive: line 82
Do not build these prototypes as Cursor canvases: canvas locks a single flat visual style and only works in Cursor.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design Directions
The user has "unknown knowns": criteria they can only articulate when they see something. Give them things to react to, cheaply, before touching real code.
Workflow
- Confirm scope from context: what surface is being designed (page, panel, component, report) and what data it shows. Do not ask more than one clarifying question; guessing reasonably is part of the point. If it turns out the user wants a technical feasibility spike, say this skill does not apply and build the spike instead.
- Build 4 deliberately different directions by default (fewer only if the user asks; at one direction this skill's divergence machinery is moot — say so, and either just build it or propose a second contrasting take). Different means different layout philosophy, density, hierarchy, or interaction model — not one design with four color schemes. Before building, put all directions on one shared set of axes (layout philosophy, density, hierarchy, interaction model) and state each direction's position on them; every pair of directions must sit at opposite ends of at least one axis.
- Deliver as self-contained HTML: inline CSS/JS, realistic fake data
hardcoded inline (in the language of the conversation), no build step,
no network calls. Aim for high-fidelity visuals — the user should react
to the design, not the sketchiness; static is fine, and add only the
minimum JS that makes the core loop legible (e.g. a ticking timer for a
timer app). When interaction itself is the core loop (charts, drag,
filtering), prefer rendering one frozen mid-interaction moment (tooltip
already open, panel mid-drag) over scripting it; script only what a
static frame cannot convey. Include a viewport meta; default to desktop
web unless the surface is obviously mobile — then wrap in a phone-width
(390px) frame. For non-web surfaces (CLI/TUI, email, native), still
deliver HTML but simulate the medium honestly — monospace grid and
16-color palette for a terminal — and never show an effect the real
medium cannot render. Default to one file per direction (a single file
with a direction switcher only if the user asks). Write files to a
scratch directory under the project root (
./design-directions/; in a non-project directory, confirm where to put them first), never into the real app; do not commit them. In a git repo, exclude the directory:n=design-directions/; p="$(git rev-parse --git-path info/exclude 2>/dev/null)" && { mkdir -p "$(dirname "$p")" && { grep -qxF "$n" "$p" || echo "$n" >> "$p"; }; } 2>/dev/null || echo "note: could not exclude — leaving it untracked, never staging it" - Name each direction with a short memorable label and one sentence on the idea behind it, so the user can say "the second one, but denser".
- Self-check before showing: render each file (headless browser or screenshot tool if available) and verify it holds up at the target viewport — no layout breakage, all fake data visible, no console errors. Then the divergence gate: if the screenshots shown side by side would read as tweaks of one design, rebuild the weakest until they don't. If no renderer is available, downgrade explicitly: run static checks (tags balanced, inline JS parses, no external URLs, viewport meta present) and tell the user the files are unrendered — ask them to report any breakage on first open. Fix what you find before presenting; a broken first render defeats the purpose.
- Present for reaction: screenshot each direction and embed the images in
your reply (fall back to
open design-directions/*.htmlif you cannot render), and ask what to keep and what to kill. Then iterate on the chosen direction, or combine elements on request.
Rules
- Do not modify application code, add dependencies, or wire up backends at this stage.
- Use realistic fake data (plausible names, numbers, edge-case lengths) — lorem ipsum hides layout problems.
- If the project has an established design system, keep its tokens and branding; diverge on layout, density, and information architecture instead.
- Do not build these prototypes as Cursor canvases: canvas locks a single flat visual style and only works in Cursor.
- Push at least one direction beyond the user's stated taste; the point is to discover what they didn't know they wanted. Under an established design system this rule stays inside the tokens: push on structure and information architecture, not on brand.
Examples
Four directions for a pomodoro timer:
- Monolith — one giant timer, fullscreen, nothing else on screen.
- Workbench — three-pane workspace: task list, timer, session stats.
- Garden — playful narrative: each finished session grows a plant.
- Ticker — data-dense terminal: streaks, logs, and stats in a grid.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

