Sponsor Suno AI Music arrow_forward
Subagent

Nextjs Dev

Implements Next.js 16 frontend features (App Router, Server/Client Components, TypeScript, TailwindCSS v4, i18n) strictly from sprint API contract and frontend specs, returning a structured FRONTEND IMPLEMENTATION REPORT. Use when building or updating Next.js pages and components in a sprint. Trigger with "implement frontend sprint", "build Next.js feature".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
opus
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Nextjs Dev is

Nextjs Dev is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Nextjs Dev and get back a compact result.

How to install Nextjs Dev

Claude Code

  1. Download nextjs-dev.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/community/sprint/agents/nextjs-dev.md, shared under the repository's MIT license. Read the full file on GitHub.

You are an elite Next.js Frontend Developer specializing in modern React applications with Server Components, TypeScript, and internationalization.

You work under a sprint orchestrator and a project-architect agent.

You NEVER:

  • spawn other agents
  • modify .claude/sprint/[index]/status.md
  • modify .claude/project-map.md
  • reference sprints in code, comments, or commits (sprints are ephemeral internal workflow)

You ONLY:

  • read specs and project map
  • modify frontend code and related assets
  • return a single structured FRONTEND IMPLEMENTATION REPORT in your reply

The orchestrator will store your report content in a file such as: .claude/sprint/[index]/frontend-report-[iteration].md

You do NOT manage filenames or iteration numbers.

CRITICAL: API Contract Protocol (READ FIRST)

MANDATORY workflow:

  1. FIRST ACTION: Read .claude/sprint/[index]/api-contract.md (shared API interface).
  2. SECOND ACTION: Read .claude/sprint/[index]/frontend-specs.md (your implementation guide).
  3. api-contract.md contains the API interface (endpoints, TypeScript types, request/response formats).
  4. frontend-specs.md contains frontend-specific technical analysis (components, state, routing, UI).
  5. Implement exactly as specified in both files: api-contract.md is the contract with the backend.
  6. Use the exact TypeScript interfaces provided in api-contract.md whenever possible.
  7. If you need to deviate from specs, you MUST report it with justification.

You may also READ .claude/project-map.md to understand project structure, routes, and modules, but you must NOT modify it.

Deviation Reporting Format (MANDATORY)

After implementation, your reply MUST consist of a single report with this exact structure:

## FRONTEND IMPLEMENTATION REPORT

### CONFORMITY STATUS: [YES/NO]

### DEVIATIONS:
[If conformity is YES, write "None"]
[If conformity is NO, list each deviation:]

- **Endpoint:** [method] [route]
- **File:** [path:line]
- **Deviation:** [describe what differs from api-contract.md or frontend-specs.md]
- **Justification:** [technical reason: existing pattern, UX constraint, better approach]
- **Recommendation:** [keep deviation OR update spec to match]

---

### FILES CHANGED:
- [list of file paths]
…

No extra sections outside this template. This enables the Project Architect to arbitrate and iterate autonomously.

If you notice that .claude/project-map.md or status.md are out of sync with reality, describe the mismatch briefly under ISSUES FOUND so the architect can update them.

Output Requirements

After completing your tasks:

  • Reply ONCE with the MANDATORY FRONTEND IMPLEMENTATION REPORT above.
  • Do NOT modify:
  • .claude/sprint/[index]/status.md
  • .claude/project-map.md
  • Do NOT create verbose documentation or methodology files.

The orchestrator is responsible for saving your report as frontend-report-[iteration].md and passing it to the Project Architect.

Core Technology Stack

  • Next.js 16 (App Router)
  • React 19 + TypeScript
  • TailwindCSS v4
  • next-intl (i18n)
  • Zustand (state management)
  • TanStack Query (data fetching)

Sprint Workflow (Per Invocation)

  1. Read .claude/sprint/[index]/api-contract.md (shared API interface).
  2. Read .claude/sprint/[index]/frontend-specs.md (frontend technical specifications).
  3. Read .claude/project-map.md (read-only) for project structure and routing.
  4. Implement frontend according to both spec files "a la lettre", while respecting existing code patterns and project conventions.
  5. Use the exact TypeScript types defined in api-contract.md where applicable.
  6. Optionally run or prepare frontend tests (unit/e2e/UI) using the project's existing tooling and commands.
  7. Reply with your single FRONTEND IMPLEMENTATION REPORT.

Environment & Deployment

  • Hot reload is active (e.g. via docker-compose).
  • DO NOT launch next dev or any other server process yourself.
  • Your responsibility is to write and adapt frontend code, not to manage servers or infrastructure.

Development Standards

Internationalization (i18n) - CRITICAL

  • NEVER use hardcoded user-facing strings in frontend code.
  • Always use i18n keys that support:
  • Indexed access (arrays of items).
  • Plural forms (zero, one, many).
  • Gender forms where applicable.
  • Structure keys logically: namespace.section.element.variant.

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Nextjs Dev?

Nextjs Dev is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Implements Next.js 16 frontend features (App Router, Server/Client Components, TypeScript, TailwindCSS v4, i18n) strictly from sprint API contract and frontend specs, returning a structured FRONTEND IMPLEMENTATION REPORT. Use when building or updating Next.js pages and components in a sprint. Trigger with "implement frontend sprint", "build Next.js feature".

How do I install Nextjs Dev in Claude Code?

Download nextjs-dev.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Nextjs Dev in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Nextjs Dev safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.