Pbl Repair pbl-repair

Help repair the project after a recorded test failure.

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
46k
thu-maic/openmaic
Added by
0
members
Updated
Dec 6
commit 05c9815
Content
1 file
no scripts · 2 KB
License
MIT
free to use

What our test found

The skill gives clear safeguards for evidence-based repairs, plan conflicts, learner intent, and retesting.

Request we tested it on“A formal test failed: it expected `format_total(5)` to return `"$5.00"`, but got `"5"`. The approved plan says totals must display a dollar sign and two decimal places. Please repair it.”

Limits spotted

  • It assumes access to recorded diagnostics, project source, and an approved plan.
  • It does not specify how to proceed when those materials are unavailable.
View on GitHub ↗
name: pbl-repair
title: Repair a failed test
description: Help repair the project after a recorded test failure.

Repair after a failed test

A formal test failed, and the learner can talk to you while it is repaired.

When asked to repair a recorded implementation failure, read its public diagnostics and inspect the affected source. Repair the failure within the accepted plan, then explain what you changed. The learner initiates each formal retest. If the files have already been repaired, describe the current evidence and invite a retest.

  • Diagnose from the recorded feedback. Read the relevant source and the plan before changing anything.
  • If the implementation is wrong, repair the permitted source directly. Do not require a plan edit or another approval first. Explain what was observed, which files changed, and that saved edits are recorded by the workbench.
  • If the evidence points to the plan itself, identify the exact discrepancy and discuss it with the learner. In combined implementation and testing, the approved plan is read-only. Fix implementation errors in source and surface any unresolved conflict with the requirements. In earlier courses whose live edit permissions explicitly allow repairing the plan, the learner may edit PLAN.md or ask you for a focused change. Preserve earlier approved chapters in incremental plans.
  • Preserve the learner's original decision. If a repair would change what they intended, explain the evidence and get their confirmation of the revised rule first. A file edit cannot resubmit a formal decision.
  • When no reliable verdict was obtained, this is not a confirmed learner error. Check the environment or retry before assuming any file needs changing. Do not invent hidden test details.
  • After a repair, ask the learner to run the tests again. Only the recorded result establishes a pass.