agentleFS
jaydubya818jaydubya818/MissionControl/skills/frontend-ui-engineering/SKILL.md

frontend-ui-engineering

Skill1 starsChanged 9 months agoMITView on GitHub

Build complete, accessible UI flows with explicit states and browser checks.

83 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use accessibility-engineering, constraint-driven-development and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • steven123397Skill

    accessibility-engineering

    Audits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping.

    Also in 4 projects that use this

  • MrCipherSmithSkill

    constraint-driven-development

    Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.

    Also in 18 projects that use this

  • HK-hubSkill

    source-driven-development

    Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

    Also in 42 projects that use this

  • seikaikyoSkill

    doubt-driven-development

    對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。

    Also in 37 projects that use this

  • HK-hubSkill

    code-simplification

    Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder to read, maintain, or extend than it should be. Use when reviewing code that has accumulated unnecessary complexity.

    Also in 44 projects that use this

  • seikaikyoSkill

    interview-me

    需求不明時的意圖萃取訪談:一次一題、每題附上自己的猜測、聽出「真正想要 vs 覺得應該要」,直到能預測使用者反應(約 95% 信心)才動工。適用:需求缺少對象 / 動機 / 成功標準 / 約束,或使用者點名「訪談我」「先確認一下」「我們確定嗎」。明確自足的指示、純資訊查詢、機械性操作不適用。

    Also in 35 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 76 edited versions we read keep these.

  • 9

    Distinctive

    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:

    Use supplied designs when available.

    line 25
  2. Distinctive:

    Keep state with its owner.

    line 30
  3. Distinctive:

    Use optimistic updates only where reversal is safe and conflicts can be reconciled.

    line 37
  4. Distinctive:

    Prefer semantic HTML and existing accessible controls.

    line 48
  5. Distinctive:

    Follow the project's agreed accessibility target.

    line 54
  6. Distinctive:

    Use the interaction checklist for a changed flow, selecting the cases that apply.

    line 58
  7. Distinctive:

    Use real or representative content to expose wrapping, density, and overflow.

    line 61
  8. Distinctive:

    After viewport or font changes, wait for fonts and resize-driven layout to settle before measuring or capturing the screen.

    line 62
  9. Distinctive:

    Keep spacing, typography, hierarchy, and feedback consistent with the product.

    line 64

“Common” is measured: kept by at least 6 in 10 of the 76 edited versions of this file we could read. “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

Frontend UI engineering

Build complete interactions in the product's existing visual language. Start with the screen's user, purpose, primary action, and data contract. Preserve the existing framework and design system; a small visual edit needs a focused render check, not a new design process.

Implement the interaction

  1. Inspect adjacent components, tokens, content, and responsive conventions. Use supplied designs when available. Resolve product choices that materially affect the flow; routine implementation choices can proceed within scope.
  2. Model the states that the real data flow can reach: loading, empty, populated, validation error, request failure, permission denial, pending mutation, and confirmed success. Distinguish an empty result from a failed or partial read.
  3. Keep state with its owner. Use local state for local interactions, URL state for shareable navigation, and the existing server-cache layer for remote data. Avoid duplicating server truth in a second global store.
  4. Handle stale requests, cancellation, rapid navigation, repeated submission, and retries. Preserve entered data after recoverable errors. Prevent stale responses from overwriting newer state. Disabling a button does not replace server-side idempotency.
  5. Use optimistic updates only where reversal is safe and conflicts can be reconciled. For payments, permissions, or irreversible actions, show pending until authoritative confirmation. A timeout may need a status check instead of another submission. Announce the actual outcome without claiming success from an HTTP acknowledgment alone.
  6. Compose focused components around behavior and reuse. Do not split files solely to satisfy an arbitrary line count or introduce a state library for a single screen.

Accessibility and visual finish

Prefer semantic HTML and existing accessible controls. Give icon-only buttons accessible names, associate errors and labels with inputs, and preserve keyboard access and visible focus. For modal dialogs, verify focus entry, containment, escape/close behavior, background interaction, and focus return. Setting the open attribute alone is not a complete modal implementation.

Follow the project's agreed accessibility target. For new web work without a target, propose WCAG 2.2 AA as the baseline; do not claim compliance from an automated scan. Check zoom/reflow, contrast, reduced motion, touch targets, focus obscured by sticky elements, and alternatives to drag-only controls. Use the interaction checklist for a changed flow, selecting the cases that apply.

Use real or representative content to expose wrapping, density, and overflow. After viewport or font changes, wait for fonts and resize-driven layout to settle before measuring or capturing the screen. Keep spacing, typography, hierarchy, and feedback consistent with the product. Aesthetic preferences do not override an approved design.

Verify in the browser

Exercise the primary journey, failure recovery, keyboard path, and relevant responsive widths in the actual rendered application. Use available browser tools; a particular connector is not mandatory. Verify that displayed controls reach the intended callbacks or actions, including empty-state actions. Inspect console and network failures. Automated component tests complement this inspection.

Report the states and device conditions verified, with screenshots or runtime evidence when useful. State any unavailable screen-reader or browser testing.

Reference: WCAG 2.2.

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.