scafforge-repair

Apply Scafforge's host-side repair flow to fix OpenCode repositories.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/merceralex397-collab/Scafforge --skill scafforge-repair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scafforge-repair
Source: https://github.com/merceralex397-collab/Scafforge/tree/main/skills/scafforge-repair
Command: npx skills add https://github.com/merceralex397-collab/Scafforge --skill scafforge-repair

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Apply Scafforge's host-side managed repair flow for an existing repository to repair workflow contracts, propagate provenance, and surface post-repair verification.

Core Features & Use Cases

  • Deterministic, host-side repair surface regeneration after an audit or diagnosis.
  • Provenance capture and repair-follow-on tracking to coordinate restart surfaces and ticketing.
  • Use case: you need to refresh an OpenCode repo after a drift in the workflow contract and then verify readiness for handoff.

Quick Start

Run the host-side repair against a repository with a diagnosis package to apply deterministic repairs and regenerate restart surfaces.

Frequently Asked Questions about scafforge-repair

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I repair an OpenCode repository after a workflow contract drift?

Apply a host-side managed repair flow against the repository using a diagnosis package to deterministically fix workflow contracts, regenerate restart surfaces, and record repair evidence for audit purposes.

What is provenance capture in a repository repair workflow?

Provenance capture in a repository repair workflow records repair evidence and tracks follow-on actions to coordinate restart surfaces and ticketing for audit and backlog routing.

Can I run a host-side repair without a prior diagnostic guidance package?

The repair flow operates after diagnostic guidance indicates safe workflow repairs are required, ensuring provenance is captured and post-repair verification is performed before handoff.

Does the repository repair process include post-repair verification for handoff?

Yes, the repository repair process includes post-repair verification to surface readiness for handoff, propagating provenance and updating workflow state to ensure the repository is fully verified.

How does the repair flow handle ticketing and backlog routing?

The repair flow handles ticketing and backlog routing by capturing provenance and recording repair evidence, coordinating restart surfaces to route follow-on tracking directly into the audit backlog.

When should I regenerate restart surfaces in an OpenCode repo?

Regenerate restart surfaces in an OpenCode repo when a workflow contract drift occurs and diagnostic guidance indicates safe repairs are required to verify readiness for handoff.