AGENT SKILL

repair-check-failed

Fix failing validation checks by reading error output and making targeted code fixes

License 许可
MIT
最近更新
2026-06-13
Stars
★ 3
Forks
1

01 前言 Front Matter

name
repair-check-failed
tags
[ "repair", "gap:check-failed" ]
context
[ { "type": "gap", "fields": [ "checkId", "checkCmd", "checkOutput", "checkDescription", "taskTitle", "unitPath" ] }, { "cmd": "{checkCmd}", "type": "cmd", "label": "fresh-check-output" }, { "path": "{attemptDir}/TASK.md", "type": "file", "label": "task-definition" }, { "path": "{attemptDir}/CHECK.md", "type": "file", "label": "all-checks" }, { "path": "{attemptDir}/LEARN.md", "type": "file", "label": "previous-learnings", "optional": true }, { "path": "{attemptDir}/FEEDBACK.md", "type": "file", "label": "prior-feedback", "optional": true }, { "type": "ai", "label": "root-cause-analysis", "tools": [ "Read", "Glob", "Grep" ], "prompt": "A validation check failed. Analyze the root cause.\nCheck command: `{checkCmd}` Error output: {checkOutput}\nRead the task definition at {attemptDir}/TASK.md for context. In 3-5 sentences: what is the root cause and what specific file/line needs to change?\n", "timeoutMs": 30000 } ]
description
Fix failing validation checks by reading error output and making targeted code fixes
allowed-tools
[ "Read", "Write", "Edit", "Bash", "Glob", "Grep" ]

03 SKILL.md 正文

Repair Check Failed

You are fixing a task whose validation check(s) failed.

Step 1: Read Context

  1. Read repair-context/gap.md — the exact error
  2. Read repair-context/root-cause-analysis.md — AI pre-analysis of the root cause
  3. Read repair-context/fresh-check-output.txt — LIVE output from re-running the check
  4. Read repair-context/history.md (if exists) — what was already tried

Step 2: Diagnose

Compare the fresh check output with the expected behavior in repair-context/all-checks.md.

Error Pattern Fix
file not found Wrong output path — check TASK.md for correct path
expected X got Y Content mismatch — fix the content
syntax error Generated code has a bug — fix it
module not found Missing import/dependency
exit code 1 no output Check command needs different args

Step 3: Fix

  1. Read repair-context/task-definition.md for full task context
  2. Make targeted edits — change ONLY what's needed
  3. Do NOT rewrite entire files unless necessary

Step 4: Verify

Run the failing check:

# The exact check command from the gap

Then run ALL checks in CHECK.md to ensure nothing else broke.

Rules

  • Do NOT modify the check command to make it pass
  • Do NOT add || true to bypass failures
  • If the check itself is wrong, write LEARN.md explaining why and stop

04 同仓库更多 Skills

openplaybooks-dev
openplaybooks-dev/converge

hello-checker

Use this skill when asked to "verify", "check", or "validate" a file's existence and content. It provides a reliable workflow for confirming files meet their spec.

★ 3
openplaybooks-dev
openplaybooks-dev/converge

ask-skill

暂无简介

★ 3
openplaybooks-dev
openplaybooks-dev/converge

html-review-artifact

Framework-wide guidance for crafting polished human-review artifacts as markdown or HTML

★ 3
openplaybooks-dev
openplaybooks-dev/converge

converge-planning

Design a Converge playbook end-to-end. Use when the user says "plan a project", "design a playbook", "decompose into tasks", "scaffold a Converge workflow", "onboard to Converge", or asks how to write TASK.md / playbook.yml. Two entry points: plan a new playbook or update an existing one. Hand off to `/converge-control` after producing the playbook structure.

★ 3
openplaybooks-dev
openplaybooks-dev/converge

converge-control

Operate a Converge playbook end-to-end — start runs, monitor progress, narrow failures with `--select`, inspect runtime state, validate definitions, surgically reset subtrees, and stop stuck or orphaned runs. Use this skill whenever the user says "run my playbook", "execute this", "monitor the run", "converge failed", "the run is stuck", "retry failures", "babysit this playbook", "what's the status?", "show me the gantt", or asks how to use `converge run` / `--select` / `inspect` / `doctor` / `clean` / `stop`. Also use it for `HTTP 401` / `Invalid API key` failures on the first task — those are environment-not-playbook problems — and for any post-run cleanup work. Hand off to `converge-planning` if the user wants to design or restructure the playbook itself.

★ 3
openplaybooks-dev
openplaybooks-dev/converge

repair-taskts

Fix task.ts definition issues — Seed syntax, missing .build(), empty checks, import errors, TypeScript errors

★ 3