wesammustafa/Claude-Code-Quest / examples/intermediate/01-first-skill/dot-claude/skills/tdd
tdd
VerifiedTODO
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.0 KB |
SKILL.md
View on GitHub---
# What: a project skill that builds a feature test-first. Unfinished on purpose: lesson 1's Your turn has you finish it.
# Runs: when you type /tdd <feature>. Once finished, also when Claude matches your request to the description.
# Side effects: Claude edits code and tests and runs your test command, under your session's permission settings. It doesn't commit: you review the diff and commit.
# Requires: Claude Code and a project with a test command. Platforms: any.
# Remove: delete .claude/skills/tdd/.
# Not yet tested in a session at this edition's version
name: tdd
description: TODO
disable-model-invocation: true
---
Build this test-first, one behavior at a time: $ARGUMENTS
1. Red: write one failing test for the next behavior. Run the tests and confirm that it fails, and fails for the reason you expect. Don't change code outside the tests in this step.
2. Green: TODO
3. Refactor: TODO
Repeat until the feature is done, then run the whole test suite and show the diff. Don't commit: the user reviews the diff and commits.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |