LogoClawIndex
CasesSkillsAbout
LogoClawIndex

nextjs-unit-test-creator - Generate tests for Next.js 16 applications

Generates and validates unit tests for Next.js 16 components, hooks, utilities, Server Actions, API routes, and optional Playwright E2E scenarios.

Tags

Updated: 2026-11-29

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Analyze Next.js source code
  • Detect testing frameworks
  • Generate test scenarios
  • Request scenario confirmation
  • Create test files
  • Run project tests
  • Validate Next.js patterns
  • Delegate core test generation

Inputs

  • Next.js project
  • package.json
  • Next.js source files
  • Test framework configuration
  • E2E testing request
  • User scenario confirmation

Outputs

  • Generated test scenarios
  • Test files
  • E2E test files
  • Test execution results
  • Scenario confirmation prompt

Requirements

  • Next.js 16 project
  • package.json
  • Installed test framework
  • Permission to create test files
  • test-generator-framework
  • 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
Playwright
Analyze Next.js source code
Detect testing frameworks
Generate test scenarios
Request scenario confirmation
Next.js project
package.json
Next.js source files
Generated test scenarios
Test files
E2E test files