feat(skill): code-modernizer with ponytail-derived ladder#22
Merged
Conversation
…rol, and preflight scanner Replaces the minimal code-modernization skill with a comprehensive code-modernizer that adapts DietrichGebert/ponytail's decision ladder for retroactive auditing. Adds scope handshake (full/partial/targeted), a stdlib-only preflight scanner, mandatory live research for new deps, and reference files for design patterns, research protocol, and cost/impact assessment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YS8HJw5cwmAQyNQLxRmyYZ
…nizer Restores the incremental modernization methodology (Assess, Safety net, Transform incrementally, Verify, Document, Guardrails) and migration- specific trigger phrases from the original SKILL.md that were dropped during the rewrite. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YS8HJw5cwmAQyNQLxRmyYZ
CodeWithJuber
marked this pull request as ready for review
July 7, 2026 11:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Replaces the minimal
code-modernizationskill with a comprehensive code-modernizer skill that adapts DietrichGebert/ponytail's decision ladder for retroactive code auditing — not just gating new code.Key additions over the previous skill:
scripts/preflight_scan.py) — stdlib-only Python that reports file count, LOC, available dependencies, and high-cost files before any work beginsmodernize:markers for deferred opportunities, mirroring ponytail'sponytail:comment conventionThe skill composes with ponytail: ponytail governs new code as it's written; code-modernizer audits and modernizes what's already in the repo.
Files changed
global/tools/code-modernization/SKILL.mdglobal/tools/code-modernization/references/research-protocol.mdglobal/tools/code-modernization/references/design-patterns-cheatsheet.mdglobal/tools/code-modernization/references/cost-impact-preflight.mdglobal/tools/code-modernization/scripts/preflight_scan.pyChecklist
npm testpasses (Node 18/20/22) — no runtime code changednpm run checkpasses (Biome lint + format) — markdown/Python onlyfeat:)forge substrate,forge impact, router/gate, or MCP substrate tools — skill docs self-containedRisk & rollback
Extra checks (tick if applicable)
Generated by Claude Code