← Back to Skills Marketplace
952
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install nextjs-guidelines
Description
Next.js App Router best practices — Server Components, data fetching, caching, routing, middleware, metadata, error handling, streaming, Server Actions, and performance optimization for Next.js 14-16+.
Usage Guidance
This skill is a documentation-style, instruction-only guide for Next.js App Router and is internally consistent with that purpose. It does include deployment and integration examples that show env variable names and connectors (Redis, S3/AWS, analytics/CDNs). That is normal for a guide — but before you copy-run any example code, make sure you: (1) do not paste secrets into public repos or consoles, (2) provide real credentials only in secure runtime environments, and (3) review any third‑party service URLs or SDK usage to avoid unintended data exposure. If you want extra caution, inspect the exact snippets you plan to use and test them in an isolated environment first.
Capability Analysis
Type: OpenClaw Skill
Name: nextjs-guidelines
Version: 1.0.0
The skill bundle provides comprehensive documentation and code examples for Next.js App Router best practices. All `bash` commands, `tsx` code snippets, and configuration files (e.g., Dockerfile, next.config.js) are directly related to Next.js development, building, migration, deployment, and testing. There is no evidence of intentional harmful behavior, such as data exfiltration, unauthorized remote control, persistence mechanisms, or obfuscation. Prompt injection surfaces in `SKILL.md` and `README.md` are free of instructions designed to mislead the AI agent into performing malicious actions or accessing unrelated sensitive data. Network calls (e.g., `curl` commands) are for testing local endpoints, and file system access is for legitimate Next.js server-side features like custom font loading or cache handlers.
Capability Assessment
Purpose & Capability
Name/description (Next.js App Router guidance) align with the content: large SKILL.md and many reference docs containing patterns, code snippets, and deployment guidance. The skill requests no binaries, env vars, or installs, which is proportionate for a documentation/guide skill.
Instruction Scope
Runtime instructions are guidance-only (examples, code snippets, and an install hint for 'npx clawhub install nextjs'). Reference files include examples that access process.env (e.g., REDIS_URL, CACHE_BUCKET, DATABASE_URL) and third-party services (Cloudinary, Google Analytics) but these are demonstrative for deployment examples rather than directives for the agent to read local secrets or exfiltrate data. Reviewers should be aware copying examples into production without validating env handling can leak secrets, but the skill itself does not instruct the agent to access unrelated system files or secrets.
Install Mechanism
No install spec and no code to download/execute. Instruction-only skills are lowest-risk from an install mechanism perspective.
Credentials
The skill declares no required environment variables or credentials (none in requires.env). Several sample snippets and deployment examples reference common env names (REDIS_URL, AWS_REGION, CACHE_BUCKET, DATABASE_URL, API_SECRET). These are reasonable illustrative examples for a Next.js guide but are not required by the skill; users should not paste these examples into a project without supplying appropriate, secure credentials.
Persistence & Privilege
Flags show always:false and no install actions that modify system or other skills. disable-model-invocation is false (agent can invoke autonomously) which is the platform default; this is not combined with any other persistent or privileged behavior.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install nextjs-guidelines - After installation, invoke the skill by name or use
/nextjs-guidelines - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with best practices and reference guides for Next.js App Router.
- Comprehensive SKILL.md covers Server/Client Components, data fetching, caching, routing, middleware, metadata, error handling, and performance for Next.js 14–16+.
- Added 14 detailed reference files in /references for async APIs, bundling, data patterns, file conventions, error handling, font/image optimization, hydration errors, metadata, parallel routes, route handlers, and more.
- Includes decision trees, code examples, tables, and checklists for real-world scenarios and debugging.
- Designed to help avoid common pitfalls and apply the latest Next.js features and patterns.
Metadata
Frequently Asked Questions
What is Nextjs?
Next.js App Router best practices — Server Components, data fetching, caching, routing, middleware, metadata, error handling, streaming, Server Actions, and performance optimization for Next.js 14-16+. It is an AI Agent Skill for Claude Code / OpenClaw, with 952 downloads so far.
How do I install Nextjs?
Run "/install nextjs-guidelines" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Nextjs free?
Yes, Nextjs is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Nextjs support?
Nextjs is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Nextjs?
It is built and maintained by wpank (@wpank); the current version is v1.0.0.
More Skills