TDD
技能 活跃Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
To guide users in implementing test-driven development, ensuring robust and maintainable code through a structured red-green-refactor process.
功能
- Guides TDD with red-green-refactor loop
- Emphasizes integration tests through public interfaces
- Discourages implementation-detail testing
- Promotes vertical slicing over horizontal slicing
- Provides refactoring guidance after achieving passing tests
使用场景
- When building new features using TDD
- When fixing bugs using a test-first approach
- When aiming for integration tests over mocks
- When wanting to learn or enforce TDD principles
非目标
- Testing implementation details
- Writing all tests before any implementation
- Writing code without a corresponding failing test
- Refactoring while tests are still failing
Trust
- info:Issues AttentionOpened issues in the last 90 days: 27, closed issues in the last 90 days: 117. The closure rate is relatively high, indicating good responsiveness.
Versioning
- warning:Release ManagementThere is no explicit versioning (e.g., semver in frontmatter, GitHub releases, or CHANGELOG) and install instructions reference 'main', making it difficult to pin specific versions.
安装
/plugin install skills@mattpocock-skills质量评分
类似扩展
Agent Coder
99Agent skill for coder - invoke with $agent-coder
Dart Matcher Best Practices
100Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.
Coding Standards
100Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.
Refactoring Patterns
99Apply named refactoring transformations to improve code structure without changing behavior. Use when the user mentions "refactor this", "code smells", "extract method", "replace conditional", "technical debt", "move method", "inline variable", or "decompose conditional". Also trigger when cleaning up legacy code, preparing code for new features by restructuring, or identifying which transformation to apply to a specific code smell. Covers smell-driven refactoring, safe transformation sequences, and testing guards. For code quality foundations, see clean-code. For managing complexity, see software-design-philosophy.
Writing Skills
99在创建新技能、编辑现有技能或在部署前验证技能是否正常工作时使用
Workflow Patterns
99Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.