update-docs
This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with…
Skill by evgeshniyzik-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/evgeshniyzik-dev-update-docs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend, backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/update-docs
What's inside
- Skill name
update-docs- Description
- This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.
- License
- MIT
- Instructions
- 261 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- CODE-TO-DOCS-MAPPING.md · references/
- DOC-CONVENTIONS.md · references/
SKILL.md (first lines)
# Next.js Documentation Updater Guides you through updating Next.js documentation based on code changes on the active branch. Designed for maintainers reviewing PRs for documentation completeness. ## Quick Start 1. **Analyze changes**: Run `git diff canary...HEAD --stat` to see what files changed 2. **Identify affected docs**: Map changed source files to documentation paths 3. **Review each doc**: Walk through updates with user confirmation 4. **Validate**: Run `pnpm lint` to check formatting 5. **Commit**: Stage documentation changes ## Workflow: Analyze Code Changes ### Step 1: Get the diff ```bash # See all changed files on this branch git diff canary...HEAD --stat # See changes in specific areas git diff canary...HEAD -- packages/next/src/ ``` ### Step 2: Identify documentation-relevant changes Look for changes in these areas: | Source Path | Likely Doc Impact | | -------------------------------------- | --------------------------- | | `packages/next/src/client/components/` | Component API reference | | `packages/next/src/server/` | Function API reference | | `packages/next/src/shared/lib/` | Varies by export | | `packages/next/src/build/` | Configuration or build docs | | `packages/next/src/lib/` | Various features | ### Step 3: Map to documentation files Use the code-to-docs mapping in `references/CODE-TO-DOCS-MAPPING.md` to find corresponding documentation files. Example mappings: - `src/client/components/image.tsx` → `docs/01-app/03-api-reference/02-components/image.mdx` - `src/server/config-shared.ts` → `docs/01-app/03-api-reference/05-config/` ## Workflow: Update Existing Documentation ### Step 1: Read the current documentation Before making changes, read the existing doc to understand: - Current structure and sections - Frontmatter fields in use - Whether it uses `<AppOnly>` / `<PagesOnly>` for router-specific content ### Step 2: Identify what needs updating Common updates include: - **New props/options**: Add to the props table and create a section explaining usage - **Changed behavior**: Update descriptions and examples - **Deprecated features**: Add deprecation notices and migration guidance - **New examples**: Add code blocks following conventions ### Step 3: Apply updates with confirmation For each change: 1. Show the user what you plan to change 2. Wait for confirmation before editing 3. Apply the edit 4. Move to the next change ### Step 4: Check for shared content If the doc uses the `source` field pattern (common for Pages Router docs), the source file is the one to edit. Example: ```yaml # docs/02-pages/... file with shared content --- source: app/building-your-application/optimizing/images --- ``` Edit the App Router source, not the Pages Router file. ### Step 5: Validate changes ```bash pnpm lint # Check formatting pnpm prettier-fix # Auto-fix formatting issues ``` ## Workflow: Scaffold New Feature Documentation Use this when adding documentation for entirely new features. ### Step 1: Determine the doc type | Feature Type | Doc Location | Template | | ------------------- | --------------------------------------------------- | ---------------- | | New component | `docs/01-app/03-api-reference/02-components/` | API Reference | | New function | `docs/01-app/03-api-reference/04-functions/` | API Reference | | New config option | `docs/01-app/03-api-reference/05-config/` | Config Reference | | New concept/guide | `docs/01-app/02-guides/` | Guide | | New file convention | `docs/01-app/03-api-reference/03-file-conventions/` | File Convention | ### Step 2: Create the file with proper naming - Use kebab-case: `my-new-feature.mdx` - Add numeric prefix if ordering matters: `05-my-new-feature.mdx` - Place in the correct directory based on feature type ### Step 3: Use the appropriate template **API Reference Template:** ```mdx ---
From evgeshniyzik-dev/nextjs, MIT.
More from evgeshniyzik-dev/nextjs
- 0.409score
runtime-debug
evgeshniyzik-dev
Debug and verification workflow for runtime-bundle and module-resolution regressions.
SkillDFreshness: DClaude Code +9 - 0.409score
flags
evgeshniyzik-dev
How to add or modify Next.js experimental feature flags end-to-end.
SkillDFreshness: DClaude Code +9 - 0.409score
react-vendoring
evgeshniyzik-dev
React vendoring and react-server layer boundaries.
SkillDFreshness: DClaude Code +9 - 0.409score
router-act
evgeshniyzik-dev
How to write end-to-end tests using createRouterAct and LinkAccordion.
SkillDFreshness: DClaude Code +9 - 0.409score
v8-jit
evgeshniyzik-dev
V8 JIT optimization patterns for writing high-performance JavaScript in Next.js server internals.
SkillDFreshness: DClaude Code +9 - 0.409score
write-api-reference
evgeshniyzik-dev
Produces API reference documentation for Next.js APIs: functions, components, file conventions, directives, and config options.
SkillDFreshness: DClaude Code +9 - 0.409score
write-guide
evgeshniyzik-dev
Generates technical guides that teach real-world use cases through progressive examples.
SkillDFreshness: DClaude Code +9 - 0.409score
dce-edge
evgeshniyzik-dev
DCE-safe require() patterns and edge runtime constraints.
SkillDFreshness: DClaude Code +9 - 0.406score
next-compile
evgeshniyzik-dev
Check Next.js compilation errors via a running dev server.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 13, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/evgeshniyzik-dev/nextjs
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from evgeshniyzik-dev
- 0.409score
runtime-debug
evgeshniyzik-dev
Debug and verification workflow for runtime-bundle and module-resolution regressions.
SkillDFreshness: DClaude Code +9 - 0.409score
flags
evgeshniyzik-dev
How to add or modify Next.js experimental feature flags end-to-end.
SkillDFreshness: DClaude Code +9 - 0.409score
react-vendoring
evgeshniyzik-dev
React vendoring and react-server layer boundaries.
SkillDFreshness: DClaude Code +9 - 0.409score
router-act
evgeshniyzik-dev
How to write end-to-end tests using createRouterAct and LinkAccordion.
SkillDFreshness: DClaude Code +9 - 0.409score
v8-jit
evgeshniyzik-dev
V8 JIT optimization patterns for writing high-performance JavaScript in Next.js server internals.
SkillDFreshness: DClaude Code +9 - 0.409score
write-api-reference
evgeshniyzik-dev
Produces API reference documentation for Next.js APIs: functions, components, file conventions, directives, and config options.
SkillDFreshness: DClaude Code +9
Cite this page
update-docs skill. Agent Mart. https://agentmart.dev/skills/evgeshniyzik-dev-update-docs (last updated 2026-10-24)