humansys/raise/rai-bugfix-start-lean

Claude Code and agent skill by humansys/raise

Trust tier 2
  • community
LLM review pending
Source check pending

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

Lean residue de rai-bugfix-start: branch + reproduce + scope. 11 pasos vs 25 enterprise.

Install

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

SKILL.md

Bugfix Start (Lean)

⚠ LEAN VARIANT (ADR-134 v2) — si cambias lógica [R]/[G] en rai-bugfix-start, propaga aquí.
Fuente: work/epics/e14770-lean-methodology/skill-audit.md §rai-bugfix-start
Lean residue: 11 pasos [R6, G2, I3] de 25 en enterprise (56% ceremonia eliminada).

Objetivo

Crear branch de bug, reproducir el defecto, y escribir el scope artifact. Solo pasos [R]+[G]+[I] — sin ceremony (ADR-134 v2).

Inputs: Bug ID (e.g. RAISE-251). Expected state: Árbol limpio.

Pasos

1. Verificar working tree [R]
bash
git rev-parse --show-toplevel
git status --short

Si el toplevel es inesperado o hay cambios uncommitted → STOP: "blocked: working tree inesperado". No improvises fix. NUNCA git reset --hard ni git clean -fd.

2. Resolver dev_branch desde el manifest [R]
bash
# RAISE-17066: target declarado en .raise/manifest.yaml (branches.release_lines[] /
# branches.development), nunca inferido de origin/release/*. Ambigüedad falla ruidoso.
RESOLVED="$(rai worktree resolve-base --work-type bugfix ${fix_version:+--fix-version "$fix_version"} -f json)" \
|| { echo "blocked: target branch ambiguo — pasar fix_version o corregir branches.release_lines"; exit 1; }
DEV_BRANCH="$(echo "$RESOLVED" | python3 -c "import json,sys; print(json.load(sys.stdin)['data']['branch'])")"
BASE_REF="$(echo "$RESOLVED" | python3 -c "import json,sys; print(json.load(sys.stdin)['data']['base_ref'])")"

Presentar data.warnings verbatim si los hay.

3. Crear branch [R]
bash
git checkout -b bug/{issue_key}/{bug-slug} "$BASE_REF"

Si el branch ya existe → STOP: "blocked: branch ya existe — ¿retomar o eliminar?"

4. Reproducir bug [R]

Confirmar que el bug es observable antes de investigar. No investigar sin reproducir. Si no se puede reproducir → STOP: documentar y escalar.

5. Escribir scope artifact [G]

Write work/bugs/{issue_key}/scope.md (Write tool) with:

WHAT: {behavior}
WHEN: {conditions}
WHERE: {file:line}
EXPECTED: {correct}
Done when: {criteria}

If the write fails, stop immediately.

6. Commit scope artifact [G]
bash
git add work/bugs/{issue_key}/scope.md
git commit -m "bug({issue_key}): initialize scope
WHAT: {summary}
Done when: {criteria}
Co-Authored-By: Rai <rai@humansys.ai>"
7. Bind session a Jira key [I]
bash
rai session bind RAISE_SESSION_JIRA_KEY "{bug_key}" 2>/dev/null || true

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:diagnose

STOP. Devolver: branch creado, scope.md path, bug reproducido sí/no.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

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-start-lean/badge)](https://verified-skill.com/skills/humansys/raise/rai-bugfix-start-lean)

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