nextjs-unit-test-creator - Generate Next.js 16 unit tests
Generates and validates tests for Next.js 16 components, hooks, utilities, Server Actions, API routes, and optional Playwright E2E flows.
Tags
Updated: 2026-11-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze Next.js codebases
- Detect test frameworks
- Generate test scenarios
- Generate E2E scenarios
- Request scenario confirmation
- Create test files
- Run test commands
- Validate App Router patterns
- Delegate test generation
Inputs
- Next.js source code
- package.json
- Test framework configuration
- User scenario confirmation
- E2E test request
Outputs
- Generated test scenarios
- Generated test files
- Test execution results
- Scenario confirmation prompts
Requirements
- Next.js 16 project
- package.json file
- Installed test framework
- Test file permissions
- Playwright for E2E tests
- OpenCode environment
