96SEO 2026-08-12 18:26 0
按理说,
写这篇博客的由头有点特别。
我有一个叫 front-end-checklist 的老项目,年初在公司做 Code Review 的时候顺手整理出来的。那会儿评审新同学的代码,总是在重复一样的话:“这里没做 XSS 转义”“useEffect 里有竞态”“label 没和 input 关联”。后来干脆把这些反复出现的问题写成清单,用 Jekyll 挂在 GitHub Pages 上。

接下来它就一直在那儿积灰。只有一次提交,只有一次到了 2021 年 12 月也还没动过。说起来,
——晚上,我本来只想顺手改一下清单里过时的条目。结果一头扎进 Claude Code,两小时做了 5 次提交把这个静态页面彻底改造了一遍。
真正让我想写这篇文章的,不是“AI 让我写代码变快”。快是肯定快,但这次改造最终落到了一件我之前没想过的事情上——一份静态文档。换了个交付形式,才真正开始被用起来。
它不是 ESLint 能查的那种风格规则。而是 Code Review 时需要结合业务和上下文判断的问题。目前一共 20 个分组、80 条检查项:
命名规范 数据与类型 函数设计 状态管理 控制流异步处理
数据请求 UI 与渲染 样式与响应式 路由与权限性能
安全与健壮性 表单与交互 错误处理 测试无障碍访问 使用者体验
代码质量 工程化 国际化日志与监控 依赖管理
浏览器兼容 文档与协作 PR 自检
随便挑几条看看:
这些不是靠格式化、类型推导或者简单 AST 规则就能稳定抓出来的问题。它们往往来自真实线上事故、返工、误解和交接成本。以前这些经验只能靠人去记,记不住就会在别的项目里重新踩一次。
User Pain Point #1 — 信息碎片化:团队里每个人都有自己的笔记本、GitHub Wiki 或者 Google Doc,但没有统一入口。于是即使有价值的检查项,也只能等到有人主动去搜才会被发现。
User Pain Point #2 — 主动记忆成本高:做 PR 时我知道清单里有条“处理并发请求的竞态”,但真的会每次都打开页面对照吗?答案是否定的,同事更不会。新人入职时我会把链接丢给他们,他们收藏,接下来就再也不打开了。
User Pain Point #3 — 缺少即时提醒:在 Code Review 场景里你必须先意识到自己可能漏了什么才能去查文档。而大多数遗漏恰恰是你根本没有意识到自己遗漏了什么。
I tried a few mitigations:
The core issue isn’t that document isn’t flashy enough;it’s that “pull‑to‑read” docs rarely become part of anyone’s workflow.
的 Skill 机制改变了这件事。
Simplified: a Skill is a piece of documentation that AI reads before executing a task. When you mention a trigger word in conversation。AI loads Skill and follows its instructions.
/frontend-checklist,“按前端清单 review”,“按 checklist 检查这段代码”。使用者没提,它不会自行扫描代码。git diff;orwise ask for clarification instead of scanning whole repo.A developer no longer needs to memorize all 80 items—just remember re’s an entry point . When you type that command in your IDE or chat window。AI pulls checklist toger with your current diff and reports only hits with file paths and line numbers. The mental load drops from “remembering 80 rules” to “knowing re’s a shortcut”.
export function CommentList {
const = useState;const = useState;useEffect => {
fetch
.n => r.json)
.n => {
setList;}),},);const highlight = => {
if return text;return text.replace,'' + kw + '');},return (
{list.map => (
))}
);不过,}
The code compiles and even passes most linters。but when fed into Skill it returns **7 命中**:
#line 23: tag tip ,存在 XSS 风险。建议默认文本渲染,若必须富文本,请使用 消毒后再渲染。#line 13: #line 21: #line 6: A generic AI review would likely output vague suggestions like “add error handling”. ESLint would only catch syntax errors or missing dependencies. **The Skill shines because it applies a concrete checklist – turning abstract best practices into actionable line‑by‑line feedback**.
I also ran or showcase cases: a user profile page triggered **6 条**;a registration form hit **5 条** . All are pieces of code that look “good enough” but become hidden traps once shipped.
curl -fsSL https://github.com/wsafight/front-end-checklist/releases/latest/download/install.sh \
| sh -s -- claude
The script registers Skill for Claude. Afterwards you can simply type:
`git diff`.The same skill works with Kiro。Cursor or Codex – just replace command suffix accordingly.
The checklist remains bilingual. If you ask in English you’ll get English version automatically.
A two‑hour overhaul sounds like clickbait until you see what really happened: **A static checklist that sat untouched for three years suddenly became an active teammate**. The content didn’t change – still those ~80 vetted rules – but its delivery did. By embedding it into an AI workflow we turned passive documentation into proactive guidance.
If you have similar “valuable but unused” docs in your organization—architecture decisions,security policies,onboarding guides—spend an evening wiring m into an AI Skill. Turn knowledge hoards into instant assistants and watch your team’s productivity—and code quality—take off.
— 夜 🌙 于2026年8月12日撰稿 .
。作为专业的SEO优化服务提供商,我们致力于通过科学、系统的搜索引擎优化策略,帮助企业在百度、Google等搜索引擎中获得更高的排名和流量。我们的服务涵盖网站结构优化、内容优化、技术SEO和链接建设等多个维度。
| 服务项目 | 基础套餐 | 标准套餐 | 高级定制 |
|---|---|---|---|
| 关键词优化数量 | 10-20个核心词 | 30-50个核心词+长尾词 | 80-150个全方位覆盖 |
| 内容优化 | 基础页面优化 | 全站内容优化+每月5篇原创 | 个性化内容策略+每月15篇原创 |
| 技术SEO | 基本技术检查 | 全面技术优化+移动适配 | 深度技术重构+性能优化 |
| 外链建设 | 每月5-10条 | 每月20-30条高质量外链 | 每月50+条多渠道外链 |
| 数据报告 | 月度基础报告 | 双周详细报告+分析 | 每周深度报告+策略调整 |
| 效果保障 | 3-6个月见效 | 2-4个月见效 | 1-3个月快速见效 |
我们的SEO优化服务遵循科学严谨的流程,确保每一步都基于数据分析和行业最佳实践:
全面检测网站技术问题、内容质量、竞争对手情况,制定个性化优化方案。
基于用户搜索意图和商业目标,制定全面的关键词矩阵和布局策略。
解决网站技术问题,优化网站结构,提升页面速度和移动端体验。
创作高质量原创内容,优化现有页面,建立内容更新机制。
获取高质量外部链接,建立品牌在线影响力,提升网站权威度。
持续监控排名、流量和转化数据,根据效果调整优化策略。
基于我们服务的客户数据统计,平均优化效果如下:
我们坚信,真正的SEO优化不仅仅是追求排名,而是通过提供优质内容、优化用户体验、建立网站权威,最终实现可持续的业务增长。我们的目标是与客户建立长期合作关系,共同成长。
Demand feedback