forward-derivation

Generate BDD scenarios, TDD skeletons, and ATDD tables from SDD specifications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of testing artifacts (BDD scenarios, TDD skeletons, ATDD tables) directly from approved Software Design Document (SDD) specifications, ensuring test coverage aligns perfectly with requirements.

Core Features & Use Cases

  • BDD Scenario Generation: Converts acceptance criteria into executable Gherkin feature files.
  • TDD Skeleton Creation: Generates basic test structures with TODOs for developers to implement.
  • ATDD Table Generation: Produces Markdown tables for acceptance testing scenarios.
  • Use Case: After a new feature's specification is approved, use this Skill to instantly generate all corresponding BDD scenarios and TDD test files, significantly speeding up the development cycle.

Quick Start

Use the forward-derivation skill to generate BDD and TDD artifacts from the specification file named SPEC-001.md.

Frequently Asked Questions about forward-derivation

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

FAQPage Schema
How do I generate BDD scenarios from a software design document?

You can generate BDD scenarios from a software design document by parsing approved SDD acceptance criteria to create executable Gherkin feature files, ensuring a 1:1 mapping and traceability between specifications and tests.

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

The best way to create TDD test skeletons from approved specifications is to automatically derive basic test structures with TODOs directly from SDD files, allowing developers to immediately implement the test logic.

Can I automatically generate ATDD tables from markdown specification files?

Yes, you can automatically generate ATDD tables from markdown specification files by translating the approved SDD acceptance criteria into structured Markdown tables for acceptance testing scenarios.

Does automated test generation from specifications work for both BDD and TDD workflows?

Automated test generation from specifications works for both BDD and TDD workflows by parsing a single approved SDD to simultaneously output Gherkin feature files, TDD skeletons, and ATDD tables.

How do I ensure traceability between software requirements and generated test files?

You ensure traceability between software requirements and generated test files by parsing acceptance criteria to create corresponding test artifacts with a strict 1:1 mapping to the original SDD specifications.

When should I use forward derivation for test artifact creation instead of manual scripting?

You should use forward derivation for test artifact creation instead of manual scripting when a new feature's SDD specification is approved and you need to instantly generate all corresponding BDD and TDD files to accelerate development.