LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

Analyzes Next.js 16 codebases, detects testing frameworks, generates framework-specific unit or E2E scenarios, and verifies test execution.

Tags

Updated: 2026-11-29

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Analyze Next.js source code
  • Detect installed test frameworks
  • Generate component test scenarios
  • Generate hook test scenarios
  • Generate API route tests
  • Generate Server Action tests
  • Generate Playwright E2E tests
  • Request scenario confirmation
  • Delegate core test generation
  • Verify generated tests execute

Inputs

  • Next.js source files
  • package.json
  • Test configuration
  • Git repository state
  • User scenario confirmation
  • E2E testing request

Outputs

  • Generated test files
  • Displayed test scenarios
  • Test execution results
  • Test validation status

Requirements

  • OpenCode compatibility
  • Next.js project
  • package.json file
  • Installed test framework
  • Source file permissions
  • Test file creation permissions
  • Playwright installation for E2E tests

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 source code
Detect installed test frameworks
Generate component test scenarios
Generate hook test scenarios
Next.js source files
package.json
Test configuration
Generated test files
Displayed test scenarios
Test execution results