unit-test-shifting-left-from-requirements

Generate unit test skeletons and BDD scenarios from requirements.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/wizeline/sdlc-agents --skill unit-test-shifting-left-from-requirements
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unit-test-shifting-left-from-requirements
Source: https://github.com/wizeline/sdlc-agents/tree/main/aicores/unit-testing-agent/skills/unit-test-shifting-left-from-requirements
Command: npx skills add https://github.com/wizeline/sdlc-agents --skill unit-test-shifting-left-from-requirements

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of unit tests and BDD scenarios directly from requirements, ensuring that tests are the first artifact produced for a feature, enabling true shift-left testing.

Core Features & Use Cases

  • Test Skeleton Generation: Creates failing test skeletons based on acceptance criteria.
  • BDD Scenario Authoring: Produces human-readable Gherkin scenarios for alignment.
  • Use Case: Before writing any code for a new user story, use this Skill to generate all necessary unit tests and BDD scenarios, ensuring testability and defining "done" from the outset.

Quick Start

Use the unit-test-shifting-left-from-requirements skill to generate test skeletons and BDD scenarios from the provided user story.

Frequently Asked Questions about unit-test-shifting-left-from-requirements

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

FAQPage Schema
How do I generate unit tests from requirements before writing code?

This Skill generates BDD scenarios and unit tests from requirements by parsing user stories or PRDs to produce Gherkin scenarios and failing test skeletons, enabling shift-left testing before implementation begins.

How do I write BDD scenarios from a PRD or user story?

To write BDD scenarios from a PRD, this Skill parses your acceptance criteria to produce human-readable Gherkin scenarios, ensuring team alignment and defining the definition of done from the outset of a feature.

What is shift-left testing and how do I apply it to TDD?

Shift-left testing moves test creation to the beginning of the development cycle. You can apply it to TDD by generating failing unit test skeletons from requirements before implementation, making tests the first artifact.

Can I generate test skeletons from acceptance criteria without writing implementation code first?

Yes, you can generate test skeletons from acceptance criteria without writing implementation code first. This Skill creates failing test skeletons based solely on requirements to support TDD framing and shift-left testing.

Do I need existing code to generate unit tests for user stories?

No, you do not need existing code to generate unit tests for user stories. This Skill automates test creation directly from requirements or PRDs, ensuring tests are the first artifact produced before any implementation.