improve-rule

improve-rule is a skill for Claude Code, Codex from thedaviddias/Front-End-Checklist. It costs 39 tokens per session (1,272 once invoked), scanned A, original, MIT.

A checklist-maintenance guide for improving a front-end review rule written in MDX, a format that combines Markdown with reusable components.

In plain words
What is it for?
Use it when editing Front-End Checklist rule files, fixing stubs, or adding code examples.
Why use it?
It helps turn incomplete review prompts into clearer rules with the fields and examples needed for consistent use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it when editing Front-End Checklist rule files, fixing stubs, or adding code examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thedaviddias/front-end-checklist/improve-rule
About the project

Front-End Checklist is a collection of front-end web development rules organized as a practical review and quality workflow for people and AI agents. Developers use it to audit projects and pull requests, check implementation details, and find guidance for remediation and verification. The catalogue entries provide skills, instructions, MCP tools, and a plugin for using the checklist in agent workflows.

thedaviddias/Front-End-Checklist · 74,564 stars · on GitHub · frontendchecklist.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add thedaviddias/Front-End-Checklist --skill improve-rule
Clone the repo
git clone --depth 1 https://github.com/thedaviddias/Front-End-Checklist

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for improve-rule

README.md
[![agentmods](https://agentmods.dev/badge/skills/thedaviddias/front-end-checklist/improve-rule/github.svg)](https://agentmods.dev/skills/thedaviddias/front-end-checklist/improve-rule)
Your own site
<a href="https://agentmods.dev/skills/thedaviddias/front-end-checklist/improve-rule"><img src="https://agentmods.dev/badge/skills/thedaviddias/front-end-checklist/improve-rule/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for improve-rule

Your own site · 80×15
<a href="https://agentmods.dev/skills/thedaviddias/front-end-checklist/improve-rule"><img src="https://agentmods.dev/badge/skills/thedaviddias/front-end-checklist/improve-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01272
Opus 5.5 $0.00016 $0.00509
Sonnet 5.5 $0.00008 $0.00254
Haiku 4.5 $0.00004 $0.00127

Measured 1mo ago against content hash e814c5b5bd4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

improve-rule scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/improve-rule/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Improve a Front-End Checklist Rule

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 Example or ## Code Examples
  • ## Why It Matters
  • optional guidance sections
  • final ## Verification

Read the full file on GitHub · 120 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 120 lines · 39 tokens per session scan A e814c5b5bd4b

Subscribe to this mod's changes

improve-rule is a skill published in the GitHub repository thedaviddias/Front-End-Checklist (74,564 stars, last pushed 20d ago), licensed MIT. It adds 39 tokens to every session and 1,272 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

scalar-design-system

Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library. Use when designing or implementing Scalar UI, especially with Paper (code-to-design / design-to-code), so output matches real Scalar tokens, colors, typography, spacing, and components instead of…

scalar/scalar · 68 tokens

citation-verification

This skill provides reference guidance for citation verification in academic writing. Use when the user asks about "citation verification best practices", "how to verify references", "preventing fake citations", or needs guidance on citation accuracy. This skill supports ml-paper-writing by providing detailed…

Galaxy-Dawn/claude-scholar · 63 tokens

stopovers

Per-program stopover rules for award redemptions. Which programs allow free stopovers, how many, how long, and which don't. Covers Icelandair, Aeroplan, Alaska, Flying Blue, Singapore, Cathay, JAL, and the negative space (BA, AA, Delta).

borski/travel-hacking-toolkit · 62 tokens

flight-search-strategy

Canonical multi-source flight search strategy. Source priority (Duffel, Ignav, Google Flights, Skiplagged, Kiwi, Seats.aero, Southwest), parallel workflow, market selection for international price arbitrage.

borski/travel-hacking-toolkit · 48 tokens

alliances

Airline alliance membership (Star Alliance, oneworld, SkyTeam) and cross-alliance booking relationships. Maps which loyalty programs book which airlines, including bilateral partnerships outside alliances.

borski/travel-hacking-toolkit · 39 tokens

lingtai-tui-anatomy

Source-navigation guide for the LingTai Go monorepo that ships lingtai-tui and lingtai-portal. Read this for TUI/Portal structure, runtime-boundary evidence, exact Go ownership, or when updating an ANATOMY.md. The repository-root ANATOMY.md is normative; this skill routes into that graph without duplicating it. Kernel…

Lingtai-AI/lingtai · 100 tokens