nap-consistency
它能做什么
这项技能比较本地商家在网站及其结构化数据中的名称、地址和电话。适用于希望搜索引擎信任其信息的本地商家负责人。
适用场景
- ✓当你请智能体检查网站中的商家信息是否一致的时候。
- ✓当页脚、联系页面和结构化标记中的地址或电话格式不同的时候。
- ✓当你在更新商家信息,并希望每个页面都以相同方式修改的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/nap-consistency/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我检查每个页面上,我的企业名称、地址和电话的写法是否一致。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在网站中搜索每一处名称、街道地址和电话号码。它会比较拼写和格式,与商家标记进行核对,并建议统一的标准格式。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Keep NAP details consistent
Inconsistent NAP information across a website signals to search engines that the business details are unreliable, which can suppress local rankings and prevent the Knowledge Panel from showing accurate information.
Quick Reference
- NAP = Name, Address, Phone — must be identical everywhere they appear on the site
- Inconsistencies confuse search engines and hurt local ranking
- Use identical formatting: same abbreviations, same phone format, same suite notation
- Reinforce NAP consistency in LocalBusiness schema markup
Check
Search the site for all instances of the business name, street address, and phone number. Compare each occurrence for exact consistency in spelling, formatting, and abbreviation (e.g., 'St.' vs 'Street', '555-1234' vs '(555) 123-4567'). Also check JSON-LD LocalBusiness schema against the visible text.
Fix
Standardise all NAP occurrences to a single canonical-url format. Choose one format for each field: full street name vs abbreviation, phone number formatting, suite/unit notation. Update all pages, footer, contact page, about page, and structured data to match exactly.
Explain
NAP consistency is a local SEO ranking factor. Google cross-references a business's Name, Address, and Phone across the site and external citations (Google Business Profile, directories). When these differ even slightly, Google's confidence in the data decreases, which can lower local rankings and show incorrect information in search results.
Code Review
Extract all instances of the business name, street address, and phone number from the site. Compare each instance for exact formatting consistency: same abbreviations (St. vs Street), same phone format, same suite notation. Extract the address from any LocalBusiness JSON-LD and compare against visible HTML text. Report any differences.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/nap-consistency
常见问题
为什么 NAP 对本地 SEO 很重要?
搜索引擎会在网络上比较这些信息,不一致可能会削弱本地排名和 Knowledge Panel 的显示效果。
什么算是不一致?
例如 St. 和 Street 的差别,或电话格式不同,即使信息相同也会算作不一致。
哪些页面应当保持一致?
这项技能列出页脚、联系页面、关于页面和结构化数据,都是需要更新的地方。
详情
作者的原始描述
Use when auditing a local business website for local SEO. Applies to any business that has a physical address and wants to appear in local search results or Google Maps.
热度
- GitHub 星标
- 75k
- 排名
- #2947
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。