From agent-almanac
Transforms a single function, module, or data structure between languages, paradigms, formats, or API versions while preserving behavior. Use for targeted refactoring, migration, or format conversion.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-almanac:transmuteThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Transform a specific piece of code or data from one form to another — language translation, paradigm shift, format conversion, or API migration — while preserving essential behavior and semantics.
Transform a specific piece of code or data from one form to another — language translation, paradigm shift, format conversion, or API migration — while preserving essential behavior and semantics.
Understand exactly what the source does before attempting transformation.
Expected: A complete understanding of what the source does (not how it does it). The behavioral contract is explicit and testable.
On failure: If the source is too complex for a single transmute, consider breaking it into smaller pieces or escalating to the full athanor procedure. If behavior is ambiguous, ask for clarification rather than guessing.
Design the transformation mapping.
Expected: A complete mapping where every source element has a target destination. Gaps are identified and adaptation strategies chosen.
On failure: If too many elements lack direct equivalents, the transformation may be inappropriate (e.g., transmuting a highly object-oriented design into a language without classes). Reconsider the target form or escalate to athanor.
Write the target form following the map.
Expected: A complete target implementation that follows the transformation map. The code reads like it was written natively in the target form, not mechanically translated.
On failure: If a specific element resists transformation, isolate it. Transform everything else first, then tackle the resistant element with focused attention. If it truly cannot be transmuted, document why and provide a workaround.
Confirm the transmuted form preserves the original's behavior.
Expected: All behavioral contract tests pass. Edge cases are handled equivalently. Any behavioral differences are documented and intentional.
On failure: If tests fail, diff the source and target behavior to find the divergence. Fix the target to match the source contract. If the divergence is intentional (e.g., fixing a bug in the original), document it explicitly.
athanor — Full four-stage transformation for systems too large for a single transmutechrysopoeia — Optimizing transmuted code for maximum value extractionreview-software-architecture — Post-transmutation architecture review for larger conversionsserialize-data-formats — Specialized data format conversion proceduresnpx claudepluginhub pjt222/agent-almanacGenerates migration plans, automated scripts, risk assessments, testing strategies, and rollback procedures for transitioning codebases between frameworks, languages, versions, or platforms.
Transforms tangled or legacy code through four alchemical stages: nigredo (decomposition), albedo (purification), citrinitas (illumination), rubedo (synthesis). Use when incremental refactoring fails or converting between paradigms.
Implements low-downtime API migrations between versions or frameworks using strangler fig, traffic shadowing, endpoint mapping, adapters, and phased cutovers.