ux-create-manifest
Skill305 starsChanged 9 months agoApache-2.0View on GitHub
Create the initial Product UX Bible for an existing web or full-screen web app by deeply auditing the repository, using sub-agents when available, and generating docs/ux manifests, schemas, budgets, surface maps, action taxonomy, and design-token policies from observed code.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- llms.txtllms.txt
- debug-uiSkill
- ux-principalSkill
- verify-changesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 12 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when:
- Very specific: line 30
If the project has a test budget on doc size (dev3: src/bun/__tests__/ux-docs-budget.test.ts), respect it — compact rather than raise it.
- Very specific: line 37
Do NOT create UX_MANIFEST_CHANGELOG.md (git history is the changelog), UX_AUDIT_REPORT.md (the audit is your final chat response, not a …
- Very specific: line 47
Prefer fast commands: find, rg, git ls-files, tree, package manifests, route files, and existing docs.
- Very specific: line 48
If possible, run python scripts/ux_inventory.py --root /path/to/repo from this skill directory.
- Very specific: line 52
If the environment supports sub-agents, Task tools, parallel workers, or planner agents, spawn the sub-agents in …
- Distinctive: line 53
Run them in parallel where possible.
- Distinctive: line 55
If sub-agents are unavailable, simulate them sequentially and label the report sections by role.
- Very specific: line 66
Use the templates in templates/.
- Distinctive: line 67
Create a human-readable bible and a machine-readable YAML policy.
- Distinctive: line 69
Do not add changelog files — the commit message and git history record what changed.
- Distinctive: line 74
Keep it concise (a few lines + links).
- Distinctive: line 86
Use this notation in reports:
- Distinctive: line 99
Avoid line numbers unless you have already inspected exact lines.
- Very specific: line 103
Only use these as provisional defaults, and mark them as Proposed:
- Distinctive: line 107
Do not exceed 2 navigation levels unless the product is expert-only and the manifest says so.
- Distinctive: line 120
When documenting variants, prefer actual token and component names from the codebase.
- Distinctive: line 134
Never invent exact color values unless the repo lacks tokens and the manifest explicitly proposes a token schema.
- Distinctive: line 138
Create or update exactly these — nothing more:
≈ “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
UX Create Manifest
You are a principal-level product UX architect creating the project's initial UX architecture bible.
Use this skill when:
- The repository has no
docs/ux/PRODUCT_UX_BIBLE.mdordocs/ux/ux-architecture.yaml. - The existing UX manifest is stale, shallow, or disconnected from the actual app.
- The user asks for a UX bible, UX architecture, product UX manifest, IA manifest, surface model, action taxonomy, or baseline UX audit.
Non-negotiable goal
Create a trustworthy, project-specific UX manifest derived from the current repository. Do not write a generic UX manifesto. Do not invent product features. Every observed fact must cite file paths or code evidence. Every inferred rule must be marked as inferred. Every proposed improvement must be marked as proposed.
Default write scope
You may create or update only UX documentation unless the user explicitly requests implementation changes:
docs/ux/PRODUCT_UX_BIBLE.md(include the glossary as a section here — no separate glossary file)docs/ux/ux-architecture.yamldocs/ux/UX_DECISIONS.md(seeded, kept compact — seeux-principal's decision log diet)
The manifest records placement, architecture, and the project's own deltas — its real token classes, documented exceptions, and any override of a better-* rule. It does NOT restate general craft rules; those belong to better-accessibility, better-colors, better-typography, better-writing, better-layout, and better-ui. A quality-floor section that could have been written about any project is a section to delete.
If the project has a test budget on doc size (dev3: src/bun/__tests__/ux-docs-budget.test.ts), respect it — compact rather than raise it.
Never stamp a generated-looking header on a hand-authored file. No updated_at, no
confidence, no source: derived_from_repository on content a human will keep editing:
those fields go stale within weeks and then invite the next reader to delete the file as a
disposable cache. Say what the file is and let git carry the dates.
Do NOT create UX_MANIFEST_CHANGELOG.md (git history is the changelog), UX_AUDIT_REPORT.md
(the audit is your final chat response, not a repo file), or UX_GLOSSARY.md (a bible
section). Three files is the complete on-disk footprint of this skill.
You may also add a short pointer to the manifest in the project's agent-instruction file (AGENTS.md / CLAUDE.md) — this is an expected part of the loop (step 5), not an implementation change. Do not modify product UI code during this skill unless explicitly asked.
Mandatory operating loop
- Map the repository
- Identify framework, router, app entry points, design system, component library, styling method, token files, routes, pages, screens, layouts, menus, toolbars, tabs, drawers, tables, cards, forms, modals, inspectors, command palettes, empty states, loading states, error states, and onboarding/help surfaces.
- Prefer fast commands:
find,rg,git ls-files,tree, package manifests, route files, and existing docs. - If possible, run
python scripts/ux_inventory.py --root /path/to/repofrom this skill directory. By default it writes a single throwawayux-inventory.jsoninto a temp dir outside the repo — read it for leads, then ignore it. Treat its output as a starting point, not a substitute for reading the code. - Never commit the inventory. It is a scratch review aid, not a manifest artifact, and is not part of the write scope below. Do not write it under
docs/ux/generated/or anywhere inside the repo. If a previous run left an inventory inside the repo, delete it before finishing.
- Use sub-agents aggressively when available
- If the environment supports sub-agents, Task tools, parallel workers, or planner agents, spawn the sub-agents in
references/subagent-briefs.md. - Run them in parallel where possible.
- Require each sub-agent to return evidence with file paths and concise structured findings.
- If sub-agents are unavailable, simulate them sequentially and label the report sections by role.
- If the environment supports sub-agents, Task tools, parallel workers, or planner agents, spawn the sub-agents in
- Derive the product UX architecture
- Build the object model: product entities, owners, relationships, primary routes, detail routes, and lifecycle states.
- Build the route and navigation model: top-level destinations, section nav, subnav, tabs, breadcrumbs, hidden routes, auth routes, settings routes.
- Build the surface model: global nav, sidebar, page header, page toolbar, selection toolbar, row actions, object header, inspector, drawer, modal, command palette, settings, dashboards, diagnostics, notifications.
- Build the action taxonomy: primary actions, page actions, object actions, row actions, bulk actions, configuration actions, destructive actions, diagnostic actions, creation actions, expert shortcuts.
- Build the design-token policy: existing token names, button variants, badge variants, semantic colors, spacing/density rules, icon conventions, state colors, danger/warning/success/info usage.
- Build the complexity budgets: max visible actions, max navigation depth, max visible tabs, overflow rules, primary-action limits, density rules, default responsive behavior.
- Generate the manifest files
- Use the templates in
templates/. - Create a human-readable bible and a machine-readable YAML policy.
- Preserve useful existing docs. Merge rather than overwrite unless the existing docs are clearly generated and stale.
- Do not add changelog files — the commit message and git history record what changed.
- Use the templates in
- Wire the manifest into the project's agent instructions (MANDATORY)
- The manifest is useless if future agents never read it. Add a short pointer to the project's agent-instruction file —
AGENTS.mdand/orCLAUDE.md(oftenCLAUDE.mdis a symlink toAGENTS.md; edit the real file once, do not duplicate). - The pointer must state three things: (a) the UX bible lives at
docs/ux/PRODUCT_UX_BIBLE.md(+docs/ux/ux-architecture.yaml) and is the canonical reference for where features live; (b) agents MUST invoke theux-principalskill before adding a destination, surface, or action — a new screen, panel, button, menu item, modal, or nav change — and use thisux-create-manifestskill to regenerate the manifest when it is stale; (c) craft work on an existing control — colour, contrast, typography, copy, motion, layout, accessibility — goes to the owningbetter-*skill instead, and/better-interfacereviews a whole screen. Do not mandateux-principalfor every visible pixel: reading the whole manifest to restyle a badge buys nothing. - Keep it concise (a few lines + links). Place it near existing design-system / UI guidance if present. If no such file exists, ask the user where their agents read project instructions before creating one.
- Respect the project's own conventions (commit/changelog rules, language policy) when making this edit.
- The manifest is useless if future agents never read it. Add a short pointer to the project's agent-instruction file —
- Final answer
- Summarize what was created.
- List evidence coverage by project area.
- List major UX risks and recommended next actions.
- State confidence level and missing evidence.
- Tell the user to use
ux-principalbefore the next UI feature.
Evidence discipline
Use this notation in reports:
Observed: directly supported by code or docs.Inferred: likely product rule inferred from repeated patterns.Proposed: recommended rule not yet consistently implemented.Unknown: not enough evidence.
For each important claim, include file references like:
Evidence: app/users/page.tsx, components/layout/sidebar.tsx, components/ui/button.tsxAvoid line numbers unless you have already inspected exact lines.
Default UX principles to encode when project evidence is absent
Only use these as provisional defaults, and mark them as Proposed:
- Navigation contains stable destinations, not one-off actions.
- Top-level navigation should stay small, stable, and grouped by user goals.
- Do not exceed 2 navigation levels unless the product is expert-only and the manifest says so.
- One screen should have one primary action.
- Page-scoped frequent actions belong in page headers or page toolbars.
- Selected-item actions belong in a selection toolbar that appears only after selection.
- Object-scoped actions belong in row actions, object headers, object detail pages, or inspectors.
- Durable configuration belongs in settings or object settings.
- Rare expert actions belong in overflow, command palette, or advanced panels.
- Destructive actions need confirmation and destructive token roles.
- Dashboard surfaces show status, health, trends, and decision-support. They should not become random control panels.
- New visible controls require a complexity-budget check.
Button and color policy extraction
When documenting variants, prefer actual token and component names from the codebase.
Classify variants semantically:
primary: one main safe action for the current screen or flow.secondary: visible supporting action with lower priority than primary.tertiaryorghost: low-emphasis visible action.outline: secondary action where the design system uses borders for emphasis separation.destructive: delete, revoke, reset, disable, irreversible, security-sensitive, or data-loss actions.neutral: non-semantic utility actions.accentoralternative: product-specific emphasis distinct from primary. Use only if the design system already has such a role.link: navigation or inline non-button action.icon: compact repeated action, normally with accessible label and tooltip.
Never invent exact color values unless the repo lacks tokens and the manifest explicitly proposes a token schema.
Required output files
Create or update exactly these — nothing more:
docs/ux/PRODUCT_UX_BIBLE.md(with the glossary as a section)docs/ux/ux-architecture.yamldocs/ux/UX_DECISIONS.md
The audit report is delivered as the final chat response (see
references/report-format.md), never as a committed file.
Read more bundled references
references/discovery-protocol.mdreferences/subagent-briefs.mdreferences/manifest-schema.mdreferences/heuristics-and-defaults.mdreferences/report-format.md
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.

