gherkin-to-code

Convert Gherkin feature files into step definitions and implementation code.

10|7|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/cuongtl1992/vibe-skills --skill gherkin-to-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gherkin-to-code
Source: https://github.com/cuongtl1992/vibe-skills/tree/main/plugins/ai-first-engineering/skills/gherkin-to-code
Command: npx skills add https://github.com/cuongtl1992/vibe-skills --skill gherkin-to-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Read Gherkin feature files from living docs and translate them into a structured technical solution, generate step definitions, and produce corresponding implementation code. This skill acts as a bridge from WHAT (feature) to HOW (code), guiding the process without enforcing a specific tech stack or framework—instead it aligns with CLAUDE.md conventions and existing repo patterns.

Core Features & Use Cases

  • Technical analysis phase: mandatory review to understand context, rules, and scenarios before coding.
  • Step definitions generation: produce reusable step definitions that fit the project's test framework.
  • Implementation code generation: generate concrete implementation that satisfies the feature contract.
  • Repository alignment: adheres to CLAUDE.md conventions and existing patterns for smooth integration.

Quick Start

Hãy cung cấp một file .feature và yêu cầu hệ thống phân tích kỹ thuật, sinh các step definitions và mã triển khai cho feature đó.

Frequently Asked Questions about gherkin-to-code

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

FAQPage Schema
How do I generate step definitions and implementation code from Gherkin feature files?

To generate step definitions and implementation code from Gherkin feature files, you provide a .feature file and the skill translates it through a technical analysis phase, producing reusable step glue and business logic that aligns with existing repository conventions.

What is the process for converting BDD living documentation into production-ready code?

Converting BDD living documentation into production-ready code involves a three-phase workflow: mandatory technical analysis to understand context, generating step definitions for the test framework, and producing concrete implementation code that satisfies the feature contract.

Does Gherkin to code generation work with my existing project tech stack and CLAUDE.md conventions?

Yes, Gherkin to code generation works with your existing tech stack by aligning with CLAUDE.md conventions and existing repository patterns, rather than enforcing a specific framework, ensuring smooth integration into your current engineering workflows.

Can I skip the technical analysis phase and directly create step definitions from a feature file?

No, you cannot skip the technical analysis phase because it is a mandatory review step required to understand context, rules, and scenarios before coding, ensuring the generated step definitions and implementation logic accurately satisfy the feature contract.

Why does my generated code need to adhere to repository patterns when translating Gherkin scenarios?

Generated code must adhere to repository patterns when translating Gherkin scenarios to ensure smooth integration, bridging the gap from feature specifications to how the code functions without introducing foreign structures that conflict with existing project conventions.