跳到正文
Skillpedia
SEO75k · #2758

broken-external-links

它能做什么

这项技能检查网站链接到其他网站的情况,并报告已经失效的链接。适合希望页面保持可信、并得到良好维护的网站所有者。

适用场景

  • ✓当文章或资源列表中有大量外部链接时。
  • ✓当访客反映链接通向错误页面时。
  • ✓当你维护的旧内容中链接了其他网站时。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/broken-external-links/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/broken-external-links/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请扫描我的资源页面,找出返回错误的外部链接,并建议可用的替代链接。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查每个外部链接的错误代码,然后将其更新为正确的地址;如果资源已不存在,则将其删除。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Fix or remove broken external links

Broken links provide a poor user experience and can signal to search engines that your content is outdated or poorly maintained.

Quick Reference

  • Regularly scan for external links returning 4xx or 5xx error codes
  • Update broken links to the new correct URL or remove them entirely
  • Avoid linking to expired domains that may have been repurposed

Check

Scan the page for any external links that lead to 404 pages or other error states.

Fix

Update the broken external link to a working URL or remove the link if the resource no longer exists.

Explain

Explain the impact of 'link rot' on a website's perceived quality and user trust.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Fix or remove broken external links. 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/broken-external-links

常见问题

失效的外部链接为什么对搜索重要?

这项技能说明,它们可能表明内容已经过时或维护不善。

什么是链接腐烂?

这项技能用这个术语指代随着其他网站变化或关闭而逐渐失效的链接。

应该保留指向已过期域名的链接吗?

不应该。这项技能提醒不要链接到可能已被挪作他用的过期域名。

详情

作者的原始描述

Use when auditing metadata, crawlability, structured data, or indexability related to Fix or remove broken external links. Verify the rendered HTML and HTTP response rather than relying only on source files.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2758
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能