From nexa-claude-nextjs
Implements use cases and fixes bugs by creating Next.js pages, components, API route handlers, and server actions. Use when the user asks to "implement a use case", "fix a bug", "build the UI", "create an API endpoint", "write a page", or mentions Next.js implementation, App Router, server actions, or full-stack implementation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nexa-claude-nextjs:implementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Implement $ARGUMENTS using Next.js App Router for both the UI and API layer.
Implement $ARGUMENTS using Next.js App Router for both the UI and API layer.
$ARGUMENTS can be a use case (UC-XXX), a technical task (TT-XXX), or a bug fix (BUG-XXX).
Write unit tests alongside the implementation. Integration tests (vitest-test) and e2e tests (playwright-test) are separate skills.
Use the context7 MCP server to look up Next.js documentation when needed.
Read and follow ${CLAUDE_PLUGIN_ROOT}/shared/readiness/NEXA_RULES_GATE.md.
Read and follow ${CLAUDE_PLUGIN_ROOT}/shared/readiness/SPRINT_BRANCH_GATE.md.
Read and follow ${CLAUDE_PLUGIN_ROOT}/shared/readiness/PROJECT_READINESS.md.
This gate checks that cross-cutting infrastructure (middleware, error logging, security headers,
environment configuration) exists before use case implementation begins. It applies to UC-XXX
items only — TT-XXX and BUG-XXX items skip this gate.
Do not proceed with implementation until all items pass or the user explicitly waives failures.
${CLAUDE_PLUGIN_ROOT}/shared/readiness/DEFINITION_OF_READY.md.${CLAUDE_PLUGIN_ROOT}/shared/readiness/DEFINITION_OF_READY_TT.md.${CLAUDE_PLUGIN_ROOT}/shared/readiness/DEFINITION_OF_READY_BUG.md.Do not proceed with implementation until all items pass or the user explicitly waives failures.
Read and follow the Before Implementation steps in ${CLAUDE_PLUGIN_ROOT}/shared/tracking/TRACKING.md.
example.com for test emails and accounts (e.g., user@example.com, admin@example.com). This is an IANA-reserved domain that will never route real mail.docs/use_cases/docs/technical_tasks/docs/bugs/docs/entity_model.md (if applicable)docs/designs/ (if it exists for this UC). When a design artifact exists, the implementation must match the specified screens, layout, components, states, and navigation flow.docs/designs/DESIGN_RULES.md (if it exists). These are project-specific constraints — e.g., shared layout elements (header, footer, sidebar), mandatory components, or navigation patterns — that every implementation must follow. Missing a shared element specified in design rules is a defect.CLAUDE.md for the marker <!-- NEXA_I18N_CONFIGURED -->.
If absent, fall back to looking for i18n indicators: translation/message files, i18n
configuration, locale directories, translation function imports (useTranslations,
getTranslations, t(), intl, etc.), locale-based routing segments ([locale],
[lang]), or i18n libraries in package.json (e.g., next-intl, react-intl,
react-i18next, i18next).
If any i18n setup is found, all user-facing strings in this implementation MUST use the
project's established translation pattern:
app/api/**/route.tsGET, POST, PUT, DELETE)NextResponse.json() with appropriate status codesapp/actions/ or colocate with the page"use server" directiverevalidatePath() or revalidateTag() for cache invalidationpage.tsx and layout.tsx files"use client") only for interactivity (forms, event handlers, state)components/loading.tsxerror.tsxnpx vitest run to verify they pass/code-quality skillnext buildDECISIONS.md file (or in the PR description):
Read and follow the After Implementation steps in ${CLAUDE_PLUGIN_ROOT}/shared/tracking/TRACKING.md.
npx claudepluginhub nexadevapp/nexa-claude-skills-marketplace --plugin nexa-claude-nextjsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.