ux-guardian
Skill1 starsChanged 7 months agoMITView on GitHub
Aesthetic audits, CSS refactoring, and animation polishing for premium design quality.
In this repository14 other files it gives its agents.
- base-state-machine-runtimeSkill
- <skill-name>Skill
- component-wizardSkill
- first-principles-designSkill
- graphify-v2Skill
- implementation-engineerSkill
- legacy-modernizerSkill
- multi-agent-orchestratorSkill
- perf-optimusSkill
- root-cause-isolatorSkill
- security-sentinelSkill
- skill-architectSkill
- skill-registrySkill
- test-engineerSkill
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
- Distinctive: line 123
Goal: Create a prioritized enhancement plan.
- Very specific: line 136
Artifact: Write UI_PATCH.md documenting all changes made.
- Distinctive: line 144
Action: Verify the refactored UI addresses all issues from the audit report.
- Very specific: line 147
Visual Confirmation is Mandatory: Never self-approve UI changes.
≈ “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 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
contextsection 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_rejectedsection 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-Humanfor visual confirmation. Artifact: WriteUI_PATCH.mddocumenting 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
- Visual Confirmation is Mandatory: Never self-approve UI changes. Always route through
Wait-For-Human. - Premium Aesthetic Standard: Target modern design (glassmorphism, smooth gradients, micro-animations) unless the user's brand guidelines dictate otherwise.
- Accessibility First: WCAG AA compliance is non-negotiable.
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.

