rai-bugfix-fix

Automate TDD-driven bugfix workflows with gated validation and traceable commits.

71|8|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/humansys/raise --skill rai-bugfix-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rai-bugfix-fix
Source: https://github.com/humansys/raise/tree/main/packages/raise-cli/src/raise_cli/skills_base/rai-bugfix-fix
Command: npx skills add https://github.com/humansys/raise --skill rai-bugfix-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates end-to-end bugfix workflows for software projects by enforcing TDD and gated validation.

Core Features & Use Cases

  • TDD-driven bugfixes: plan, implement, test, and verify patches with RED-GREEN-REFACTOR cadence.
  • Gate-driven workflow: pass all gates before merging, with traceable commits to bugfix-branch.
  • Use Case: when a bug is reported, run /rai-bugfix-plan to decompose tasks, implement fixes, and push verified commits to the repository.

Quick Start

Execute the guided bugfix workflow from plan to review, starting with the plan step.

Frequently Asked Questions about rai-bugfix-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate end-to-end bugfix workflows with TDD and validation gates?

Automated bugfix workflows enforce TDD cadence and gated validation across plan, implement, test, and verify stages. Fixes pass multiple gate checks before integration, ensuring traceable commits and atomic task execution for reliable remediation.

What is the RED-GREEN-REFACTOR cadence for fixing bugs?

RED-GREEN-REFACTOR is a TDD cadence applied to bugfixes where tests are written to fail first, implementation passes the tests, and code is then refactored. This ensures fixes are validated before integration into the codebase.

How do I plan and decompose tasks for a reported bug before committing a fix?

Run a guided bugfix planning step to decompose the reported bug into atomic tasks. This generates per-bug plans that guide implementation, testing, and automated commits to a dedicated bugfix branch before review.

Can I use automated commits and gate checks for software bug remediation?

Yes, automated commits and gate checks drive software bug remediation by requiring fixes to pass all validation gates before merging. This gate-driven workflow pushes verified commits to a bugfix branch with traceable handoffs to a human reviewer.

Do I need a separate bugfix branch for gated validation workflows?

A separate bugfix branch is required for gated validation workflows. Automated commits are pushed to this branch, allowing all gate checks to pass and ensuring traceable handoffs to a human reviewer before merging into the main repository.

Why use TDD-driven bugfixes instead of direct code commits?

TDD-driven bugfixes prevent regressions by enforcing test validation before code commits. Unlike direct patching, this gated approach requires passing all validation checks and generating traceable handoffs, ensuring fixes are verified before integration.