uxfix
Skill0 starsChanged 14 days agoMITView on GitHub
Fixe automatiquement les défauts UI détectés : boucle détecter → corriger → revérifier jusqu'à un score de 99/100. Contrastes WCAG, halos colorés, easings rebond, interlettrage, palettes IA, copy marketing.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/smokekit-ai-workflow-orchestration/templates/CLAUDE.mdCLAUDE.md
- afficheuxSkill
- animateSkill
- motion-designSkill
- review-loopSkill
- claude-motionSkill
- sound-designSkill
- web-simsSkill
- collectSkill
- explainer-storyboardSkill
- explainrooSkill
- fixitSkill
- herdr-teamSkill
- merge-gateSkill
- motion-designSkill
- motion-graphicsSkill
- animated-chartSkill
- apple-launch-filmSkill
- brand-intakeSkill
- launch-videoSkill
- loop-coverSkill
- milestone-revealSkill
- model-showdownSkill
- motion-brief-writerSkill
- motion-effectsSkill
- motion-prompt-writerSkill
- newsletter-promoSkill
- reel-exportSkill
- reference-to-motionSkill
- motion-graphics-skillsSkill
- title-sequence-3dSkill
- vox-explainerSkill
- motion-illustrateSkill
- motion-launchSkill
- motion-principlesSkill
- motion-soundSkill
- motion-webSkill
- prd-table-rondeSkill
- product-launch-motionSkill
- remotion-motion-graphicsSkill
- rush-cutSkill
- secretscanSkill
- smokekit-ai-workflow-orchestrationSkill
- wassupSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
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
- Very specific: line 10
Don't just report UI defects: fix them alone, re-verify, and loop until the score reaches 99/100.
- Very specific: line 27
Originals are safe: before the first write, everything is copied to .uxfix-backup/<timestamp>/ next to the target.
- Distinctive: line 53
Run on the real built files, not on mockups: the detector resolves computed styles.
- Very specific: line 57
Never run with --target 100 as a hard gate in CI unless a human reviews the diff: the last point is sometimes a judgment call.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
UxFix: autonomous UX fixing loop
Purpose
Don't just report UI defects: fix them alone, re-verify, and loop until the score reaches 99/100. The impeccable detector provides the analysis (findings + severity); UxFix applies the mechanical corrections and iterates. The agent supervises; the machine does the rounds.
Tooling
Engine: <skill-dir>/engine/uxfix.js (Node, no dependencies). Detector: the impeccable binary (installed globally by market install uxfix).
node <skill-dir>/engine/uxfix.js <fichier-ou-dossier> [--target 99] [--max-iterations 6] [--dry-run] [--json]IMPECCABLE_BIN env overrides the detector path. --dry-run previews fixes without writing. --json emits a machine-readable report.
Workflow
- Run
uxfixon the built UI files (single HTML/CSS file or directory). It scans.cssfiles and<style>blocks in HTML. - Read the report: score progression per iteration, fixes applied, manual remainder.
- Handle the manual remainder yourself: findings with no auto-fixer (unknown rules, brand palette choices the engine neutralized, copy the dictionary missed) need human judgment.
- Originals are safe: before the first write, everything is copied to
.uxfix-backup/<timestamp>/next to the target.
The 99% contract
- Score = 100 − 1 per unique warning − 5 per unique error. Duplicates of the same finding count once. Advisories are informational and don't count (same as the detector's own failure semantics).
- 99+ means zero primary findings, or a single trivial warning left.
- The loop keeps fixing while the fixers make progress (max 6 iterations), then reports what's left instead of churning.
Auto-fix catalog
| Finding | Automatic fix |
low-contrast | Recomputes the offending color with real WCAG math (binary search toward black/white) until the required ratio is met; touches only the color/background declarations involved |
gradient-text | Replaces the gradient with its darkest stop as a solid color; removes background-clip: text |
dark-glow | Zero-offset chromatic box-shadow → neutral elevation shadow; chromatic text-shadow → none |
wide-tracking | letter-spacing above 0.05em → 0.02em (0.04em for uppercase labels) |
cream-palette | Flagged warm page background → #ffffff |
ai-color-palette | Violet/purple hues (265–300°) rotated toward blue, saturation/lightness kept |
bounce-easing | cubic-bezier with overshoot → cubic-bezier(0.4, 0, 0.2, 1) |
pulsing-dot | Infinite pulse animation on the flagged dot → animation: none |
marketing-buzzword | Dictionary rewrite of EN/FR buzzwords in HTML text nodes (scripts, styles, code blocks untouched) |
Details and limits per rule: references/fix-catalog.md. Scoring details: references/scoring.md.
Operating rules
- Run on the real built files, not on mockups: the detector resolves computed styles.
- Palette changes (
ai-color-palette,cream-palette) are applied with safe neutrals but must be flagged for human review: brand colors are a choice, not a bug. The report lists every one. - Copy rewrites use a fixed dictionary; nuanced marketing copy still deserves a human pass.
- A 100/100 detector score is defect evidence, not proof of good design. Keep taste in the loop: run the loop, then look at the page.
- Never run with
--target 100as a hard gate in CI unless a human reviews the diff: the last point is sometimes a judgment call.
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.

