
Tdd Workflows Tdd Refactor
This is a comprehensive TDD refactoring workflow that uses Claude's Opus model as a subagent orchestrator to safely transform code while keeping tests green. It walks through the full refactor phase: detecting code smells, applying design patterns and SOLID principles, optimizing performance, and making incremental changes with test verification at each step. The skill includes specific techniques like extract method, introduce parameter objects, and advanced patterns like Strangler Fig for legacy code. What stands out is the safety focus: it requires a green baseline before starting, runs tests after every change, and includes a rollback protocol if anything breaks. Best used when you have solid test coverage and want to improve code quality without introducing regressions.
- skills.sh installs
- 281
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill tdd-workflows-tdd-refactor --agent claude-codeInstalls into .claude/skills of the current project.
Files
Use this skill when
- Working on tdd workflows tdd refactor tasks or workflows
- Needing guidance, best practices, or checklists for tdd workflows tdd refactor
Do not use this skill when
- The task is unrelated to tdd workflows tdd refactor
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- The referenced implementation playbook and tdd-orchestrator agent are not bundled. Use available repository tooling; do not claim a named agent/model ran unless it actually did.
Refactor code with confidence using comprehensive test safety net:
Delegate only when current instructions authorize it, using the selected available model. A green suite does not prove unchanged behavior if its coverage is incomplete.
Usage
Use Task tool with subagent_type="tdd-orchestrator" to perform safe refactoring.
Prompt: "Refactor this code while keeping all tests green: $ARGUMENTS. Apply TDD refactor phase:
Core Process
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Categories
- Testing & QA, Code Review & Quality
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- Godot Gdscript Patterns280
- Github Automation279
- Risk Manager277
- Antigravity Design Expert273
- C4 Context273
- Airflow Dag Patterns272
- Error Diagnostics Error Analysis271
- Fal Image Edit270
- Search Specialist270
- Attack Tree Construction268
- Grafana Dashboards268
- Debugging Toolkit Smart Debug267
- Sales Automator267
- Protocol Reverse Engineering264
- Context Fundamentals263
- Go Concurrency Patterns263
- Performance Testing Review Multi Agent Review263
- Tdd Workflows Tdd Green263
- Observability Monitoring Monitor Setup262
- N8n Mcp Tools Expert261
- Supabase Automation261
- Cloud Penetration Testing260
- Create Pr260
- Pdf260