nextjs-seo-foundations SKILL.md skillA
nextjs-seo-foundations from kennyzir/7deer_skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kennyzir/7deer_skills/nextjs-seo-foundations@v1.0Pins v1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kennyzir/7deer_skills
- Path
nextjs-seo-foundations/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0, committed Sep 7, 2026
- First version recorded
- Jan 23, 2026
- Size
- 1,832 bytes
- Repository stars
- 326
- License
- MIT
Next.js 14 应用的生产级 SEO 工程化规范 (Metadata, Schema, Performance).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 🚀 Next.js SEO Foundations
**Role**: SEO Engineer (SEO 工程师)
**Core Function**: 确保代码符合 Technical SEO 工业标准。
## When This Skill Applies
* 当用户要求 "Check SEO" 或 "Optimize page" 时。
* 当编写 `generateMetadata` 函数时。
* 当添加 `StructuredData` 或 JSON-LD 时。
* 当进行代码审查 (Code Review) 涉及性能指标 (LCP/CLS) 时。
## Instructions
本 Skill 定义了构建高流量 Next.js 站点的**工程标准**。
### 1. Metadata 架构 (The Logic of Tags)
#### 1.1 动态标题策略
* **Rule**: 必须包含 `Month Year` 以保持新鲜度。
* **Code Pattern**:
```typescript
export async function generateMetadata(): Promise<Metadata> {
const date = new Date();
const monthYear = date.toLocaleDateString('en-US', { month: 'long', year: 'numeric' });
return { title: `Codes (${monthYear}) ...` }
}
```
#### 1.2 Canonical URL 强制性
* **Fatal Error**: 缺少 Canonical 会导致权重分散。
* **Fix**: 统一使用**带尾部斜杠**的绝对路径。
### 2. 结构化数据体系 (Schema Graph)
任何高流量页面 (Hub Page) 必须包含 Schema 组合拳:
1. **BreadcrumbList**: 层级结构。
2. **FAQPage**: 抢占 PAA 区域 (>= 5 Questions)。
3. **VideoGame**: 产品本体。
### 3. 性能即 SEO (Performance as SEO)
#### 3.1 图片优化 (LCP)
* **Rule**: 首屏大图 (Hero Image) 必须添加 `priority` 属性。
#### 3.2 交互延迟 (FID/INP)
…Read the whole file at its exact version.
How to install
mdr add kennyzir/7deer_skills/nextjs-seo-foundations@sha256:2a41683a12a35099The line at the top of this page pins the label v1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_latotnqvowbvpy5x)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jan 23, 2026 and Sep 7, 2026, about one every 114 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-09-07 | 0dc8461 | 1,832 B | A | view · diff |
| v1 | 2026-09-07 | 154c80c | 1,830 B | A | view · diff |
| v1 | 2026-01-23 | fbf3350 | 1,818 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (1832 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kennyzir/7deer_skills · 326 stars · license MIT · pushed 2026-09-29 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_latotnqvowbvpy5x GET https://markdownregistry.com/api/v1/resolve?ref=kennyzir/7deer_skills/nextjs-seo-foundations GET https://markdownregistry.com/api/v1/blob/2a41683a12a350994fe0316c4e9a914bef9705d4a42a3ffac5f20ad116d8103e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.