pe-design
Skill21 starsChanged 3 months agoApache-2.0View on GitHub
Design-process work before production code. Use to capture product and design-system context (PRODUCT.md / DESIGN.md), write a design brief for one feature or flow, set creative direction and taste, build wireframes / mockups / prototypes / diagrams / plans as self-contained HTML, render competing variations of a UI piece behind a picker, design onboarding and first-run flows, or record an approved artifact under .product/approved/. Triggers on design, design brief, "write a brief", "spec this feature", "shape this flow", direction, "how should this look/feel", wireframe, mockup, prototype, mock this up, diagram, "document our design system", DESIGN.md, "show me versions/variations", onboarding, empty states, first-run. The deliverable is a document or artifact — not production code (pe-build) and not a verdict on existing UI (pe-review).
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- foundrySkill
- pe-brand-assetsSkill
- pe-buildSkill
- pe-product-descriptionSkill
- pe-reviewSkill
- pe-verifySkill
- product-engineeringSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 25
Motion in artifacts must be motivated: If the reason doesn't fit one sentence, the element stays static.
≈ “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
Everything before production code. This spine routes; the craft lives in the reference files — load only what the mode needs.
Contract (all modes)
- Deliverables are documents and artifacts, never production code. The one sanctioned codebase touch is vary mode's throwaway picker harness, removed when a variant is promoted.
- Authority chain, every mode: the user's words → the project's design system (DESIGN.md, tokens, components) → the subject itself → your judgment. Never let a preset or a habit override an upstream authority.
- Derivation is the default; presets are commissions. Direction comes from the
subject and brief (
direct/index.md). A named preset (direct/presets/) is used only when the user's direction explicitly matches it. - Motion in artifacts must be motivated. If the reason doesn't fit one sentence, the element stays static.
Modes
| Mode | When | Load from references/ |
| understand | "Document our product / design system", DESIGN.md work | understand/index.md; understand/design-format.md + understand/templates.md for the schema; understand/url-and-validation.md for public-URL extraction and the lint/export gates; understand/generated-mode.md for greenfield systems |
| brief | "Write a brief for X", "spec this feature" — planning one feature, surface, or flow before code | brief/index.md (runs direct mode mid-flow when visual direction is materially unresolved) |
| direct | "How should this look / feel", creative direction, a register or palette decision | direct/index.md; check every visual choice against direct/slop-tells.md; direct/presets/ only on explicit match |
| mock | Wireframe, mockup, prototype, diagram, or plan as an HTML artifact | mock/index.md (the router), then the level file it names: wireframe.md, prototype.md, diagram.md, plan.md; shared craft in charts-and-data.md, diagrams.md, documents-and-presentations.md, interfaces.md |
| vary | "Show me N versions", compare directions in the real page | vary/index.md + vary/picker.md (the engineered picker), governed by vary/axes.md (one primary axis; the accessibility floor; ?variant=name URLs) |
| onboard | First-run, activation, setup, empty states, tours | onboard/index.md + onboard/patterns.md |
Disambiguation: understand documents the whole product durably; brief plans a single feature or flow. A mockup of something new is mock; N takes on one existing piece is vary. "Make it look better" on shipped UI is not this skill (pe-build). A named diff/branch/PR is never this skill (pe-review).
Approval
Runs only on the user's explicit approval of a brief, direction, mock, or variant —
"this is it", "ship this", "approved". Praise is not approval; if the words could mean
either, ask one line before writing. In the same turn: confirm a slug, then write
.product/approved/<slug>/ holding the artifact byte-for-byte as approved (plus
source/ when it was rendered from source) and approval.md — approved date, by whom,
from which conversation or variant, the exact state approved (layout, toggles, filters
as chosen), the decisions on the way (what was rejected and why), and what is explicitly
out of scope. A newer approval supersedes: rename the old folder <slug>--YYYY-MM-DD
(its approval date; append -2, -3 on a same-day collision), never delete it, and
never edit a record except to mark it superseded. If .product/ is absent, create it
and tell the user the convention: product-level records live there, human-readable and
diffable, owned by the user.
Name mapping
The mock files route to skills by name (html-wireframe, html-prototype,
html-diagram, html-plan, design-artifact — including ../design-artifact/SKILL.md
links): resolve to this skill's mock/wireframe.md, mock/prototype.md,
mock/diagram.md, mock/plan.md, and direct/index.md respectively. Their relative
references/*.md links resolve to the same mock/ folder. The creative-direction.md
fallback resolves to direct/index.md.
Handoffs
Implementing a confirmed brief, chosen direction, mock, or winning variant → pe-build (with the DESIGN.md, any chosen preset, and the approved record named). Judging existing UI → pe-review. Behavior specs beyond PRODUCT.md's scope → pe-product-description. On-brand standalone assets → pe-brand-assets.
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.

