tdd

Generates TDD diagrams for software components identified as candidates.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/ribeec20/vista-marketplace --skill tdd-ribeec20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd
Source: https://github.com/ribeec20/vista-marketplace/tree/main/vista/skills/tdd
Command: npx skills add https://github.com/ribeec20/vista-marketplace --skill tdd-ribeec20

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of Test-Driven Development (TDD) diagrams for complex software components, ensuring robust testing strategies and clear implementation contracts.

Core Features & Use Cases

  • Automated Diagram Generation: Creates logic flow, state, and decision tree diagrams for TDD candidates.
  • Test Contract Definition: Visually defines inputs, outputs, branches, and edge cases for testable behaviors.
  • Use Case: When developing a new pricing engine, use this Skill to generate diagrams that precisely outline discount rules and shipping calculations, which then serve as the basis for writing all necessary unit tests before implementation.

Quick Start

Run /vista:tdd PricingEngine to generate TDD diagrams for the PricingEngine component.

Frequently Asked Questions about tdd

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

FAQPage Schema
How do I generate test diagrams for complex software logic before writing code?

You can generate TDD diagrams by running the /vista:tdd command with your specific software component name. The Skill analyzes your existing architecture and domain requirements to automatically output Mermaid diagrams detailing logic flows, state transitions, and decision trees.

What is the best way to visually define test contracts and edge cases for a new component?

The best way to visually define test contracts is by generating TDD diagrams that explicitly outline inputs, outputs, branches, and edge cases. This approach ensures your testable behaviors serve as a robust implementation contract before development begins.

Can I use Mermaid diagrams to map out state transitions for test-driven development?

Yes, you can use Mermaid diagrams to map out state transitions for test-driven development. This Skill specifically generates Mermaid diagrams representing logic flows, state transitions, and decision trees for software components identified as TDD candidates.

How do I identify testable behaviors and decision trees for an existing software architecture?

To identify testable behaviors and decision trees for an existing software architecture, this Skill analyzes your domain requirements and architecture. It then produces detailed diagrams that map out complex logic flows and edge cases for your components.

When do I need to generate TDD diagrams for my software components?

You need to generate TDD diagrams when developing complex software components that require robust testing strategies and clear implementation contracts. It is particularly useful for visually defining rules and edge cases before writing unit tests and implementation code.