next
Skill by vercel-labs
Next.js renderer for json-render that turns JSON specs into full Next.js applications with routes, layouts, SSR, and metadata. Built for developers using @json-render/next to generate multi-page apps from JSON specs.
Install next
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vercel-labs/json-render /tmp/json-render && mkdir -p ~/.claude/skills && cp -r /tmp/json-render/skills/next ~/.claude/skills/nextRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vercel-labs/json-render /tmp/json-render && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/json-render/skills/next ~/.gemini/antigravity-cli/skills/nextAntigravity 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
The next skill covers @json-render/next, a renderer that converts JSON specs into full Next.js applications. A NextAppSpec defines metadata, shared layouts, state and routes. Routes follow Next.js URL conventions, including dynamic, catch-all and optional catch-all segments. Each layout must include a Slot where page content renders.
createNextApp on the server provides getPageData, generateMetadata and generateStaticParams. Data loaders run in the Server Component before rendering, and their results merge into page state. Client components include NextAppProvider, PageRenderer and Link, and server utilities come from @json-render/next/server. The skill is aimed at developers building Next.js apps from JSON specs, or creating AI-generated multi-page applications.
Written from the project's SKILL.md and checked against it.
What it can do
- Route definitionsDefines app routes keyed by Next.js URL patterns, including dynamic and catch-all segments.
- Shared layoutsReusable layout element trees referenced by routes, each including a Slot for page content.
- Server-side renderinggetPageData matches the route, runs the loader and merges state for an async Server Component page.
- MetadataRoot and route-level SEO metadata, including title templates, description and OpenGraph.
- Data loadersServer-side async functions that run before rendering and merge results into page state.
- Static paramsgenerateStaticParams collects static params for all routes in the spec.
- setState actionUpdates a state value at a given state path.
- pushState and removeState actionsAppends values to an array in state, or removes an array item by index.
- navigate actionPerforms client-side navigation to a given href.
- Link componentBuilt-in client-side navigation link that wraps next/link.
What you need
- Next.js project using the app directory
- npm
- npm packages @json-render/core, @json-render/react and @json-render/next
Try asking
- Build a two-page Next.js app with a shared nav bar from a JSON spec
- Add a dynamic /blog/[slug] route that loads a post with a data loader
- Generate metadata and static params for all routes in my json-render spec
Good to know
- Every layout must include a Slot component where page content is rendered.
- The layout file is a Client Component because the registry holds functions.
- Keep html and body tags in the root app/layout.tsx.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/next/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to next
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: common questions
What does the next skill do?
It converts JSON specs into full Next.js applications with routes, layouts, SSR and metadata, using the @json-render/next renderer.
Which route patterns are supported?
Routes use Next.js conventions, including static paths like /about, dynamic segments like /blog/[slug], catch-all segments like /docs/[...path] and optional catch-all segments like /settings/[[...path]].
Where do server-side data loaders run?
Data loaders are server-side async functions that run in the Server Component before rendering, and their results are merged into the page's initial state.
How do I install next?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is next free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is next 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?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
