spec-implement

Implement specifications by authoring tests first with @spec traceability.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Varuas37/spec-test --skill spec-implement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-implement
Source: https://github.com/Varuas37/spec-test/tree/main/src/spec_test/skills/spec-implement
Command: npx skills add https://github.com/Varuas37/spec-test --skill spec-implement

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams convert explicit specifications into fully implemented features by driving development with tests first, ensuring alignment between requirements and code.

Core Features & Use Cases

  • Test-first Development: Write deterministic tests linked to specs before coding.
  • Spec-Driven Verification: Use the spec decorator to anchor tests to formal requirements and verify progress.
  • Iterative Implementation: Implement minimal code to satisfy failing specs and re-run verification to achieve PASS status.
  • Use Case: When a spec exists but tests are missing, use this skill to create tests that drive the implementation.

Quick Start

  1. Run spec-test verify to identify pending specs.
  2. Create tests in tests/ using @spec("ID", "description").
  3. Implement the feature to make tests pass and re-run verify.

Frequently Asked Questions about spec-implement

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

FAQPage Schema
How do I implement specifications using test-driven development?

Implement specifications using test-driven development by authoring deterministic tests linked to specs before coding, then writing minimal code to satisfy failing tests. This enforces a test-first workflow that ensures alignment between requirements and code.

How do I link pytest tests to formal specifications for traceability?

Link pytest tests to formal specifications for traceability by using the @spec decorator within your test files. This anchors tests to specific requirements, guiding verification and ensuring incremental progress toward a PASS status.

What is the best way to fix missing tests for existing feature specifications?

The best way to fix missing tests for existing specifications is to create deterministic tests in your tests directory using the @spec decorator, then implement the minimal feature code required to make those tests pass during verification.

Does test-driven development work for iterative implementation of feature specs?

Test-driven development works for iterative implementation of feature specs by running verification to identify pending specs, writing tests, and incrementally coding the solution until all tests achieve a PASS status, reducing risk throughout the process.

How do I verify progress when implementing features from specifications?

Verify progress when implementing features from specifications by running spec-test verify to identify pending specs and re-running verification after writing minimal code, ensuring unit-style verification maintains a maintainable design linked to requirements.