next-dev-loop
Skill by vercel
Verifies Next.js runtime behavior after code edits during `next dev`. It combines the /_next/mcp endpoint with agent-browser to confirm a change works in a running app, not just that it compiles.
Install next-dev-loop
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vercel/next.js /tmp/next.js && mkdir -p ~/.claude/skills && cp -r /tmp/next.js/skills/next-dev-loop ~/.claude/skills/next-dev-loopRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vercel/next.js /tmp/next.js && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/next.js/skills/next-dev-loop ~/.gemini/antigravity-cli/skills/next-dev-loopAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
next-dev-loop is an agent skill that checks Next.js runtime behavior after code edits made during `next dev`. It confirms that a change works in a running app, not only that it compiles or type-checks. It combines two views of the same app: the /_next/mcp endpoint, which reports routes, segments, server actions, logs and errors as Next.js sees them, and agent-browser, which drives a real Chrome to report DOM, console, network and React state.
Before use, the skill runs a preflight that checks both views are live at Next.js 16.3 or newer with Turbopack, and agent-browser 0.31.1 or newer. After an edit it checks compilation, runtime errors, page behavior and React-level behavior. It is aimed at developers who build Next.js apps with an AI assistant and want runtime checks in the edit and verify loop.
Written from the project's SKILL.md and checked against it.
What it can do
- get_compilation_issuesReports compile issues proactively. Requires Turbopack and errors on webpack.
- get_errorsLists runtime and build errors, including browser-side errors caught by the dev server.
- get_routesReturns the route map from a filesystem scan. No browser session needed.
- get_page_metadataShows the segment trie and routerType, a shortcut to find files behind a route.
- get_logsReturns the log file path for the dev server.
- get_server_action_by_idMaps a hashed server action id to its file and function name.
- get_project_metadataReturns project path, dev server URL and bundler.
- agent-browserDrives a real Chrome to open pages, snapshot the DOM, click and wait for load.
- agent-browser react treeReads the React component tree with props, state and render counts.
- Session restoreSaves and restores cookies and localStorage per worktree session on open and close.
What you need
- Next.js 16.3 or newer with Turbopack
- agent-browser 0.31.1 or newer
- A running `next dev` server
Try asking
- Verify my checkout change works in the running Next.js app
- Check the /dashboard route for runtime errors after my last edit
- Open the login page and confirm the form renders correctly
Good to know
- Requires Turbopack. It refuses to run on webpack.
- Requires a running `next dev` server.
- React introspection output is stale after navigation and must be re-run.
- get_errors and get_page_metadata need at least one navigation to populate.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/next-dev-loop/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB
Alternatives to next-dev-loop
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
next-dev-loop: common questions
Does next-dev-loop work with webpack?
No. The skill refuses on webpack because it requires Turbopack for get_compilation_issues and the rest of the loop.
How is this different from running type checks?
The skill confirms that a change works at runtime in a running app. The source says it is not only a check that the code compiles or type-checks.
Does it keep login state between runs?
Yes. With --restore, agent-browser loads saved cookies and localStorage before navigation and saves them on close.
How do I install next-dev-loop?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is next-dev-loop free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is next-dev-loop safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, 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 next-dev-loop?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
