Skip to content
Back to skills

Failure Recovery

ASecurity

Recover when a Form Studio build fails or a feature is skipped — a fillet or chamfer that will not build, a boolean that grazes, misses or returns the wrong number of solids, a loft that folds, a shell that fails, an invalid or open solid, a thin wall, a preflight refusal — by reading the diagnosis and following a fixed retry ladder. Use when create_design, edit_design, add_feature or update_design returns an error, a partial revision, a skipped feature, craft_fallbacks or a failing check.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgoshell

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 6, 2026

npx -y skills add kaizensx/form-studio --skill failure-recovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Failure Recovery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Failure Recovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kaizensx-failure-recovery/badge)](https://www.skillsdirectory.com/skills/kaizensx-failure-recovery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: failure-recovery
description: Recover when a Form Studio build fails or a feature is skipped — a fillet or chamfer that will not build, a boolean that grazes, misses or returns the wrong number of solids, a loft that folds, a shell that fails, an invalid or open solid, a thin wall, a preflight refusal — by reading the diagnosis and following a fixed retry ladder. Use when create_design, edit_design, add_feature or update_design returns an error, a partial revision, a skipped feature, craft_fallbacks or a failing check.
---

# Failure recovery

FORM tools: `repair_feature()`, `edit_design()`, `add_feature()`, `build_candidates()`, `get_project()`,
`get_design_source()`, `render()`, `analyze()`, `measure()`, `design_examples()`, `checkout_revision()`,
`remove_feature()`.

Read the diagnosis, change one thing, build once. Causes, fixes per operation and the real messages:
`references/recovery.md`, the same text as `design_guide(topic="recovery")`.

1. **Read the whole failure before touching code.** It names the operation, the feature, the line, the cause read
   from the shapes and ranked fixes. A preflight refusal lists every problem at once and nothing was built: fix them
   all in one call.
2. **Find what the result really holds.** A feature that does not build, or misses its `expects`, refuses the
   call with its diagnosis and saves nothing. Only with `partial=True` is a revision saved without it: then
   `changed` shows `status: "skipped"` for it, and `partial` and a blocked release gate say the same. `craft_fallbacks` in
   `get_project()` lists what a safe helper built smaller or left out.
3. **The ladder, one rung per call, at most two retries per feature:**
   1. Apply the diagnosis' first fix with one `edit_design()` op, or let `repair_feature(project, feature)` try the
      known rewrites for that cause and return the first that builds as an op.
   2. A simpler construction of the same feature (round the profile before the boolean, cut a flat land first,
      fewer edges, a smaller radius, an overlap of 0.2 mm).
   3. Two or three constructions at once with `build_candidates(project, candidates=[{label, feature, code}])`.
   4. Defer: keep the design without the feature, go on, and list it as deferred in the reply.
4. **Never** repeat a failed call unchanged, delete a feature to make a build pass, shrink an interface to make a
   boolean work, drop rounding because a fillet failed, or raise an exception to print something.
5. **After the repair, verify it did what was asked:** look at `render(view="sheet")`, read the proof sheet and
   `craft_fallbacks`. A fillet that built at a quarter of its radius is a fallback to report, not a success.
6. **In Form Studio's chat the person sees the failure too:** the plan's step is marked failed with the reason, and
   they can run that one call again themselves. A note with their next message says which calls they ran again:
   read `get_project()` before repairing something that may already be repaired.
7. **A change that made things worse:** `checkout_revision(project, rev)` makes the last good revision the head
   again; nothing is deleted.
8. **A message that starts "Continue from where you stopped. Last completed step: <tool> → r<N>."** is Form Studio
   resuming your request after a network drop or the person's Retry, on the same session. Do not start over and do
   not repeat finished steps: read `get_project()` for the head and go on with the next step of the plan.
9. **An error tagged "updated guidance"** carries a published explanation from Form Studio Live, with one button
   for the person (it opens a page, a sign-in or a retry). You need not act on it: read its words as the error's
   hint and go on with the ladder above; the button is theirs to press.
10. **An error that says "internal error ... not your input"** is a bug in Form Studio, recorded as a problem
    report. Retry once; if it fails the same way, tell the person and take another route. Do not change correct input.
11. **A result with `result_id`** is a summary of a long result: `get_result(id, path=)` reads any part of it whole.
    Quote its numbers; never work them out yourself. A tool that is not listed: `load_tools(pack)` lists it.

Files in this skill

  • SKILL.md3.4 KB
  • references/recovery.md11.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.