Use when auditing content pages for citation quality, suggesting authoritative sources to link for factual claims, or reviewing whether a page's external link a
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-external-links-7cf19a624126 ,按照其中的说明把「external-links」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Outbound links to authoritative sources strengthen the credibility of your content and are considered a positive trust signal by Google. Pages that cite their sources rank better for informational queries than those that make unsupported claims.
rel="noopener noreferrer" on external links; add rel="nofollow" only for untrusted or paid linksFor each content page, count the number of external <a href> links pointing to domains other than the current site. Check: (1) Are factual claims backed by links to authoritative sources (government sites, peer-reviewed research, official documentation)? (2) Do all external links have rel="noopener noreferrer" for security? (3) Are paid or sponsored links marked with rel="sponsored" or rel="nofollow"?
rel="noopener noreferrer" to all external links for security.rel="sponsored" to paid or affiliate links; rel="nofollow" to links you cannot vouch for.Google uses the context of your outbound links as a signal of content quality. Pages that cite reputable external sources are treated as more trustworthy than those making unsupported assertions. Properly attributed external links also demonstrate E-E-A-T by showing you have researched the topic from primary sources.
Parse all <a href> elements with external URLs (different domain than the site). Verify each external link has rel="noopener noreferrer". Flag paid/affiliate links missing rel="sponsored". Count external links per page — flag pages with zero external links in long-form content (>500 words) that contains factual claims.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/seo/external-links