spec-gen-write-tests
CommunityWrite real, runnable tests from specs
Authorclay-good
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Many projects lack reliable, spec-aligned tests and engineers spend time writing fragile placeholders or guessing intended behavior. This Skill ensures tests are derived from the actual implementation and spec contract so tests verify real behavior rather than stubbing or masking bugs.
Core Features & Use Cases
- Spec-aligned test generation: Reads the implementation and associated spec scenarios before writing assertions to ensure tests reflect GIVEN/WHEN/THEN semantics.
- Framework detection and integration: Detects common test frameworks (Vitest, Jest, pytest, Go test, CTest/GTest) and generates framework-specific test files and annotations.
- Safe, iterative validation: Runs tests, diagnoses failures, and enforces rules such as no placeholder assertions and mocking only system boundaries.
Quick Start
Run the spec-gen write-tests skill to create and run real tests for a specified function or spec scenario in your project root.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: spec-gen-write-tests Download link: https://github.com/clay-good/spec-gen/archive/main.zip#spec-gen-write-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.