Andromity loads skills from folders you trust. Install with andromity skill install nextjs-app-router — autonomy and approval limits stay configurable per session.
Destination: Paste into any AI Agent (Cursor, Claude, Windsurf, AGY, Andromity)prompt mode
# Install the "Next.js 15 App Router Expert" skill
You are installing an AgenticMarket skill into this workspace. Follow these steps exactly.
## 1. Detect your environment and choose the destination file
- Andromity: `.andromity/skills/nextjs-app-router/SKILL.md` (or user scope `~/.andromity/skills/nextjs-app-router/SKILL.md`)
- Antigravity / Gemini CLI: `.agent/skills/nextjs-app-router/SKILL.md`
- Cursor: `.cursor/rules/nextjs-app-router.mdc`
- Claude Code: append to `CLAUDE.md` (or `.claude/skills/nextjs-app-router.md`)
- Windsurf: append to `.windsurfrules`
- Cline / Roo Code: `.clinerules/nextjs-app-router.md`
- GitHub Copilot: append to `.github/copilot-instructions.md`
- ChatGPT / web only: paste the content into Custom Instructions
- Any other agent: save to `.agent/skills/nextjs-app-router/SKILL.md`
## 2. Create the destination file
- Preserve every existing file and configuration entry.
- Create parent folders as needed.
- Never overwrite unrelated content.
## 3. Write exactly this content
```markdown
---
name: nextjs-app-router
description: "Master React Server Components, Server Actions, parallel routes, streaming, ISR, and cache revalidation."
author: vercel
license: mit
version: 1.0.0
---
# Next.js 15 App Router Expert
Guidelines for architecting scalable, performant Next.js 15+ applications.
## Rules & Patterns
1. **Server Components by Default**: Leave components as Server Components unless interactivity (`useState`, `useEffect`, browser events) is strictly required.
2. **Server Actions**: Define server actions with `"use server"` for mutations. Always validate arguments with Zod.
3. **Data Fetching**: Fetch data directly inside async Server Components. Use Next.js `fetch` with `next: { revalidate }` tags.
4. **Error & Loading Boundaries**: Provide `loading.tsx` and `error.tsx` in each route segment for instant fallback rendering.
```
## 4. Verify
- Confirm the file exists and is readable.
- Report the destination path and confirm the "Next.js 15 App Router Expert" skill is installed and active.
Skill metadata:
- Slug: nextjs-app-router
- Category: development
- License: mit
- Source: AgenticMarket