Skip to main content

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first

星标

4,831

分支

318

更新时间

2025年10月23日 23:35

下载技能文件

下载包含 SKILL.md 和所有相关文件的完整技能目录

/plugin marketplace add obra/superpowers

复制此命令并粘贴到 Claude Code 中以安装该技能

相关技能

obra

testing-anti-patterns

obra

Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies

4,831testing
obra

systematic-debugging

obra

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes - four-phase framework (root cause investigation, pattern analysis, hypothesis testing, implementation) that ensures understanding before attempting solutions

4,831testing
obra

finishing-a-development-branch

obra

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

4,831testing
obra

condition-based-waiting

obra

Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses

4,831testing
obra

testing-skills-with-subagents

obra

Use when creating or editing skills, before deployment, to verify they work under pressure and resist rationalization - applies RED-GREEN-REFACTOR cycle to process documentation by running baseline without skill, writing to address failures, iterating to close loopholes

4,831testing
obra

writing-skills

obra

Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization

4,831testing
Toowiredd

testing-builder

Toowiredd

Automatically generates comprehensive test suites (unit, integration, E2E) based on code and past testing patterns. Use when user says "write tests", "test this", "add coverage", or after fixing bugs to create regression tests. Eliminates testing friction for ADHD users.

11testing
Toowiredd

rapid-prototyper

Toowiredd

Creates minimal working prototypes for quick idea validation. Single-file when possible, includes test data, ready to demo immediately. Use when user says "prototype", "MVP", "proof of concept", "quick demo".

11testing
CuriousLearner

webhook-tester

CuriousLearner

Test webhook integrations locally with tunneling, inspection, and debugging tools.

9testing
CuriousLearner

test-generator

CuriousLearner

Generate unit tests based on existing code patterns and testing frameworks.

9testing
CuriousLearner

api-tester

CuriousLearner

Quick API endpoint testing with comprehensive request/response validation.

9testing
CuriousLearner

seed-data-generator

CuriousLearner

Generate realistic test data for database development, testing, and demos.

9testing
test-driven-development - obra 的 Claude AI 技能 | SkillsMP