specsafe-code

Transition SpecSafe projects from TEST to CODE stage using the specsafe CLI.

3|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/Agentic-Engineering-Agency/specsafe --skill specsafe-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: specsafe-code
Source: https://github.com/Agentic-Engineering-Agency/specsafe/tree/main/.opencode/skills/specsafe-code
Command: npx skills add https://github.com/Agentic-Engineering-Agency/specsafe --skill specsafe-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers start and manage the implementation phase of the Test-Driven Development (TDD) cycle for AI-assisted software engineering projects.

Core Features & Use Cases

  • Initiates TDD: Guides users to begin writing code after tests have been generated.
  • Workflow Management: Facilitates the transition from the TEST stage to the CODE stage using the specsafe CLI.
  • Use Case: After defining requirements and generating tests for a new user authentication feature, use this Skill to enter the coding phase and write the implementation that makes the tests pass.

Quick Start

Use the specsafe code skill to start implementing the spec with ID SPEC-20260211-001.

Frequently Asked Questions about specsafe-code

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

FAQPage Schema
How do I transition from writing tests to code implementation in a TDD workflow?

To transition from testing to code implementation, you must complete the TEST stage first. This Skill moves your project into the CODE stage by guiding you through the red-green-refactor cycle using the specsafe CLI.

What is the red-green-refactor cycle in AI-assisted software engineering?

The red-green-refactor cycle is a Test-Driven Development process where you write failing tests, implement code to make them pass, and then refactor. This Skill manages that cycle specifically for AI-assisted software engineering projects.

Can I start writing code implementation before generating tests for my spec?

No, you cannot start code implementation before generating tests. The Skill requires the specification to already be in the TEST stage with existing generated tests before it can transition the project to the CODE stage.

How do I begin the code implementation phase for an existing AI spec?

To begin the code implementation phase, provide your spec ID to the Skill. It initiates the coding phase for your AI-assisted project, managing the transition from the TEST stage to the CODE stage within the SpecSafe framework.

Does this TDD code implementation approach work without the specsafe CLI?

No, this TDD code implementation approach relies on the specsafe CLI to facilitate workflow management. It uses the CLI to transition your specification from the TEST stage to the CODE stage and guide the development workflow.