nextjs-gherkin-generator

Generate Playwright-BDD compatible Gherkin Feature files for Next.js/TypeScript projects.

Updated Dec 30, 2025
One-click install
npx skills add https://github.com/tailwind8/portfolio-reserve --skill nextjs-gherkin-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-gherkin-generator
Source: https://github.com/tailwind8/portfolio-reserve/tree/main/.claude/skills/nextjs-gherkin-generator
Command: npx skills add https://github.com/tailwind8/portfolio-reserve --skill nextjs-gherkin-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates the generation of Gherkin scenarios for Next.js/TypeScript projects from user stories, PRDs, or specification documents, reducing the manual effort of writing BDD scenarios and ensuring consistency with project conventions.

Core Features & Use Cases

  • Automated Gherkin generation for Next.js apps (App Router, API routes, Server/Client Components) from user stories, PRDs, or specs.
  • Support for multi-tenant patterns and tenant_id awareness in API and page flow scenarios.
  • Output of Playwright-BDD compatible Feature files along with scaffolding and reference templates to accelerate test development.

Quick Start

Provide a user story, PRD, or spec, and the skill will generate Playwright-BDD compatible Gherkin scenarios for your Next.js project.

Frequently Asked Questions about nextjs-gherkin-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Gherkin scenarios for Next.js App Router projects?

Generate Gherkin scenarios for Next.js App Router projects by providing a user story, PRD, or specification document to automatically output Playwright-BDD compatible Feature files and test scaffolding aligned with project conventions.

Can I automate BDD test creation for Next.js Server Components and API routes from a PRD?

You can automate BDD test creation for Next.js Server Components and API routes by processing PRDs or specs to output Gherkin scenarios covering page transitions, API behaviors, and form interactions.

Does this Gherkin generator support multi-tenant patterns and tenant_id awareness in API flows?

Yes, this Gherkin generator supports multi-tenant patterns and tenant_id awareness, allowing you to generate scenarios accurately reflecting tenant-specific API and page flow behaviors in Next.js applications.

What is the best way to write Playwright-BDD feature files for Next.js loading states and UI interactions?

The best way to write Playwright-BDD feature files for Next.js loading states and UI interactions is to use a spec document to automatically generate data-driven scenarios with corresponding test scaffolding and reference templates.

How do I scaffold test templates for Next.js TypeScript projects using Gherkin?

Scaffold test templates for Next.js TypeScript projects by converting user stories into Gherkin scenarios, outputting Feature files alongside reference templates to accelerate Playwright test development.