Agent skill · AI & Agents

root-cause-analysis-and-fix

This skill is for debugging failed Bauplan runs. It assumes a failure has already occurred and prioritizes evidence collection before any change.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill root-cause-analysis-and-fix --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/root-cause-analysis-and-fix/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: root-cause-analysis-and-fix description: “Inspect a failed Bauplan pipeline run on a dev branch, reconstruct the frozen data state, collect evidence, propose a minimal code fix using Git, and rerun deterministically where possible.” allowed-tools: • Bash(bauplan:*) • Bash(git) • Read • Write • Glob • Grep • WebFetch(domain:docs.bauplanlabs.com) --- # Root Cause Analysis and Fix (Data + Code) This skill is for debugging failed Bauplan runs. It assumes a failure has already occurred and prioritizes evidence collection before any change. Data state is controlled by Bauplan data refs. Code state is controlled by Git. Both must be treated explicitly. ## CRITICAL RULES 1. NEVER run or write anything on main (Bauplan or Git). 2. NEVER change code without Git version control. 3. NEVER inspect data on a moving ref. All queries must target an explicit ref (branch@[commit_hash] or tag). 4. NEVER rerun blindly. Always inspect the frozen failing state first. 5. Keep debug branches open until the issue is understood. Do not clean up unless explicitly asked by the user. If any rule cannot be satisfied, STOP and REPORT the blocker. ## Required Inputs You need at least one of the followin

What's inside
Steps it walks through
  1. CRITICAL RULES
  2. Required Inputs
  3. Step 0: Establish safety boundaries (Bauplan and Git)
  4. 0A. Confirm you are not on Bauplan main
  5. 0B. Confirm Git prerequisites
  6. Step 1: Identify the frozen data ref for the failed job
  7. 1A. If you have a job id
  8. 1B. Map job to a commit hash
  9. Step 2: Create a Bauplan debug branch from the failing ref
  10. Step 3: Establish Git code provenance
  11. 3A. Determine whether code is pinned
  12. 3B. Create a Git debug branch
  13. Step 4: Collect evidence (before any fixes)
  14. 4A. Code evidence
Ships with 1 file
  • metadata.json
Commands it runs
bauplan info
bauplan checkout -branch <username>.debug_<short_name>
More from claude-skill-registry
All skills →
About this skill
What does the root-cause-analysis-and-fix skill do?

This skill is for debugging failed Bauplan runs. It assumes a failure has already occurred and prioritizes evidence collection before any change.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill root-cause-analysis-and-fix --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going