derive

Generates BDD scenarios and TDD skeletons from SDD specifications.

70|13|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill derive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: derive
Source: https://github.com/AsiaOstrich/universal-dev-standards/tree/main/.gemini/skills/forward-derivation
Command: npx skills add https://github.com/AsiaOstrich/universal-dev-standards --skill derive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of BDD scenarios and TDD test skeletons directly from your approved specifications, ensuring test coverage aligns perfectly with requirements.

Core Features & Use Cases

  • BDD Scenario Generation: Converts acceptance criteria into Gherkin-formatted .feature files.
  • TDD Skeleton Creation: Generates basic test structures with TODO placeholders for implementation.
  • Use Case: After your software specification is approved, use this Skill to instantly generate the corresponding BDD feature files and TDD test skeletons, accelerating your development cycle.

Quick Start

Use the derive skill to generate BDD and TDD artifacts from the specification file 'specs/SPEC-001.md'.

Frequently Asked Questions about derive

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

FAQPage Schema
How do I generate Gherkin feature files from a software design document?

To generate Gherkin feature files from a software design document, use automation tools that parse approved SDD specifications and convert acceptance criteria directly into BDD scenarios, ensuring strict 1:1 mapping between requirements and test artifacts.

What is the best way to create TDD test skeletons from specifications?

Creating TDD test skeletons from specifications is best handled by automated generation tools that derive basic test structures with TODO placeholders directly from approved requirements, enforcing a strict 1:1 mapping to prevent hallucination.

Can I automatically map acceptance criteria to BDD scenarios without manual coding?

Yes, you can automatically map acceptance criteria to BDD scenarios without manual coding by using specification-driven test generation tools. These tools enforce a strict 1:1 mapping between approved criteria and generated Gherkin artifacts to prevent hallucination.

Does automated test generation from SDD files support ATDD table outputs?

Automated test generation from SDD files supports multiple output formats, including Gherkin feature files, test skeletons, and optional ATDD tables in markdown format, ensuring comprehensive coverage for behavior-driven development.

How do specification-driven test skeletons handle implementation logic gaps?

Specification-driven test skeletons handle implementation logic gaps by generating basic test structures populated with TODO placeholders, allowing developers to fill in the actual test logic while maintaining alignment with the original SDD acceptance criteria.