Trellis Implement TDD
Implement a Trellis subtask using strict TDD (RED→GREEN→REFACTOR), turning acceptance criteria into code one by one. Used when Codex / Claude Code drives a small-parameter model like qwen3.6 35b—transforms "understand and implement requirements" into a mechanical "make this failing test green" loop with objective signals at every step.
Install
npx skills add coldwateryi/trellis-skills --skill trellis-implement-tddgit clone --depth 1 https://github.com/coldwateryi/trellis-skills.git /tmp/trellis-skills
mkdir -p ~/.claude/skills
cp -r /tmp/trellis-skills/trellis-implement-tdd ~/.claude/skills/trellis-implement-tddPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Trellis TDD Implementation (RED-GREEN-REFACTOR) ## Overview Implement a planned Trellis subtask by going through its `prd.md` acceptance criteria (AC) one by one using TDD: write a failing test and see red, write minimal code and see green, run self-checks to confirm no regression, record progress, move to the next AC. This skill is **invoked by the orchestration session (main session, typically a strong model)** to drive **the implementation executor (which may be a small model like qwen3.6 35b)**. The flow is "held" by this skill; the executor only performs mechanically verifiable steps without needing to judge "am I done?"—**test turns green = done**. Input: A subtask directory with `status` in-progress and dependencies satisfied (contains `prd.md`, may contain `design.md`, `implement.md`, `implement.jsonl`, `check.jsonl`). Output: Code changes passing tests + progress written back to `<task-dir>/tdd-progress.md`, **without executing git commit** (Trellis implementation executors forbid commit/push/merge). ## Constraints - **Do not write implementation code before a failing test.** The first step for every AC is always writing a test that fails. - **Only handle one AC at a time.** Don't start the next AC until the current one turns green. - **Do not judge "what the requirement is".** Requirements are locked down by `prd.md` acceptance criteria, decision table, and contracts; executor's job is to make the corresponding test green.
Details
- Skill name
trellis-implement-tdd- Repository
- coldwateryi/trellis-skills
- Path
trellis-implement-tdd/SKILL.md- License
- MIT
- Repo updated
- 3 July 2026
FAQ
What does the Trellis Implement TDD skill do?
Implement a Trellis subtask using strict TDD (RED→GREEN→REFACTOR), turning acceptance criteria into code one by one. Used when Codex / Claude Code drives a small-parameter model like qwen3.6 35b—transforms "understand and implement requirements" into a mechanical "make this failing test green" loop with objective signals at every step.
How do I install the Trellis Implement TDD skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add coldwateryi/trellis-skills --skill trellis-implement-tdd. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Trellis Implement TDD popular?
It lives in coldwateryi/trellis-skills, which has 44 GitHub stars and 1 forks.
Related skills
Trellis Debug Systematic
44coldwateryi/trellis-skills
When a test should be green but stays red, or a self-check command fails during Trellis subtask implementation/verification, use this non-deviable rigid script for systematic root-cause pinpointing and minimal fix. Used when Codex / Claude Code drives a small-parameter model like qwen3.6 35b—small models quickly spiral out of control when debugging freely; this skill uses "one change at a time, must re-run after change, no guessing" iron rules to lock it on a narrow path with defensive regression checks.
Trellis Debug Systematic Zh
44coldwateryi/trellis-skills
当 Trellis 子任务实现/验证过程中测试该绿不绿、或自检命令失败时,用一段不可偏离的刚性脚本做系统化根因定位与最小修复。用于 Codex / Claude Code 等驱动 qwen3.6 35b 这类小参数模型调试时——小模型一旦自由发挥就会到处乱改,本技能用"一次只改一处、改完必重跑、禁止猜"的铁律把它锁在窄路径上,并带防御性回归检查。
Trellis Delivery Controller
44coldwateryi/trellis-skills
Trellis requirements-to-delivery entrypoint and workflow controller. Use when the user wants to invoke one Trellis skill that detects the current stage and routes work across requirements analysis, MVP task planning, post-MVP gap audit, delivery loop, TDD implementation, systematic debugging, two-stage review, and final acceptance. Coordinates trellis-zero-to-mvp, trellis-mvp-to-delivery, trellis-implement-tdd, trellis-debug-systematic, and trellis-review-twostage while enforcing safety gates.
Trellis Implement TDD Zh
44coldwateryi/trellis-skills
在 Trellis 子任务进入实现阶段时,用严格 TDD(红→绿→重构)逐条把验收标准落成代码。用于 Codex / Claude Code 等在 trellis-zero-to-mvp-zh 或 trellis-mvp-to-delivery-zh 生成主子任务后,按依赖顺序实现某个子任务,尤其当执行模型是 qwen3.6 35b 这类小参数本地模型时——把"理解并实现需求"转成"让这条失败测试变绿"的机械循环,每步都有客观信号。
Trellis Delivery Controller Zh
44coldwateryi/trellis-skills
Trellis 需求交付总入口和流程控制器。用于用户希望只调用一个 Trellis skill 自动判断当前阶段,并在需求分析、MVP 任务规划、MVP 后差距审计、交付 loop、TDD 实现、系统调试、双阶段评审和最终验收之间进行路由、推进和安全门控制的场景。适合基于 trellis-zero-to-mvp-zh、trellis-mvp-to-delivery-zh、trellis-implement-tdd-zh、trellis-debug-systematic-zh 和 trellis-review-twostage-zh 形成端到端交付闭环。
Trellis Mvp to Delivery
44coldwateryi/trellis-skills
Audit an existing MVP against a source requirements document and run a sustainable Trellis delivery loop. Use when Codex is asked to continue after an MVP, complete remaining requirements, perform a first full gap audit, maintain a Requirements Traceability Matrix, classify DONE/PARTIAL/MISSING/UNTESTED/UNCLEAR items, initialize or update .trellis/delivery-state.md, choose full/delta/early-exit audit scope, plan bounded gap-closing batches, require worktree + verifier gates, design automated test coverage, classify discovered bugs, or run final acceptance before delivery.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.