← Back to Skills Marketplace
2734
Downloads
2
Stars
32
Active Installs
1
Versions
Install in OpenClaw
/install next-best-practices
Description
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bund...
Usage Guidance
This skill looks safe as documentation for Next.js development. Before installing or using it, be mindful that some examples are operational: only let an agent run codemods or query the local MCP debugging endpoint when you explicitly want that behavior, and review any file changes or debug output before sharing or committing.
Capability Analysis
Type: OpenClaw Skill
Name: next-best-practices
Version: 0.1.0
The skill bundle primarily provides documentation and code examples for Next.js best practices. However, the `debug-tricks.md` file documents and provides `curl` commands to interact with the `/_next/mcp` endpoint, an AI-assisted debugging API in Next.js development mode. This endpoint allows querying for potentially sensitive local project information such as `projectPath`, `devServerUrl`, and the path to `next-development.log`. While the skill does not explicitly instruct the agent to exfiltrate this data, it exposes a high-risk capability for information disclosure if an AI agent were to be maliciously prompted to use these commands and exfiltrate the results, classifying it as suspicious rather than benign.
Capability Assessment
Purpose & Capability
The artifacts are coherent with the stated purpose: they provide Next.js guidance on file conventions, RSC boundaries, async APIs, metadata, error handling, images, fonts, bundling, and debugging. No code files, required credentials, required binaries, install steps, or capability tags are declared.
Instruction Scope
Most instructions are documentation and code-review guidance. Some examples show user-directed shell commands and local MCP endpoint calls; these are purpose-aligned but should not be run automatically without user intent.
Install Mechanism
There is no install spec, no package dependency, and no helper script; the skill is instruction-only.
Credentials
The guidance includes project-modifying codemods and local development-server debugging calls. These fit a Next.js debugging/migration skill, but users should review their effects before use.
Persistence & Privilege
The provided artifacts show no background persistence, credential handling, elevated privilege requirement, or autonomous mutation beyond documented examples.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install next-best-practices - After installation, invoke the skill by name or use
/next-best-practices - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release summarizing Next.js best practices:
- Covers file conventions, project structure, and special routing patterns.
- Documents RSC (React Server Component) boundaries and async API patterns.
- Provides guidance on error handling, metadata generation, and image/font optimization.
- Details bundling, script usage, hydration errors, and Suspense requirements.
- Includes recommendations for route handlers, data patterns, self-hosting, and debug tips.
Metadata
Frequently Asked Questions
What is Next Best Practices?
Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bund... It is an AI Agent Skill for Claude Code / OpenClaw, with 2734 downloads so far.
How do I install Next Best Practices?
Run "/install next-best-practices" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Next Best Practices free?
Yes, Next Best Practices is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Next Best Practices support?
Next Best Practices is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Next Best Practices?
It is built and maintained by vi.dev (@tuanvidev); the current version is v0.1.0.
More Skills