Regenerate
Reconstruct missing components or lost data from surrounding context.
What This Skill Does
In D&D, Regenerate regrows lost limbs. The real-world version is reconstruction: rebuilding lost data from backups and surrounding context, regenerating a deleted component from its tests and documentation, or reconstructing a corrupted file from its known structure and partial content. Unlike Resurrection (which brings back a fully dead system from artifacts), Regenerate is for systems that are alive but missing pieces.
In this grimoire, Regenerate is treated as a metaphorical spell with a shipping-now delivery profile.
Canonical reference input: Regenerate (spell).
When To Use
- Data, code, or components have been lost or deleted but surrounding context survives.
- A file is corrupted but its structure and partial content provide enough signal to reconstruct it.
- A component needs to be rebuilt from its tests, documentation, or integration points.
Prerequisites
- No extra runtime dependencies beyond Hermes Agent and the normal toolset for this session.
Procedure
- Restate the target, the success condition, and any no-touch boundaries before taking action.
- Inventory what is missing and what context survives: tests, docs, logs, backups, related code.
- Assess reconstruction feasibility: is there enough context to rebuild accurately?
- Reconstruct the missing component using the best available evidence.
- Verify the reconstruction against whatever validation is available: tests, checksums, expected behavior.
- Mark the reconstruction as reconstructed, not original — provenance matters.
- Package the result as the deliverables below, with confidence, assumptions, and unresolved risk called out explicitly.
Deliverables
- The reconstructed component with a provenance note on what sources informed the reconstruction.
- A confidence assessment: how accurate is the reconstruction and what might be wrong?
Pitfalls / Guardrails
- Keep the metaphor anchored to a real mechanism instead of drifting into lore.
- Clearly mark reconstructed data as reconstructed. Never present regenerated content as if it were the original.
- If there is not enough context for accurate reconstruction, say so rather than generating plausible but potentially wrong content.
Verification
- Check that the result includes every deliverable promised above.
- Check that confirmed facts, assumptions, and inferences are visibly separated.
- Check that the metaphor still maps cleanly to a real operational mechanism.
Example Invocation
/regenerate reconstruct this [lost file/deleted component/corrupted data] from surviving context, tests, and documentation
1---2name: regenerate-23description: In D&D, Regenerate regrows lost limbs. The real-world version is reconstruction: rebuilding lost data from backups and surrounding context, regenerating a deleted component from its tests and documentation, or reconstructing a corrupted file from its known structure and partial content. Unlike Resurrection (which brings back a fully dead system from artifacts), Regenerate is for systems that are alive but missing pieces.4license: CC0-1.05---6# Regenerate7Reconstruct missing components or lost data from surrounding context.8## What This Skill Does9In D&D, Regenerate regrows lost limbs. The real-world version is reconstruction: rebuilding lost data from backups and surrounding context, regenerating a deleted component from its tests and documentation, or reconstructing a corrupted file from its known structure and partial content. Unlike Resurrection (which brings back a fully dead system from artifacts), Regenerate is for systems that are alive but missing pieces.10In this grimoire, Regenerate is treated as a metaphorical spell with a shipping-now delivery profile.11Canonical reference input: Regenerate (spell).12## When To Use1314- Data, code, or components have been lost or deleted but surrounding context survives.15- A file is corrupted but its structure and partial content provide enough signal to reconstruct it.16- A component needs to be rebuilt from its tests, documentation, or integration points.1718## Prerequisites1920- No extra runtime dependencies beyond Hermes Agent and the normal toolset for this session.2122## Procedure23241. Restate the target, the success condition, and any no-touch boundaries before taking action.252. Inventory what is missing and what context survives: tests, docs, logs, backups, related code.263. Assess reconstruction feasibility: is there enough context to rebuild accurately?274. Reconstruct the missing component using the best available evidence.285. Verify the reconstruction against whatever validation is available: tests, checksums, expected behavior.296. Mark the reconstruction as reconstructed, not original — provenance matters.307. Package the result as the deliverables below, with confidence, assumptions, and unresolved risk called out explicitly.3132## Deliverables3334- The reconstructed component with a provenance note on what sources informed the reconstruction.35- A confidence assessment: how accurate is the reconstruction and what might be wrong?3637## Pitfalls / Guardrails3839- Keep the metaphor anchored to a real mechanism instead of drifting into lore.40- Clearly mark reconstructed data as reconstructed. Never present regenerated content as if it were the original.41- If there is not enough context for accurate reconstruction, say so rather than generating plausible but potentially wrong content.4243## Verification4445- Check that the result includes every deliverable promised above.46- Check that confirmed facts, assumptions, and inferences are visibly separated.47- Check that the metaphor still maps cleanly to a real operational mechanism.4849## Example Invocation50```text51/regenerate reconstruct this [lost file/deleted component/corrupted data] from surviving context, tests, and documentation52```