创建并检查自定义404页面,通过搜索、导航和主要页面链接,为访问失效或已迁移页面的访客指明去向,同时核对页面显示内容与HTTP状态码。
- 创建自定义404页面
- 完善失效链接的搜索与导航
- 检查不存在的页面是否返回200
按评分标准检查 Front-End Checklist 规则文档,通过具体步骤和代码示例补全缺项,改写含糊的智能体指令,并验证文档结构。
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.
检查 Front-End Checklist 中的 MDX 规则文档,使开发者和智能体更容易使用。通过评分工具和结构验证找出缺项,将含糊的检查、修复和解释指令改写为明确指出 HTML 属性、CSS 或 JavaScript 操作的具体指令。同时补充要点、适用场景、相关规则、参考资料,以及正确和错误的代码示例。
适合完善尚未写完的规则,或审查新增、修改规则的拉取请求。帮助统一内容结构,让读者依次阅读代码示例、原因说明和验证方法,并以达到质量评分的合格参考线,即至少50分为目标。
## Verification。”本技能面向 Front-End Checklist 的规则 MDX 文件。验证使用项目内的 pnpm score:rules 和 pnpm validate:rule-structure。浏览器支持说明依据项目方针及软件包提供的兼容性数据核实。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。
总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月23日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
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:
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:
## 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:
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 detailAdd 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 between Why It Matters and Verification, and never place H2 sections after Verification
Add contract clarity where needed — use Exceptions, verification split, and standards/support notes only when the rule type actually benefits from them
The 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
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
创建并检查自定义404页面,通过搜索、导航和主要页面链接,为访问失效或已迁移页面的访客指明去向,同时核对页面显示内容与HTTP状态码。
Audit or create a dedicated About page that explains a website’s purpose and identifies its people or organization. Review the rendered output and supporting information, including expertise and contact details, to find gaps.
中文简介正在准备中。当前显示英语简介。
为页面和共用组件添加自动无障碍测试,检查现有测试的覆盖缺口,并将检查接入持续集成流程,以发现结构、属性问题及修改引入的新问题。
检查从登录、多因素认证到账户恢复的完整流程,找出禁止粘贴、验证码必须手动输入等使用障碍,并协助改进认证方式。
检查表单错误、完成通知和实时更新能否通过屏幕阅读器传达,核对实际显示的HTML属性、通知停留时间及关闭方式,并指出具体问题。
检查表头与数据单元格的对应关系,将 HTML 调整为屏幕阅读器也能传达数据含义的结构。从简单表格到包含合并单元格的复杂表格都可检查。