home/categories/code-quality/ruby-git-ruby-git-github-skills-tdd-refactor-step-skill-md
code-qualitytesting-security

tdd-refactor-step

Guides the REFACTOR step of the TDD cycle — identifying code smells, applying safe refactoring techniques, cleaning test code, and verifying with rubocop. Use during RED-GREEN-REFACTOR when deciding what and how to refactor after making a test pass.

ruby-git
maintainer
ruby-git
Updated 3/25/2026
Stars
1794
Forks
528
quick start

Installation and usage

Guides the REFACTOR step of the TDD cycle — identifying code smells, applying safe refactoring techniques, cleaning test code, and verifying with rubocop. Use during RED-GREEN-REFACTOR when deciding what and how to refactor after making a test pass.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use tdd-refactor-step