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
更新于 3/25/2026
星标
1794
分支
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.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use tdd-refactor-step