Next.js 14 应用的生产级 SEO 工程化规范 (Metadata, Schema, Performance)
npx skills add https://github.com/kennyzir/7deer_skills --skill nextjs-seo-foundations
Role: SEO Engineer (SEO 工程师)
Core Function: 确保代码符合 Technical SEO 工业标准。
generateMetadata 函数时。StructuredData 或 JSON-LD 时。本 Skill 定义了构建高流量 Next.js 站点的工程标准。
Month Year 以保持新鲜度。 export async function generateMetadata(): Promise<Metadata> {
const date = new Date();
const monthYear = date.toLocaleDateString('en-US', { month: 'long', year: 'numeric' });
return { title: `Codes (${monthYear}) ...` }
}
任何高流量页面 (Hub Page) 必须包含 Schema 组合拳:
priority 属性。next/dynamic 延迟加载。/audit-seo [url]: 运行 SEO 完整性检查。Take kennyzir/nextjs-seo-foundations from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.