Skip to main content
ZICQ

Skills ZICQ category:Engineering test-driven-development Claude CodeCursorCodex

Test-Driven Development

Use when implementing any feature or bugfix, before writing implementation code. Write a failing test first, then the minimal code to pass, then refactor.

285017 installs

Official URL:Superpowers

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

What it does

The official description leads with the trigger: before implementation. Three body sections match red-green-refactor.

When to use it

When implementing a feature or bugfix, before writing implementation code.

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: Test-Driven Development; Write a failing test; Minimal implementation; Refactor.

File analysis

File analysis: instruction-only skill (SKILL.md). The agent loads the full body when activated.

Test-Driven DevelopmentWrite a failing testMinimal implementationRefactor

· License:MIT

Source category:GitHub skill skills.sh agent-skill

SKILL.md & Agent activation

Official spec ↗
name
test-driven-development
description
Use when implementing any feature or bugfix, before writing implementation code. Write a failing test first, then the minimal code to pass, then refactor.
License
MIT
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "test-driven-development" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-seed-code-01-Test-Driven-Development.html
Save it as .cursor/skills/test-driven-development/SKILL.md or .claude/skills/test-driven-development/SKILL.md and keep the frontmatter name and description exactly as-is.

Full package on GitHub ↗

Install from the terminal · Skills CLI

Requires Node.js and npx. First inspect the repository's skill list to confirm the name.

npx skills add 'https://github.com/obra/superpowers/tree/main/skills/test-driven-development' --list

npx skills add 'https://github.com/obra/superpowers/tree/main/skills/test-driven-development' --skill 'test-driven-development'

The CLI lets you choose the agent interactively. The default scope is the project; use -g for user scope. Confirm package availability with the discovery command, then use npx skills list to inspect installed skills.

Readable layout

name: test-driven-development description: Use when implementing any feature or bugfix, before writing implementation code. Write a failing test first, then the minimal code to pass, then refactor. license: MIT

Test-Driven Development

Write a failing test

Do not start with production code. Name the behavior, run the test, confirm it fails.

Minimal implementation

Write only enough code to make the test pass.

Refactor

Clean the design only after green. Keep tests green.

Related skills

Engineering

Github

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Engineering

Elite Longterm Memory

Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose c…

Engineering

Answeroverflow

Search indexed Discord community discussions via Answer Overflow. Find solutions to coding problems, library issues, and community Q&A that …

Engineering

Git Essentials

Essential Git commands and workflows for version control, branching, and collaboration.