humansys/raise/rai-bugfix-fix-lean

Claude Code and agent skill by humansys/raise

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Lean residue de rai-bugfix-fix: TDD + gates + quality-review. 11 pasos vs 19 enterprise, sin HITL per-task.

Install

npx vskill@latest install humansys/raise/rai-bugfix-fix-lean

SKILL.md

Bugfix Fix (Lean)

⚠ LEAN VARIANT (ADR-134 v2) — si cambias lógica [R]/[G] en rai-bugfix-fix, propaga aquí.
Fuente: work/epics/e14770-lean-methodology/skill-audit.md §rai-bugfix-fix
Lean residue: 11 pasos [R9, G1, I1] de 19 en enterprise (42% ceremonia eliminada).
Eliminado: HITL per-task pause (paso 9 del enterprise), bloques verification/if-blocked, checklist.

Objetivo

Ejecutar el fix con TDD estricto. Sin esperar acknowledgment per-task — ejecución autónoma (Ri mode). La calidad la garantizan los gates y el quality-review al final.

Inputs: Bug ID, scope.md (producido por diagnose). Expected state: En bug branch, árbol limpio.

Por cada task del scope

1. RED [R]

Escribir test fallido que define el comportamiento esperado.

2. GREEN [R]

Escribir código mínimo que hace pasar el test.

3. REFACTOR [R]

Limpiar mientras los tests siguen verdes.

4. Ejecutar 4 gates [R]

Environment setup (mandatory — eliminates RC2 path errors, RAISE-15430 AC2): Use absolute paths for all file operations: $WORKTREE_ROOT/<relative-path>.

bash
WORKTREE_ROOT=$(git rev-parse --show-toplevel)
uv run ruff format "$WORKTREE_ROOT/packages/<changed-package>/" # fix first (PAT-E-772, RAISE-15429)
git add -u
rai gate check gate-tests --scope {changed_test_path}
rai gate check gate-lint
rai gate check gate-format
rai gate check gate-types

Interface lookup (RC1, RAISE-15431) — query before you guess. Before invoking any rai <cmd> subcommand or raise_cli import you have NOT verified this session:

  1. Query the graph: rai graph query "<cmd> <subcommand>" --types symbol --limit 3
  • For Jira transitions/priorities: rai graph query "jira transition workflow" --types pattern (PAT-F-1826 has the RAISE workflow; PAT-E-9996..9998 have priority/issue-type/transition values)
  • For SCM tools (glab, gh): rai graph query "glab/gh <cmd> <subcommand>" --types pattern --limit 3 (glab/gh have no Python symbols — PAT-E-10000..10009 cover flags, 409/404 errors, glab vs gh distinctions)
  • For SQLite/raise.db schema: rai graph query "raise.db <table> schema" --types pattern --limit 3 (schema is not in code symbols — PAT-E-9999..10007 have column lists)
  1. Fallback if 0 results: rai <cmd> --help | for SCM tools: glab/gh <cmd> --help | for DB: sqlite3 db ".schema"

Skip when the interface was already verified this session. One query beats a spiral of guessed-flag retries (70% of RC1 errors spiral).

Si un gate falla → fijar y re-verificar (máx 3 intentos). Si persiste → STOP: documentar blocker, escalar.

5. Commit por task [G]
bash
git add {files}
git commit -m "{commit message from plan}"
6. Si hay más tasks → volver al paso 1 [R]
7. Gate de cierre [R]
bash
rai gate check --point before:bug:close
8. Quality review de la implementación [R]
bash
git diff --name-only $(git merge-base HEAD {dev_branch})..HEAD

Invocar /rai-quality-review sobre los archivos cambiados.

VeredictoAcción
PASS / PASS WITH RECOMMENDATIONSContinuar
FAILAtender findings críticos, re-run gates, continuar

STOP. Devolver: commits realizados, veredicto QR, gate status.

Backlog tracker

Engine behavior (RAISE-16987): The engine checks ExecutionContext to determine mode:

  • mode: pipeline — engine active; apply_phase_transition moves the tracker. No skill call required.
  • mode: standalone — no active run; tracker is not moved automatically.

If standalone (mode == standalone via ExecutionContext):

bash
rai backlog transition {key} --point after:bugfix:fix

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
71
Repository forks
8
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/humansys/raise/rai-bugfix-fix-lean/badge)](https://verified-skill.com/skills/humansys/raise/rai-bugfix-fix-lean)

Something wrong with this skill or its page? Tell us.