LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-29

Capabilities

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Next.js
unit testing
test generation
App Router
Server Components
Vitest
Jest
Playwright
Analyze Next.js codebases
Detect test frameworks
Generate test scenarios
Generate E2E scenarios
Next.js source code
package.json
Test framework configuration
Generated test scenarios
Generated test files
Test execution results