From agent-almanac
Transforms single functions, modules, or data structures between languages (e.g., Python to JS), paradigms, API versions, formats, or dependencies while preserving behavior. For targeted refactoring.
npx claudepluginhub pjt222/agent-almanacThis skill uses the workspace's default tool permissions.
---
Generates migration plans and automated scripts for transitioning codebases between frameworks, languages, versions, and platforms. Useful for code migration tasks.
Migrates legacy codebases to modern languages, frameworks, and patterns via automated refactoring, test generation, risk analysis, and dependency updates. Use for Python 2→3, JS→TS, React hooks, framework upgrades.
Generates migration plans, automated scripts, and strategies for transitioning codebases between frameworks, languages, versions, and platforms.
Share bugs, ideas, or general feedback.
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 procedures