What problem does it solve?
This Skill helps you safely change existing code that lacks clear architecture records, specs, or tests. It reduces the risk of breaking hidden assumptions by first reconstructing what the feature does today, why it likely exists in its current form, and which behaviors must stay stable until the planned change is made.
Core Features & Use Cases
- Retroactive ADR creation: Reads the relevant code and drafts a reverse-engineered architecture decision record that captures current design, inferred rationale, and load-bearing constraints.
- Behavior characterization: Produces a Gherkin spec for the feature's current behavior, including golden paths and edge cases already handled by the code.
- Baseline test lock-in: Writes characterization tests that pass against the current implementation so future changes are layered on top of a documented, verified baseline.
- Use case: Before refactoring an old order cancellation flow with no ADR and weak test coverage, use this Skill to document the current architecture, capture actual behavior, and add tests that prevent accidental regressions during the upcoming change.
Quick Start
Ask the assistant to backfill the ADR, spec, and characterization tests for the existing feature area before making any code changes.