gherkin-authoring

Generate and update Gherkin story files with EPIC-NNNN IDs and standard tags.

23|7|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/kinncj/MAPLE --skill gherkin-authoring-kinncj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gherkin-authoring
Source: https://github.com/kinncj/MAPLE/tree/main/template/.opencode/skills/gherkin-authoring
Command: npx skills add https://github.com/kinncj/MAPLE --skill gherkin-authoring-kinncj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Authors struggle with inconsistent or incorrectly structured Gherkin story files, causing confusion and integration issues. This skill ensures IDs, timestamps, and tags are applied automatically and consistently as you write or update stories.

Core Features & Use Cases

  • ID allocation: assigns unique IDs to new stories following the <EPIC>-<NNNN> pattern.
  • Filename construction: builds filenames like <epic>-<story>-<YYYYMMDDHHMMSS>-<NNNN>.md from metadata.
  • Gherkin validation: ensures required tags (@story:, @epic:, @priority:) and proper Given-When-Then structure in scenarios.
  • Documentation alignment: keeps ADRs and related docs in sync with stories.

Quick Start

Create or update a Gherkin story and let the tool enforce IDs, filenames, and tag consistency.

Frequently Asked Questions about gherkin-authoring

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

FAQPage Schema
How do I enforce consistent Gherkin story file naming conventions?

To enforce consistent Gherkin story file naming, you need automated filename construction that builds names like <epic>-<story>-<YYYYMMDDHHMMSS>-<NNNN>.md from metadata. This ensures every story file follows a uniform, traceable structure across your project.

How do I generate unique IDs for BDD stories automatically?

Generate unique IDs for BDD stories by applying an ID allocation rule that follows the <EPIC>-<NNNN> pattern. This assigns sequential, unique identifiers to new stories automatically, preventing duplicate or mismatched IDs during creation or updates.

What is the proper structure for validating Gherkin Given-When-Then scenarios?

Validating Gherkin Given-When-Then scenarios requires checking for proper structure and required tags like @story:, @epic:, and @priority:. Validation ensures the BDD format is syntactically correct and includes necessary metadata for integration.

How do I keep ADR links synchronized with Gherkin stories?

To keep ADR links synchronized with Gherkin stories, use documentation alignment checks during story creation or updates. This validates that architecture decision records and related docs remain linked and consistent with the current story definitions.

Can I use this tool to update existing Gherkin stories without breaking their IDs?

Yes, you can update existing Gherkin stories without breaking their IDs. The tool enforces ID validation and tag consistency during updates, ensuring original <EPIC>-<NNNN> identifiers and metadata remain intact while applying structural corrections.

Why do my Gherkin story files cause integration issues?

Gherkin story files cause integration issues when they contain inconsistent or incorrectly structured data. Missing required tags, improper Given-When-Then formatting, or mismatched ADR links disrupt automated testing pipelines and cause confusion across teams.