keyword-stuffing
它能做什么
这个技能检查页面内容、标题和替代文本,找出重复得过多、影响阅读和搜索表现的关键词。它面向写作者和搜索引擎优化团队。
适用场景
- ✓同一个短段落中反复出现同一短语的时候。
- ✓你的标题或替代文本是关键词列表而不是描述的时候。
- ✓AI 写的草稿过度重复目标短语的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/keyword-stuffing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我检查文章是否有关键词堆砌,并让它读起来更自然吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会计算关键词密度,并在标题、小标题、替代文本和元描述中查找重复短语。它会建议自然的同义表达和更清晰的措辞。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Avoid keyword stuffing
Google's spam detection algorithms penalise pages that unnaturally repeat keywords to manipulate rankings. Keyword-stuffed pages are demoted in search results or removed from the index entirely. Natural, reader-focused writing with topical variation outperforms keyword-dense content.
Quick Reference
- Keyword density above ~2–3% for any single term is a signal of keyword stuffing — write for readers, not keyword counters
- Repeating keywords unnaturally in titles, headers, alt text, or meta descriptions triggers Google's spam filters
- Google's algorithms (Panda, SpamBrain) penalise pages with manipulative keyword density; natural language variation is rewarded
Check
Analyse the page's main content body, <title>, <meta name='description'>, heading elements (H1–H6), and <img alt> attributes. Flag: (1) Any single keyword or phrase appearing more than 3× in the title tag. (2) Any keyword with a density above 3% of total word count. (3) Lists of keywords with no context (e.g., 'cheap flights, affordable flights, discount flights, best flight deals'). (4) Alt text that is a comma-separated list of keywords instead of a description. (5) Hidden text (white text on white background, or display:none containing keywords).
Fix
- Rewrite keyword-dense passages using natural language variation:
- Instead of repeating "SEO best practices" 8 times, use: "search engine optimisation", "ranking strategies", "organic search tips", "on-page SEO"
- Remove keyword lists from meta descriptions — write a single natural sentence.
- Fix keyword-stuffed alt text: replace "cheap flights london paris affordable flights" with "Passenger cabin view on London to Paris flight"
- If AI-generated content was used, review for repetitive phrasing and rewrite with varied terminology.
- Check for hidden text using browser DevTools CSS computed styles — remove any keyword content in hidden elements.
- Test the page's readability with the Flesch Reading Ease score — awkward keyword insertion lowers readability scores.
Explain
Google's Panda algorithm (now core to its main ranking system) and SpamBrain spam detection specifically target content with unnatural keyword density. Pages that appear to manipulate keyword frequency are demoted or removed from results. Google's documentation explicitly cites 'stuffing keywords into your content' as a violation of its quality guidelines. Natural writing that covers a topic comprehensively, using synonyms and related terms, outperforms keyword-dense content.
Code Review
Extract text content from the page body (strip HTML tags). Tokenise into words. Compute frequency of each unique word and common phrases (bigrams, trigrams). Flag any word/phrase appearing more than 3% of total word count. Also check <title>, <meta name='description'>, and alt attributes for repeated keywords. Report top 5 most frequent terms and their density percentages.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/keyword-stuffing
常见问题
多高的密度算太高?
这个技能会标记任何单一词语超过总字数约 3% 的情况。
隐藏文本会造成问题吗?
会。这个技能会标记含有关键词的隐藏文本,例如白底上的白色文字。
更好的做法是什么?
这个技能建议为读者写作,使用自然的语言变化。
详情
作者的原始描述
Use when auditing content pages for over-optimisation, reviewing AI-generated content that may repeat target phrases excessively, or checking meta tags and alt text for unnatural keyword accumulation.
热度
- GitHub 星标
- 75k
- 排名
- #2909
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。