Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when you need to find the 2-3 most popular and well-maintained npm packages relevant to a frontend checklist rule, validate they meet quality thresholds, and add them to the rule's frontmatter.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -38% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -42% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -22% | 0% |
Identify, validate, and add npm package references to a Front-End Checklist rule.
Given a rule file or rule slug, this skill will:
npmPackages frontmatter fieldBefore selecting any package, check it against these criteria using the npm registry:
| Criterion | Minimum | |-----------|---------| | Weekly downloads | >10,000/week | | Last publish | Within 18 months | | npm registry | Must be listed (registry.npmjs.org/{name}) |
Packages that fail any threshold must be excluded, regardless of how relevant they are.
Read the rule file: packages/content/rules/en/{category}/{slug}.mdx
Focus on:
tools: field?Search for packages that:
Use https://www.npmjs.com/search?q={keywords} and knowledge of the ecosystem to find candidates.
Prefer packages that are:
eslint, stylelint, official plugins)For each candidate package, fetch and verify:
bash# Metadata curl https://registry.npmjs.org/{package}/latest | jq '{name, version, description}' # Weekly downloads curl https://api.npmjs.org/downloads/point/last-week/{package} | jq '.downloads'
Record the weekly download count and last publish date. Reject any below threshold.
Add a npmPackages array to the frontmatter with the package names only (metadata is fetched at build time):
yamlnpmPackages: - eslint - eslint-plugin-jsx-a11y - axe-core
Place it after tools: and before resources:.
Run the validation script to confirm all packages pass thresholds:
bashpnpm validate:packages packages/content/rules/en/{category}/{slug}.mdx
If any package fails, either remove it or replace it with a better alternative.
For the rule accessibility/form-labels:
yamlnpmPackages: - eslint-plugin-jsx-a11y - axe-core - @testing-library/jest-dom
All three have >100k weekly downloads and were published within the last 6 months.
Other measured skills in the registry, with their headline benchmark lift.