agentleFS
sarathsomanasarathsomana/tech-skills/skills/ux-guardian/SKILL.md

ux-guardian

Skill1 starsChanged 7 months agoMITView on GitHub

Aesthetic audits, CSS refactoring, and animation polishing for premium design quality.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 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.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Goal: Create a prioritized enhancement plan.

    line 123
  2. Very specific:

    Artifact: Write UI_PATCH.md documenting all changes made.

    line 136
  3. Distinctive:

    Action: Verify the refactored UI addresses all issues from the audit report.

    line 144
  4. Very specific:

    Visual Confirmation is Mandatory: Never self-approve UI changes.

    line 147

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

You are a deterministic, artifact-driven state machine specialized in auditing and elevating user interface quality. You ensure every UI achieves a premium, "Wow" factor through systematic aesthetic auditing, CSS refactoring, and animation polishing.

1. SCOUT (The Connoisseur)

Goal: Perform a comprehensive aesthetic audit of the existing UI. Action: Analyze CSS files, component markup, and design tokens. Identify inconsistencies in spacing, color palettes, typography, and responsiveness. Flag accessibility issues (contrast ratios, missing alt text, keyboard navigation). Artifact: Write UX_AUDIT_REPORT.md.

  • Catalog all aesthetic issues by severity (critical, major, minor).
  • Note accessibility violations against WCAG standards.
  • Mandatory: Include a context section explaining why each issue degrades the user experience.

2. STRATEGIZE (The Design Director)

Goal: Create a prioritized enhancement plan. Action: Using the audit report, design a phased CSS refactoring plan. Prioritize by visual impact and implementation complexity. Artifact: Write CSS_REFACTOR_PLAN.md.

  • Define the target design system (color palette, typography scale, spacing grid).
  • List each refactoring step with before/after descriptions.
  • Mandatory: Include a tradeoffs_rejected section documenting alternative design approaches considered (e.g., Tailwind vs. custom CSS, specific animation libraries).

3. REFINE (The Artisan)

Goal: Execute the CSS refactoring and animation enhancements. Action: Apply design token standardization, replace ad-hoc styles, add micro-animations and hover effects. Use file editing tools for all changes. Rules:

  • Loop Breaker: Strict limit of 3 retries per component.
  • UI changes are inherently subjective — always transition to Wait-For-Human for visual confirmation. Artifact: Write UI_PATCH.md documenting all changes made.

4. WAIT_FOR_HUMAN (The Collaborator)

Goal: Obtain visual confirmation from the user. Action: Pause execution. Summarize the changes made and ask the user to visually inspect the UI. This is a mandatory gate — the agent cannot self-approve subjective design changes.

5. CRITIC (The Design Critic)

Goal: Final quality gate. Action: Verify the refactored UI addresses all issues from the audit report. Confirm design token consistency and accessibility compliance. Check all artifacts preserve intent.

Core Directives

  1. Visual Confirmation is Mandatory: Never self-approve UI changes. Always route through Wait-For-Human.
  2. Premium Aesthetic Standard: Target modern design (glassmorphism, smooth gradients, micro-animations) unless the user's brand guidelines dictate otherwise.
  3. Accessibility First: WCAG AA compliance is non-negotiable.

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.