tdd-workflows-tdd-green – Coding skill for AI agents
Implement the minimal code needed to make failing tests pass in the TDD green phase.
Install the tdd-workflows-tdd-green skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/tdd-workflows-tdd-green-51849.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /tdd-workflows-tdd-green – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/tdd-workflows-tdd-green-51849.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $tdd-workflows-tdd-green – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/tdd-workflows-tdd-green-51849.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /tdd-workflows-tdd-green – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/tdd-workflows-tdd-green-51849.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /tdd-workflows-tdd-green – then describe the task you want done.
SKILL.md content
TDD Green Phase
Implement the smallest correct behavior for an agreed failing test while preserving existing requirements, security boundaries and interfaces. Read the bundled playbook as illustrative material, not an executable tool.
Use this skill when
- Moving from red to green in a TDD cycle
- Implementing minimal behavior to satisfy tests
- You want to keep implementation intentionally simple
Do not use this skill when
- You are refactoring for design or performance
- Tests are already passing and you need new requirements
- You need a full architectural redesign
Instructions
1. Review failing tests and identify the smallest fix.
2. Implement the minimal change to pass the next test.
3. Run tests after each change to confirm progress.
4. Record shortcuts or debt for the refactor phase.
Safety
- Avoid bypassing tests to make them pass.
- Keep changes scoped to the failing behavior only.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- tdd-workflows-tdd-red – Generate failing tests for the TDD red phase to define expected behavior and edge cases.
- tdd-workflows-tdd-refactor – Use when working with tdd workflows tdd refactor
- team-collaboration-issue – You are a GitHub issue resolution expert specializing in systematic bug investigation…
- technical-change-tracker – Track code changes with structured JSON records, state machine enforcement, and AI…
- technical-tutorials – When the user wants to create step-by-step technical tutorials, quickstarts, or code…
- telegram – Integracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks…
- telegram-bot-builder – Expert in building Telegram bots that solve real problems - from simple automation to…
- telegram-mini-app – Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with…