Skip to content

/test-driven-development

Implement a feature or bugfix test-first using the red-green-refactor cycle — write a failing test, watch it fail, write the minimal code to pass, then clean up. Works in any language or test runner. Use when building new behaviour or fixing a bug and you want the test to

shell
$ npx -y skills add KhaledSaeed18/dotclaude --skill test-driven-development --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/test-driven-development
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Implement a feature or bugfix test-first using the red-green-refactor cycle — write a failing test, watch it fail, write the minimal code to pass, then clean up. Works in any language or test runner. Use when building new behaviour or fixing a bug and you want the test to
Ships withdotclaude

Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.

Get the whole plugin, auto-invoked
Stats
4
Stars
0
Views
1
Forks
Active
Maintenance
TypeScript
Language
MIT
License
18h ago
Last commit
1mo ago
Created

Repo: KhaledSaeed18/dotclaude

Other skills on dotclaude.