Nextjs Patterns
Next.js best practices, server components, app router patterns, caching strategies, and full-stack architecture
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill nextjs-patternsgit clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills.git /tmp/mercury-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/mercury-agent-skills/categories/frontend/nextjs-patterns ~/.claude/skills/nextjs-patternsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Next.js Patterns Comprehensive guide to building production-grade Next.js applications with the App Router, Server Components, and modern React patterns. ## Core Architecture ### App Router vs Pages Router | Aspect | App Router | Pages Router | |--------|-----------|--------------| | **Components** | Server Components by default | Client Components only | | **Routing** | File-system based with layout nesting | File-system based, flat | | **Data Fetching** | Server-side fetch, `use`, cache primitives | `getServerSideProps`, `getStaticProps` | | **Loading States** | `loading.js` files | Manual implementation | | **Error Handling** | `error.js` files | Manual implementation | | **Streaming** | Built-in with Suspense boundaries | Not supported | ### Project Structure
Details
- Skill name
nextjs-patterns- Repository
- cosmicstack-labs/mercury-agent-skills
- Path
categories/frontend/nextjs-patterns/SKILL.md- License
- MIT
- Repo updated
- 25 August 2026
FAQ
What does the Nextjs Patterns skill do?
Next.js best practices, server components, app router patterns, caching strategies, and full-stack architecture
How do I install the Nextjs Patterns skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add cosmicstack-labs/mercury-agent-skills --skill nextjs-patterns. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Nextjs Patterns popular?
It lives in cosmicstack-labs/mercury-agent-skills, which has 492 GitHub stars and 68 forks.
Related skills
Accessibility
492cosmicstack-labs/mercury-agent-skills
Achieve and maintain WCAG compliance through inclusive design practices, proper ARIA usage, and comprehensive testing methodologies.
Accessibility Testing
492cosmicstack-labs/mercury-agent-skills
WCAG 2.1/2.2 audit, axe, Lighthouse, manual testing, screen reader testing, and remediation
Agent Audit Logging
492cosmicstack-labs/mercury-agent-skills
Implement comprehensive audit logging and reporting for multi-agent systems. Covers event capture, structured logging, traceability, compliance reporting, forensic analysis, and real-time monitoring dashboards for agent actions and decisions.
Personal Branding Statement
492cosmicstack-labs/mercury-agent-skills
A personal brand coach that helps you articulate who you are, what you do, and why it matters. Generates one-liners, bio statements, taglines, positioning frameworks, and messaging matrices for freelancers, creators, and solopreneurs building a professional identity.
Ky Design to HTML
166KyrieCheungYep/ky-design-to-html-skill
Convert visible UI references such as screenshots, exported mockups, Figma frame images, SaaS empty states, dashboards, and landing page screenshots into high-quality HTML/CSS by decomposing layout, separating visual assets from code-rendered UI, implementing the page, then validating with browser screenshots and iterative visual correction. Use when the user asks to recreate, copy, convert, or implement a visual design as HTML/CSS from an image or equivalent visual reference. Do not use for ordinary frontend feature work without a visual reference, designing new pages from text only, backend
React Native Patterns
492cosmicstack-labs/mercury-agent-skills
Navigation, state management, native modules, performance, animations, and cross-platform strategies
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.