SkillTrust

← All skills

red-green-refactor

100 / 100 · Low risk

Fine to try.

By rohitg00/skillkit (GitHub) · coding · 1,577 stars · scanned at commit d2e5c34

Guides the red-green-refactor TDD workflow: write a failing test first, implement the minimum code to make it pass, then refactor while keeping tests green. Use when a user asks to practice TDD, write tests first, follow red-green-refactor, do test-driven development, write failing tests before code, or phrases like 'make the test pass', 'test coverage', or 'unit tests before implementation'.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'red-green-refactor' ] || [ -L ~/.agents/skills/'red-green-refactor' ]; then echo 'A skill folder named red-green-refactor already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/rohitg00/skillkit' "$d" && git -C "$d" checkout --quiet 'd2e5c346f73325c326820efd3188dcf2b6eb704f' -- 'packages/core/src/methodology/packs/testing/red-green-refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'packages/core/src/methodology/packs/testing/red-green-refactor' ~/.agents/skills/'red-green-refactor' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'red-green-refactor' ~/.claude/skills/'red-green-refactor' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for rohitg00/skillkit shows the score of its lowest-scoring skill.

SkillTrust badge for rohitg00/skillkit

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/rohitg00/skillkit.svg)](https://zalavijaysinh.github.io/skilltrust/repos/rohitg00/skillkit/)

Score history

DateVersionScore
2026-11-08d2e5c34100
2026-11-07d2e5c34100