anchor-text
它能做什么
这项技能检查链接上的文字是否描述了它所指向的内容。适合希望为所有人提供更清晰链接的写作者和网页团队。
适用场景
- ✓当页面上的链接写着“点击这里”或“阅读更多”时。
- ✓当你在文章或产品页面中撰写链接时。
- ✓当你希望内部链接描述目标内容,但又不想堆砌关键词时。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/anchor-text/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我博客文章中的链接,并改写所有写着“点击这里”或“阅读更多”的链接。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会扫描页面上的链接文字,把笼统的说法替换为描述所链接页面的文字,同时保持表达自然。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Use descriptive anchor text
Descriptive anchor text helps search engines understand the context of the linked page and significantly improves accessibility for users using screen readers.
Quick Reference
- Use descriptive text for links instead of generic phrases like 'click here' or 'read more'
- Ensure the anchor text provides clear context about the linked page's content
- Avoid over-optimizing with excessive keyword stuffing in your internal links
Check
Verify that all links in the content use descriptive anchor text that accurately describes the target page.
Fix
Replace generic link text like 'click here' with descriptive phrases that include relevant keywords for the destination page.
Explain
Explain how descriptive anchor text improves both SEO crawlability and web accessibility for disabled users.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Use descriptive anchor text. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/anchor-text
常见问题
为什么笼统的链接文字会给屏幕阅读器用户带来困扰?
屏幕阅读器用户常常浏览链接列表,而“点击这里”之类的文字无法说明每个链接通向哪里。
我可以在链接中加入很多关键词吗?
不可以。这项技能提醒不要在内部链接中堆砌关键词,因此文字应当自然。
这只影响搜索吗?
不是。这项技能说明,描述性的文字对搜索引擎和无障碍访问都有帮助。
详情
作者的原始描述
Use when auditing metadata, crawlability, structured data, or indexability related to Use descriptive anchor text. Verify the rendered HTML and HTTP response rather than relying only on source files.
热度
- GitHub 星标
- 75k
- 排名
- #2720
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。