Agent skill
specsafe-code
Start implementation phase of SpecSafe TDD workflow. Moves spec from TEST to CODE stage.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/specsafe-code-agentic-engineering--specsafe
Metadata
Additional technical details for this skill
- author
- Agentic Engineering
- version
- 1.0
SKILL.md
Start implementation phase (TEST → CODE stage) following TDD red-green-refactor.
When to use:
- Tests are generated and ready for implementation
- Starting TDD development cycle
- Moving from TEST to CODE stage
Input: The spec ID (e.g., SPEC-20240204-001)
Steps
-
Validate tests exist
Verify test files were generated for this spec. Check that tests exist (even if marked
.skip). -
Move to CODE stage
bashspecsafe code "<spec-id>"This updates the spec stage to CODE.
-
Guide TDD implementation
Explain the TDD cycle:
- Run tests (should fail - RED)
- Write minimum code to pass one test (GREEN)
- Refactor if needed
- Repeat until all tests pass
-
Provide implementation support
Offer to:
- Help write the implementation
- Review code
- Suggest refactoring
- Debug failing tests
Output
After moving to CODE stage:
- Confirmation of stage change
- TDD cycle reminder
- Current test status
- Prompt: "Let's implement the code. What would you like help with?"
Guardrails
- Spec must be in TEST stage
- Tests must exist
- Remind user to follow TDD (test first, then code)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?