Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when reviewing or improving a Front-End Checklist rule MDX file to raise its quality score, fix stub prompts, add missing fields, or enrich content with real code examples.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 33% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -4% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -16% | 0% |
This skill helps you review and improve the quality of rule MDX files in the Front-End Checklist project. Use it to fix stub content, write better AI prompts, and enrich rules so they score well against the quality rubric.
Every rule is scored across these dimensions (see references/scoring-rubric.md for full details):
| Dimension | Max | What "good" looks like | |-----------|-----|------------------------| | prompts.check | 10 | Specific audit instruction, not generic | | prompts.fix | 10 | Actionable fix steps with CSS/HTML/JS specifics | | prompts.explain | 10 | Explains the why, not just restates the title | | tldr | 5 | 3+ concise bullets, each a standalone takeaway | | whyItMatters | 5 | 1–2 sentences, concrete user impact | | aiContext | 5 | "Applies to…" — when should an agent use this? | | relatedRules | 5 | 2+ slug + reason pairs | | codeExamples | 10 | 3+ ✅/❌ annotated blocks in the body | | bodyDepth | 10 | 300+ words, not a stub | | resources | 5 | External links (MDN, WCAG, articles) | | prompts.codeReview | 5 | Code review workflow prompt (optional) |
Base score: 100 with additional conditional V2 points. Target: ≥ 50 (passing).
These patterns are automatically detected as low-quality:
Replace them with specific, actionable instructions that name the exact HTML attributes, CSS properties, or JavaScript patterns involved.
Run the quality scorer on a specific rule to see its current score:
bashpnpm score:rules packages/content/rules/en/{category}/{slug}.mdx
Then open the MDX file and identify which dimensions are failing.
Run the structure validator as well:
bashpnpm validate:rule-structure packages/content/rules/en/{category}/{slug}.mdx
The rule body must follow this order:
## Code Example or ## Code Examples## Why It Matters## VerificationRule Contract V2 adds conditional sections:
## Exceptions for false positives, caveats, or valid exceptions### Automated Checks and ### Manual Checks inside ## Verification when both matter## Browser Support, ## Support Notes, or ## Standards when compatibility or compliance changes implementation decisionsUse the repo browser policy plus package-backed compatibility data for browser-support notes. Do not guess support ranges from memory.
When improving a rule:
check: name the exact attributes/patterns to auditfix: give step-by-step remediation with code snippetsexplain: explain the user impact, not just the technical detailaiContext — one sentence: "Applies to any HTML page with X]" or "Use when reviewing Y] in Z] context"tldr — 3 bullets minimum, each ending with a concrete rule of thumbrelatedRules — link 2+ rules with a reason explaining the connectionresources — MDN docs, WCAG success criteria, relevant articlesTesting/Checklist-style headings to ## Verification, keep optional guidance between Why It Matters and Verification, and never place H2 sections after VerificationExceptions, verification split, and standards/support notes only when the rule type actually benefits from themThe quality score is a proxy for how useful the rule is to both human developers and AI agents.
aiContext won't trigger at the right moment when used as a Claude Code skillrelatedRules is an island — agents can't traverse the knowledge graphHigh-quality rules become high-quality skills that Claude can use proactively and precisely.
When reviewing a PR that adds or modifies rule MDX files, check:
tldr bulletswhyItMatters is specific (mentions user impact, not just "improves quality")## Verification is the final H2 and ## Why It Matters appears before itpnpm validate:rule-structure {file} passespnpm score:rules {file}See references/scoring-rubric.md for the full scoring specification. Rule page: https://frontendchecklist.io
Other measured skills in the registry, with their headline benchmark lift.