创建并检查自定义404页面,通过搜索、导航和主要页面链接,为访问失效或已迁移页面的访客指明去向,同时核对页面显示内容与HTTP状态码。
- 创建自定义404页面
- 完善失效链接的搜索与导航
- 检查不存在的页面是否返回200
查找适用于前端检查项的npm软件包,核实下载量、最近发布时间和注册信息,将符合条件的软件包名称添加到规则文件的元数据中。
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.
实测评分 未实测
查看安装方法查找与前端检查项相关的npm软件包,并将符合条件的候选项添加到规则文件中。它先了解规则要解决的问题,再调查可用于检测、修复和测试的软件包。每个候选项都必须满足三个条件:每周下载量超过10,000次、最近一次发布在18个月以内,并且已收录于npm registry。
适合为Front-End Checklist规则补充可用于实现或验证的工具信息。如果除了相关性,还需要核实软件包的使用量和发布时间,也可以使用。通常选择两到三个软件包;符合条件的候选项不足时,可以只添加一个,也可以将字段留空。
npmPackages。”运行环境需要支持npm搜索,以及注册信息和下载量的获取。目标必须是位于指定目录结构中的规则文件。添加后使用pnpm validate:packages验证,写入的内容仅限软件包名称。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。
不计入评分。 由 AI(OpenAI Codex)于 2026年10月23日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
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:
# 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):
npmPackages:
- eslint
- eslint-plugin-jsx-a11y
- axe-core
Place it after tools: and before resources:.
Run the validation script to confirm all packages pass thresholds:
pnpm 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:
npmPackages:
- eslint-plugin-jsx-a11y
- axe-core
- @testing-library/jest-dom
All three have >100k weekly downloads and were published within the last 6 months.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
创建并检查自定义404页面,通过搜索、导航和主要页面链接,为访问失效或已迁移页面的访客指明去向,同时核对页面显示内容与HTTP状态码。
检查或创建说明网站用途与运营方的介绍页面,核对组织历史、使命、专业能力及联系方式,并检查实际页面输出,找出信息缺漏。
为页面和共用组件添加自动无障碍测试,检查现有测试的覆盖缺口,并将检查接入持续集成流程,以发现结构、属性问题及修改引入的新问题。
检查从登录、多因素认证到账户恢复的完整流程,找出禁止粘贴、验证码必须手动输入等使用障碍,并协助改进认证方式。
检查表单错误、完成通知和实时更新能否通过屏幕阅读器传达,核对实际显示的HTML属性、通知停留时间及关闭方式,并指出具体问题。
检查表头与数据单元格的对应关系,将 HTML 调整为屏幕阅读器也能传达数据含义的结构。从简单表格到包含合并单元格的复杂表格都可检查。