agentleFS
Atharvsinh-codezAtharvsinh-codez/ObsidianUI/skills/better-interface/SKILL.md

better-interface

Skill526 starsChanged 39 days agoMITView on GitHub

Cross-discipline interface review: routes a screen, flow, feature, or product interface to every `better-*` domain skill and consolidates one ranked verdict. Use when asked for a holistic review rather than a single domain, and when `interface-review` hands up a change to route. Triggers on better-interface, holistic interface review, review the whole screen.

We split this skill into the rules it gives an agent

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

  • 3

    Common

    Most of the 17 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before reviewing, confirm that every owning skill below is available.

    line 42
  2. Very specific:

    If an owning skill is unavailable, mark that domain Not reviewed, name the missing skill, and continue with the remaining domains.

    line 55
  3. Common:

    When two skills appear to cover the same issue, assign it to the skill that owns the underlying rule and mention secondary effects in the …

    line 57
  4. Common:

    Use one shared severity scale:

    line 65
  5. Common:

    Treat a review request as read-only.

    line 102
  6. Distinctive:

    Always use the following sections.

    line 124
  7. Distinctive:

    Use one table ordered by severity, then reach and leverage:

    line 138
  8. Very specific:

    When interface-review resolved the scope from version control, the format above applies with these four additions.

    line 170
  9. Distinctive:

    Pre-existing section: Place it after Considered but Rejected, at most three, highest severity first, stated plainly as not this change's …

    line 181

“Common” is measured: kept by at least 6 in 10 of the 17 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

Review the interface as one system

A strong interface is not a stack of independent audits stapled together. Review the whole experience, let each better-* skill own its domain rules, then consolidate the evidence into one prioritized verdict.

This skill owns orchestration only. Accessibility rules belong to better-accessibility; structure to better-layout; copy to better-writing; type to better-typography; color to better-colors; visual polish and motion to better-ui. Never duplicate or override their rules here. Change-scoped review of uncommitted work, branches, and pull requests belongs to interface-review, which resolves the scope and classifies findings before handing the review back here.

Core Principles

1. Resolve Scope and Mode First

Parse the invocation as [quick|full] [scope]. The first token is a mode only when it is exactly quick or full; anything else is part of the scope. Mode defaults to full.

Infer the screen, flow, feature, or repository scope from the request and current workspace. State the resolved scope in the output.

ModeCoverageFinding cap
quickThe primary path through the scope and the states it actually reaches; report only HIGH and MEDIUM issues5
fullEntire requested scope across every domain skill listed in principle 3, including empty, loading, error, and narrow-width states when present15

If the requested scope is too large to inspect credibly, narrow it to one complete flow: the one the request itself centers on, or failing that the entry path every user of the scope must pass through. State the boundary and what it excluded. Never imply uninspected surfaces were reviewed.

When the request names a branch, pull request, commit range, or uncommitted changes, that is a change review, not a screen review. Say so and ask the user to run interface-review; it is user-invoked, so this skill cannot start it. Never resolve a change scope here: reading a diff, classifying findings, and expanding changed files to affected surfaces are all interface-review's, and guessing at them produces a report whose scope nobody can check.

interface-review hands the review back the other way. When it does, it supplies the resolved change scope, the affected surfaces, and a status for each finding; severity, consolidation, the cap, the output format, and the verdict stay here, under Change-Scoped Reviews below.

2. Recon Before Judgment

Identify the framework, styling system, component library, design tokens, supported viewports, and available preview or test commands. Write every fix in the project's own idiom so no finding arrives as a request to adopt a different stack. That governs the form of the fix, not whether the current code is good enough.

Then read what the project has written about its own interface: CONTRIBUTING.md, CODING_STANDARDS.md, AGENTS.md, CLAUDE.md, a design-system doc, Storybook docs, interface ADRs. Name in the output which you found, or that there are none.

Read them for leverage, not permission. A documented convention is not evidence the convention is good, and "it's in the style guide" does not retire a finding. What they change is where you report: when a guideline or shared token is the cause, report it once against that source with the components as its locations.

3. Use Domain Skills as the Sources of Truth

Before reviewing, confirm that every owning skill below is available. Load and apply every available owner. In quick mode, inspect every domain but spend depth only where the primary flow has evidence. In full mode, complete each available domain review before consolidation.

Review in this order so foundational failures are not hidden by polish:

  1. better-accessibility
  2. better-layout
  3. better-writing
  4. better-typography
  5. better-colors
  6. better-ui

This skill owns the final response. When a domain skill is loaded through better-interface, apply its principles and references but ignore its Reporting section and the review-output.md it points at. Use the consolidated format, shared severity, and finding cap in this file instead.

If an owning skill is unavailable, mark that domain Not reviewed, name the missing skill, and continue with the remaining domains. Do not recreate its rules from memory, substitute a neighboring skill, or claim holistic coverage.

When two skills appear to cover the same issue, assign it to the skill that owns the underlying rule and mention secondary effects in the Why cell. Report it once.

4. Require Evidence

Every finding cites path/to/file:line and shows the current implementation. If the review artifact has no source files, cite the exact screen and component. Do not report a code-level finding from visual appearance alone or a visual finding from source code alone when runtime behavior determines the result.

5. Rank by User Impact

Use one shared severity scale:

  • HIGH: blocks a task, misleads the user, hides content or controls, causes data-loss risk, or creates a repeated systemic failure.
  • MEDIUM: meaningfully harms comprehension, efficiency, adaptability, or consistency.
  • LOW: isolated polish with limited task impact. Include only in full mode.

Within a severity, rank by reach and leverage. A token or shared-component fix outranks the same symptom in one leaf component.

Escalation triggers. Once the owning skill confirms one of these, it is HIGH on sight, not averaged down because the surface is minor and not withheld in quick mode:

  • An interactive control with no accessible name.
  • A keyboard-reachable control with no visible focus indicator.
  • A control or path reachable by pointer but not by keyboard.
  • Motion or auto-playing content that ignores prefers-reduced-motion.
  • Content or a control clipped, overlapped, or unreachable at 320px width or 200% zoom.
  • Body or control text whose rendered contrast pair fails its required ratio.
  • State or meaning carried by color alone.
  • A destructive action with no confirmation, undo, or distinct treatment.

Triggers rank above every other finding. When more fire than the cap allows, list them first and state how many findings the cap excluded; a cap may shorten a report but may never be why a blocker went unreported.

These set severity, not new rules. The owning skill still decides whether the symptom is present, and this list decides what it costs. In a change review, a confirmed Regression against a trigger is HIGH even where the same symptom would be MEDIUM as pre-existing.

6. Consolidate Systemic Findings

One root cause is one finding. List every confirmed location in the same row rather than producing a row per occurrence. Do not pad the report to reach the finding cap; a short review or no findings is a valid result.

7. Make Restraint Visible

Record candidates considered but deliberately rejected. A candidate is rejected when the owning skill permits the current implementation, evidence is insufficient, the project's convention is a defensible choice and not merely an established one, or the proposed change would add complexity without user benefit.

8. Verify What Can Be Verified

Run safe, relevant checks available in the project. Inspect the rendered interface when runtime behavior or visual judgment matters. Report the exact command or interaction and observed result. If a check cannot be run, label it Not verified and state what remains; never convert a verification gap into a finding.

9. Review Without Mutating by Default

Treat a review request as read-only. Do not edit source code unless the user also asks to implement the findings. When implementation is requested, preserve the consolidated report as the change scope and re-run the relevant verification afterward.

Common Mistakes

MistakeFix
Six disconnected domain reportsConsolidate into one ranked findings table
Same issue reported by multiple skillsAssign it to the skill that owns the underlying rule
Finding with no exact locationCite path/to/file:line and the current implementation
Visual claim inferred only from sourceInspect the rendered state or mark it not verified
Unlimited low-impact polishRespect the mode cap; omit LOW findings in quick
Silent gaps in coverageShow which domains and states were actually inspected
Missing owning skill silently treated as coveredMark the domain Not reviewed and name the unavailable skill
No rejected candidatesInclude the required considered-but-rejected table
Review silently edits codeStay read-only unless implementation was requested
“Approve” with pending actionable findingsUse Needs changes or Block
Every legacy issue in a touched file reportedCap pre-existing findings at three in their own section
A pre-existing issue blocking a change reviewKeep pre-existing findings out of the cap and out of the verdict
Domain marked Clear when the change never touched itMark it Not reviewed: no evidence in the change scope

Review Output Format

Always use the following sections.

Scope and Coverage

State the mode, exact scope, stack and styling conventions, the project convention documents found in recon, and any review boundary. Then show coverage:

DomainEvidence inspectedResult
AccessibilityFiles, components, states, or checksFindings count or Clear

Include every domain listed in principle 3. Clear means inspected with no actionable finding; Not reviewed must explain why.

Findings

Use one table ordered by severity, then reach and leverage:

#SeverityDomainLocationBeforeAfterWhy
1HIGHAccessibilitysrc/Dialog.tsx:42<button><XIcon /></button>Add aria-label="Close" and hide the icon from the accessibility treeThe icon-only control has no accessible name

Each row is one root cause. The Domain value is the owning skill without the better- prefix. Respect the mode's finding cap. If there are no findings, omit the table and state "No actionable interface findings."

Considered but Rejected

Include 1–3 candidates in quick mode and 2–5 in full mode:

LocationCandidateRejected because
src/Card.tsx:28Increase the shadowExisting depth matches the shared surface token; changing one card would reduce consistency

These are real candidates inspected during the review, not invented filler. If the scope genuinely contains fewer borderline candidates, include the ones that exist and say so.

Verification

List each check or interaction, the exact command or steps, and the observed result. Separate checks that passed from checks marked Not verified.

Verdict

End with exactly one:

  • Block: one or more HIGH findings remain.
  • Needs changes: only MEDIUM or LOW findings remain.
  • Approve: no actionable findings remain and the claimed coverage was verified.

Change-Scoped Reviews

When interface-review resolved the scope from version control, the format above applies with these four additions. They live here because this file owns the format, the cap, and the verdict; interface-review supplies the scope and the statuses.

  1. Scope block. Open Scope and Coverage with the change scope table interface-review produced, then the coverage table above unchanged. A domain with no evidence in the change scope is Not reviewed: no evidence in the change scope, which is a coverage statement, not a gap.
  2. Status column. The findings table gains a Status column after Domain, carrying Introduced or Regression:

    #SeverityDomainStatusLocationBeforeAfterWhy
    1HIGHAccessibilityRegressionsrc/Dialog.tsx:42aria-label="Close" removed in this changeRestore aria-label="Close" on the icon-only controlThe close control had an accessible name before this change and no longer does

    With no Introduced or Regression findings, omit the table and state "No actionable interface findings in this change."

  3. Pre-existing section. Place it after Considered but Rejected, at most three, highest severity first, stated plainly as not this change's responsibility. Omit when there are none.

    SeverityDomainLocationIssue
    MEDIUMTypographysrc/Toolbar.tsx:7Numeric badges use proportional figures; predates this change
  4. Cap and verdict. Both cover Introduced and Regression only. Pre-existing findings sit outside the cap, so touching a legacy file cannot turn into a full-file audit, and outside the verdict, so a change whose only findings are pre-existing is an Approve.

Download now (ZIP)

  • Other versions20 projects use a version of this.

    Word for word · 3

    1. talebook/talebook★ 5.8k100% same
    2. boraoztunc/skills★ 337100% same
    3. 0xPasho/agentcut★ 21100% same

    Edited · 15

    1. trycompai/crm★ 11k84% same
    2. jakubkrehel/skills★ 9.7k33% same
    3. moumen-soliman/uitripled★ 1.4k48% same
    4. Dimon94/dverity★ 10746% same
    5. Dimon94/skills★ 10746% same
    6. julianromli/faiz-skills★ 1684% same
    7. sanmidable/skills★ 246% same
    8. AnasX7/skills★ 146% same
    9. arkan/skills★ 146% same
    10. ElyzeSolutions/skills★ 148% same

    5 more not listed

    Wrote their own version · 2

    1. dedalus-labs/wingman★ 181same name
    2. hsynozdamar-byte/claude-skills-edited★ 4same 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.

  • Used alongsideProjects with it also use create-design-md, fixing-metadata and 10 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.
    • ItamarZand88Skill

      create-design-md

      Create a new DESIGN.md file for any website, app, or custom design system. Use when the user wants to document a design system in DESIGN.md format, extract design tokens from a URL or existing CSS, create a custom design system from scratch, author a DESIGN.md for their own project, or contribute a new design to the awesome-design-md collection. Also trigger when user mentions "design system documentation", wants to formalize their app's visual language, or asks to create or generate a DESIGN.md file.

      Also in 3 projects that use this

    • agentset-aiSkill

      fixing-metadata

      Ship correct, complete metadata.

      Also in 3 projects that use this

    • VercelSkill

      baseline-ui

      Validates animation durations, enforces typography scale, checks component accessibility, and prevents layout anti-patterns in Tailwind CSS projects. Use when building UI components, reviewing CSS utilities, styling React views, or enforcing design consistency.

      Also in 3 projects that use this

    • attentiondotnetSkill

      animation-vocabulary

      Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.

      Also in 5 projects that use this

    • arkanSkill

      review-animations

      Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.

      Also in 5 projects that use this

    • wxyhgkSkill

      find-animation-opportunities

      Search a codebase or UI for places that don't animate but should, and reject everything that shouldn't. Read-only; it proposes motion with exact values, it does not implement it. Use when the user asks "what could be animated here?" or wants to "make this feel more alive". For fixing existing animations, use improve-animations or review-animations instead.

      Also in 4 projects that use this

  • In this repository11 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

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.