spec-test

Analyze specification documents to generate domain models and unit tests.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/kozyszoo/antigravity-handson --skill spec-test-kozyszoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-test
Source: https://github.com/kozyszoo/antigravity-handson/tree/main/.claude/skills/spec-test
Command: npx skills add https://github.com/kozyszoo/antigravity-handson --skill spec-test-kozyszoo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of analyzing specifications to generate domain models, class designs, and unit tests, ensuring code quality and adherence to specifications.

Core Features & Use Cases

  • Specification Analysis: Parses natural language specifications to identify domain entities, value objects, and domain events.
  • Test-First Design: Generates comprehensive unit tests for pure functions and class methods based on identified requirements and edge cases.
  • Automated Documentation: Appends structured design artifacts and test plans directly to existing Plan documents.
  • Use Case: A developer receives a new feature requirement. They use this Skill to analyze the requirement document, automatically generating the initial class structure, identifying pure functions, and creating a suite of unit tests to guide implementation.

Quick Start

Use the spec-test skill to analyze the attached specification document and update the plan file located at /path/to/your/plan.md.

Frequently Asked Questions about spec-test

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

FAQPage Schema
How do I generate unit tests from a natural language specification document?

To generate unit tests from a specification document, you can use spec-driven design automation to parse requirements and derive domain models, class responsibilities, pure functions, and detailed test scenarios for test-driven development.

What is the best way to derive domain models and entities from software requirements?

Deriving domain models from software requirements involves analyzing specification documents to identify domain entities, value objects, and domain events, then appending these structured design artifacts directly to an existing Plan document.

Can I automate test-first development by parsing specification documents?

Yes, you can automate test-first development by parsing specification documents to generate comprehensive unit tests for pure functions and class methods based on identified requirements and edge cases.

Does spec-test work with existing markdown plan documents?

Yes, spec-test integrates with existing markdown Plan documents via an edit tool, appending generated structured output for entities, domain events, class methods, and detailed test scenarios directly to your plan file.

How do I identify pure functions and class responsibilities from a feature requirement?

Identifying pure functions and class responsibilities requires analyzing feature requirement specifications to extract domain models, define class methods, and generate structured output that guides code implementation.