Improve a Front-End Checklist Rule
SkillFiles & storageimprove-rule is a skill for working on Front-End Checklist rule MDX files. It guides an AI agent through reviewing a rule file and improving it: raising its quality score, fixing stub prompts, adding missing fields, and enriching content with real code examples. Anyone maintaining a checklist rule set can use it to improve Claude skill content without doing the edits by hand.
Available today. Use it from your connected AI after setup.
No other account needed.
Have the Front-End Checklist rule MDX file you want to improve available to the agent.
Then ask your AI: use the Improve a Front-End Checklist Rule skill
What your AI can do with it
- Review a Front-End Checklist rule MDX file for quality issues
- Raise the quality score of a checklist rule
- Fix stub prompts in rule files
- Add missing fields to a rule MDX file
- Enrich rule content with real code examples
Getting started
- Have the Front-End Checklist rule MDX file you want to improve available to the agent.
- Add the improve-rule skill to the agent's available skills.
- Ask the agent to review or improve the rule file, mentioning the quality score, stub prompts, missing fields, or code examples you want addressed.
What this skill tells your AI
The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/improve-rule/SKILL.md and read by ahel’s review.
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.
Quality Dimensions
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).
Stub Prompts — What to Avoid
These patterns are automatically detected as low-quality:
- "Verify if the project adheres to: [Rule Title]"
- "Update the codebase to align with: [Rule Title]"
- "Explain the importance of [Rule Title]"
Replace them with specific, actionable instructions that name the exact HTML attributes, CSS properties, or JavaScript patterns involved.
Check
Run the quality scorer on a specific rule to see its current score:
pnpm 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:
pnpm validate:rule-structure packages/content/rules/en/{category}/{slug}.mdx
The rule body must follow this order:
- intro paragraph before any H2
## Code Exampleor## Code Examples## Why It Matters- optional guidance sections
- final
## Verification
Rule Contract V2 adds conditional sections:
## Exceptionsfor false positives, caveats, or valid exceptions### Automated Checksand### Manual Checksinside## Verificationwhen both matter## Browser Support,## Support Notes, or## Standardswhen compatibility or compliance changes implementation decisions
Use the repo browser policy plus package-backed compatibility data for browser-support notes. Do not guess support ranges from memory.
Fix
When improving a rule:
-
Fix stub prompts first — they have the highest point value (30 pts combined)
check: name the exact attributes/patterns to auditfix: give step-by-step remediation with code snippetsexplain: explain the user impact, not just the technical detail
-
Add
aiContext— one sentence: "Applies to any HTML page with [X]" or "Use when reviewing [Y] in [Z] context" -
Add/expand
tldr— 3 bullets minimum, each ending with a concrete rule of thumb -
Enrich body content — add ✅ good example and ❌ bad example code blocks for each concept
-
Add
relatedRules— link 2+ rules with a reason explaining the connection -
Add
resources— MDN docs, WCAG success criteria, relevant articles -
Fix structure lint issues — rename final
Testing/Checklist-style headings to## Verification, keep optional guidance betweenWhy It MattersandVerification, and never place H2 sections afterVerification -
Add contract clarity where needed — use
Exceptions, verification split, and standards/support notes only when the rule type actually benefits from them
Explain
The quality score is a proxy for how useful the rule is to both human developers and AI agents.
- A rule with stub prompts gives Claude generic instructions — the AI can't provide targeted help
- A rule without code examples is hard to learn from
- A rule without
aiContextwon't trigger at the right moment when used as a Claude Code skill - A rule without
relatedRulesis an island — agents can't traverse the knowledge graph
High-quality rules become high-quality skills that Claude can use proactively and precisely.
Code Review
When reviewing a PR that adds or modifies rule MDX files, check:
- No stub prompts (grep for "Verify if the project adheres to")
- At least 3
tldrbullets whyItMattersis specific (mentions user impact, not just "improves quality")- Body has at least one ✅ and one ❌ code example
## Verificationis the final H2 and## Why It Mattersappears before itpnpm validate:rule-structure {file}passes- Score is ≥ 50:
pnpm score:rules {file}
See references/scoring-rubric.md for the full scoring specification.
Rule page: https://frontendchecklist.io
Signals
- GitHub stars
- 74k
- Forks
- 7k
- Last commit
- Aug 2026
Questions
- What does improve-rule do?
- It reviews and improves Front-End Checklist rule MDX files: raising quality scores, fixing stub prompts, adding missing fields, and enriching content with real code examples.
- When should it be used?
- Use it when reviewing or improving a Front-End Checklist rule MDX file, or when a rule has a low quality score, stub prompts, or missing fields.
- What kind of file does it work on?
- Front-End Checklist rule files written in MDX.
Advanced
- Item type
- skill
- Key
improve-rule- Source
- github.com/thedaviddias/front-end-checklist