test-generating

Generate unit test code from EARS specifications in YAML format.

Updated Nov 2, 2025
One-click install
npx skills add https://github.com/3balljugglerYu/ai_coordinate --skill test-generating
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generating
Source: https://github.com/3balljugglerYu/ai_coordinate/tree/main/.agents/skills/test-generating
Command: npx skills add https://github.com/3balljugglerYu/ai_coordinate --skill test-generating

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of unit test files based on formal EARS specifications, significantly speeding up the testing phase of software development.

Core Features & Use Cases

  • Automated Test Scaffolding: Generates boilerplate test code for ViewModels, Repositories, and Services.
  • Specification-Driven: Directly translates EARS specifications into structured Arrange-Act-Assert test cases.
  • Use Case: When a new feature's EARS specifications are finalized, use this Skill to instantly generate all the necessary unit test files, allowing developers to focus on implementing the test logic rather than the structure.

Quick Start

Use the test-generating skill to create tests for the AuthViewModel class.

Frequently Asked Questions about test-generating

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

FAQPage Schema
How do I generate unit tests from EARS specifications?

Unit test generation from EARS specifications works by reading YAML specification files and translating them into structured Arrange-Act-Assert test cases. It uses the London School mockist approach to scaffold tests for ViewModels, Repositories, and Services.

Can I automatically scaffold tests for ViewModels and Repositories?

Yes, you can automatically scaffold tests for ViewModels and Repositories. The Skill translates your EARS specifications into boilerplate test code, allowing you to focus on implementing test logic rather than file structure.

What file format do EARS specifications need to be in for test generation?

EARS specifications must be present in YAML format to generate unit tests. The Skill parses these YAML files to create the Arrange-Act-Assert test cases for your code components.

Does test generation follow the London School mockist testing approach?

Yes, test generation follows the London School mockist approach. It scaffolds test files for ViewModels, Repositories, and Services while adhering to Arrange-Act-Assert patterns and specific output directory structures.

What is the best way to automate boilerplate test creation from requirement specifications?

The best way to automate boilerplate test creation is using formal EARS specifications in YAML format. The Skill translates these specifications directly into structured Arrange-Act-Assert unit test cases.