🎯

update-docs

🎯Skill

from vercel/next.js

VibeIndex|
What it does
|

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.tsx to image.mdx)
  • Branch Diff Analysis - Analyzes git diff canary...HEAD to 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)

update-docs

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add vercel/next.js --skill update-docs
skills.sh Install⚠ Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add vercel/next.js --skill update-docs
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/update-docs/SKILL.md

SKILL.md

1,138Installs
137,493
-
Last UpdatedJan 26, 2026

More from this repository10

🎯
authoring-skills🎯Skill

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-debug🎯Skill

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

React vendoring skill from the official Next.js repository, covering patterns for vendoring and bundling React within Next.js applications.

🎯
flags🎯Skill

Feature flags implementation skill from the official Next.js repository by Vercel, covering flag management patterns in Next.js applications.

🎯
dce-edge🎯Skill

Dead code elimination and edge runtime skill from the official Next.js repository, covering optimization patterns for edge deployments.

🎯
pr-status-triage🎯Skill

PR status triage skill from the official Next.js repository, providing workflows for triaging and managing pull request status in the Next.js project.

🎯
next-cache-components🎯Skill

Enables efficient caching and performance optimization for React components within Next.js applications by providing intelligent memoization and data persistence strategies.

🎯
cache-components🎯Skill

Guides component-level caching strategies in Next.js applications, from the official Next.js repository by Vercel.

🎯
write-guide🎯Skill

Skill

🎯
write-api-reference🎯Skill

Skill