agentleFS
mariomilemariomile/builder-os/skills/ux-architecture/SKILL.md

ux-architecture

Skill2 starsChanged 2 months agoMITView on GitHub

Use when a feature needs its information architecture, user flows, state coverage, component inventory or accessibility floor defined before anyone builds it

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Distinctive:

    Read the relevant section of UX methods for the tables behind steps 3 to 7.

    line 16
  2. Distinctive:

    Design the flows: Every entry point, steps (user action, system response), decision points, both exits, reversibility.

    line 36

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

UX Architecture

The structural half of phase 4: placement, flows, states, components and the accessibility floor, decided before a pixel is chosen. Visual craft is separate.

Mode and resources

Follow operating modes and resource paths. Standalone: design the supplied feature or flow using available product context and the existing design system, without a solution-bet file or spec-writing handoff. Lifecycle: phase prerequisites, artifact paths and gate recording below apply only when the user requests that phase or initiative; missing prerequisites block that transition, not a standalone artifact, and a completion marker with a gate verdict claims lifecycle completion only after the gate passes.

Load evidence-ledger when lifecycle user-behavior claims need tagging and capability mapping when resolving an external capability. Do not load spec-writing to perform this design task. Ask what remains per the pressure-testing rounds: options, a recommendation and why; for a factual gap, ways to close it, never guessed values.

Read the relevant section of UX methods for the tables behind steps 3 to 7.

Capabilities

CapabilityUsed forFloor if absent
repo.readExisting components, navigation and flowsAsk the user to describe them; mark the inventory as unverified
docs.searchDesign system documentation, prior flow decisionsAsk
analytics.replayWhere users actually stall in the current flowSkip; design from structure rather than observation, and say so
files.read / files.writeSupplied context, requested design and lifecycle artifactsInline design needs no file write; lifecycle writes require it

No data capability is required. Where a design-quality toolchain is present, hand it the visual layer and keep the structure here; where none is, say visual polish is not covered.

Procedure

Apply only the steps needed for the requested artifact. Delegate when available and authorized; otherwise run inline.

  1. Read the feature inputs. Standalone design uses the supplied feature, goal and constraints. Lifecycle SHAPE reads 03-solution-bet.md: the primary user action is the flow this skill designs.
  2. Map the current structure: navigation, the area this touches, existing components. Without repo.read, ask and mark the inventory unverified.
  3. Place the feature where the user expects it, or name the cost of the easy spot. Current and proposed structure side by side; name what moves.
  4. Design the flows. Every entry point, steps (user action, system response), decision points, both exits, reversibility. Any multi-step flow states its abandonment exit: discard, draft or resume.
  5. Cover the relevant states: empty (with the action that fills it), loading, partial, error, success, permission. Inspect existing auth, tenancy and permission behavior before defining the permission state, and preserve that contract; if unavailable, label the assumption unverified rather than choosing a disclosure policy. Error copy names what failed and the next action, where disclosure is permitted.
  6. Inventory the components: exists, extend (name what else it affects), new (justify it).
  7. State the accessibility floor. Keyboard path with tab order for the primary flow, contrast target as a ratio, focus behavior on open, close, error and completion.
  8. Deliver the design to the requested destination. In lifecycle SHAPE write the initiative's DESIGN.md and hand its flow list to the spec phase when requested. A complete design alone does not pass gate 4.

Completion marker: ## DESIGN COMPLETE with the flow list, the state matrix, the component inventory and the accessibility floor.

Output Contract

Lifecycle output is DESIGN.md in .builderos/initiatives/{initiative}/, written to the design template with its headings and labels kept exactly.

Common Mistakes

MistakeWhy it failsCorrect
Replacing a deliberate concealed-resource 404 with an access messageCan reveal a protected resourcePreserve the actual auth contract and verify permitted recovery behavior
Four new components for one featureThe design system was ignoredLook for the existing pattern first
Requiring initiative state for a standalone requestExpands the user's scopeUse supplied context and the requested destination; do not initialize or override a gate

More rows close UX methods.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.