Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

nextjs-docs

Skill by formbricks

Points AI assistants to a local, version-pinned Next.js documentation index in .next-docs/. Use it before routing, caching, server action, or config work in apps/web.

  • Score 85
  • 13k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install nextjs-docs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/formbricks/formbricks /tmp/formbricks && mkdir -p ~/.claude/skills && cp -r /tmp/formbricks/.agents/skills/nextjs-docs ~/.claude/skills/nextjs-docs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install nextjs-docs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

nextjs-docs is an agent skill that points an AI assistant to a local copy of the Next.js documentation stored in .next-docs/ at the repo root. The index lists the docs by section, including the app router, pages router, file conventions, config options, and API reference. The skill tells the assistant to find the right file in the index and read it before doing Next.js work.

The source says the docs match the installed Next.js version, so the assistant should prefer them over web search or training data. If the docs folder is missing, the index says to run an npx codemod command first. The index block is machine-managed and can be refreshed with a command after a Next.js upgrade. It is written for developers working on the Next.js code in apps/web.

Written from the project's SKILL.md and checked against it.

What it can do

  • App router docs indexLists app router guides and API pages such as layouts, caching, server actions, and route handlers.
  • Pages router docs indexLists legacy pages router guides, data fetching functions, and routing pages.
  • Config reference indexLists next.config.js option pages such as images, redirects, rewrites, and headers.
  • API reference indexLists components, hooks, functions, and file conventions like page, layout, and proxy.
  • Upgrade and migration guidesLists version upgrade guides and migration paths from Create React App and Vite.
  • Index refresh commandProvides an npx command to regenerate the index after a Next.js upgrade.

What you need

  • A local .next-docs/ folder at the repo root
  • npx, to run the docs codemod command if the docs are missing
  • An AI assistant that can read local files

Try asking

  • Read the Next.js caching docs before changing revalidation in apps/web
  • Check the local Next.js docs for how route handlers should be written
  • Find the next.config option docs for image settings and read them

Good to know

  • Docs are pinned to the installed Next.js version and must be refreshed after an upgrade
  • The index only points to docs; it does not run Next.js commands itself

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/nextjs-docs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to nextjs-docs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

nextjs-docs: common questions

Does nextjs-docs use the web or training data for Next.js answers?

The source says to prefer the local docs over web search or ctx7 for Next.js, because the local docs match the installed version. It also says not to rely on training data.

What should I do if the .next-docs folder is missing?

The index says to run npx @next/codemod agents-md --output AGENTS.md first. The source also gives a refresh command for the index block.

Which Next.js areas does the index cover?

The index covers the app router, pages router, config options, API reference, file conventions, guides, testing, and upgrade guides. It also includes architecture and community pages.

How do I install nextjs-docs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is nextjs-docs free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is nextjs-docs safe to use?

It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to nextjs-docs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

nextjs-docs Install

Add to stack

Loading.