update-docs
π―Skillfrom vercel/next.js
Provides guided workflows for updating Next.js documentation, including checking docs affected by PRs, scaffolding docs for new features, and reviewing documentation completeness.
Overview
Update Docs is a skill from the Next.js repository that provides a guided workflow for updating Next.js documentation based on code changes. Designed for maintainers reviewing PRs for documentation completeness, it maps changed source files to their corresponding documentation paths and walks through updates with user confirmation and lint validation.
Key Features
- Code-to-Docs Mapping - Automatically maps changed source files to corresponding documentation paths using a reference mapping (e.g.,
image.tsxtoimage.mdx) - Branch Diff Analysis - Analyzes
git diff canary...HEADto identify all documentation-relevant changes across packages, components, and configuration - Guided Update Workflow - Five-step process: analyze changes, identify affected docs, review each doc, validate with
pnpm lint, and commit documentation changes - Router-Aware Content - Handles
<AppOnly>and<PagesOnly>router-specific content blocks and frontmatter fields in documentation - PR Documentation Completeness - Ensures new props, changed behaviors, deprecated features, and new examples are properly documented with migration guidance
Who is this for?
This is for Next.js maintainers and contributors who need to keep documentation in sync with code changes across pull requests. It is ideal for teams reviewing PRs who want a systematic approach to identifying which documentation needs updating when source code changes.
Same repository
vercel/next.js(11 items)
Installation
npx vibeindex add vercel/next.js --skill update-docsnpx skills add vercel/next.js --skill update-docs~/.claude/skills/update-docs/SKILL.mdSKILL.md
More from this repository10
Guide for creating and maintaining agent skills in .agents/skills/ for the Next.js project, covering SKILL.md authoring, frontmatter fields, description writing, naming conventions, and when to use skills vs AGENTS.md.
Runtime debugging skill from the official Next.js repository, providing patterns and best practices for debugging Next.js applications in development and production.
React vendoring skill from the official Next.js repository, covering patterns for vendoring and bundling React within Next.js applications.
Feature flags implementation skill from the official Next.js repository by Vercel, covering flag management patterns in Next.js applications.
Dead code elimination and edge runtime skill from the official Next.js repository, covering optimization patterns for edge deployments.
PR status triage skill from the official Next.js repository, providing workflows for triaging and managing pull request status in the Next.js project.
Enables efficient caching and performance optimization for React components within Next.js applications by providing intelligent memoization and data persistence strategies.
Guides component-level caching strategies in Next.js applications, from the official Next.js repository by Vercel.
Skill
Skill