MO

Execute code modernization projects with a structured lifecycle.

Install

mkdir -p .claude/skills/modernize && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16293" && unzip -o skill.zip -d .claude/skills/modernize && rm skill.zip

Installs to .claude/skills/modernize

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use this skill for modernization assessments, migration planning, multi-phase modernization execution, quality-gate enforcement, and retrospective process improvement in repositories that follow the modernize workflow.
218 chars✓ has a “when” trigger
Advanced

Key capabilities

  • →Assess modernization efforts in repositories
  • →Plan code migrations following a defined lifecycle
  • →Execute multi-phase modernization projects
  • →Enforce quality gates during modernization
  • →Conduct retrospective process improvements
  • →Use repo scripts for dependency analysis and testing

How it works

This skill orchestrates modernization efforts by following a lifecycle (assess -> plan -> execute -> retro) and enforcing quality gates. It uses repo scripts and adheres to `AGENTS.md` for configuration.

Inputs & outputs

You give it
Modernization request, repository following modernize workflow
You get back
Assessment report, migration plan, executed modernization phases, process improvements

When to use modernize

  • →Assess modernization effort
  • →Plan code migration
  • →Execute multi-phase refactoring

About this skill

Modernize

Use this skill when the user wants Codex to assess, plan, execute, or retrospect on a modernization effort.

Start Here

  1. Read AGENTS.md first for testing, logging, and documentation rules.
  2. Use the lifecycle in references/lifecycle.md.
  3. Use references/source-map.md for the canonical protocol and script sources.
  4. Preserve the repo's quality gates; do not weaken them during migration.

Operating Rules

  • Follow the lifecycle: assess -> plan -> execute -> retro -> apply improvements.
  • Keep specialist separation: coordinator, security, architect, coder, tester, documentation.
  • Use repo scripts for dependency analysis, stage testing, validation, and history logging.
  • Treat AGENTS.md as the primary configuration source; use CLAUDE.md only as legacy fallback.
  • If Compound Engineering ce-* skills are available in your environment, prefer them over superpowers:* and bare-name toolkit skills per the precedence table in the command protocol's Optional skill enhancements section.
  • If pstack skills are available (pstack:<name>, or bare names alongside a bare poteto-mode), use pstack:interrogate for code review in place of Compound Engineering or superpowers review, and the other pstack skills (tdd, how, deslop, blast-radius, unslop, technical-writing) only where the command's mapping tables name them. The command protocol stays the spine: never enter poteto-mode, architect, arena, swarm, figure-it-out, babysit, or make-pr-easy-to-review, and ignore any pstack session-start instruction to route work through poteto-mode.
  • Search code with your platform's built-in search tool when it has one. When you shell out, use rg if command -v rg succeeds, else grep -rn. rg skips gitignored, hidden, and binary files by default, so add -uu when the target may be ignored or hidden (build output such as bin/ and obj/, or dot-directories such as .issues/).

When To Read More

When not to use it

  • →When the repository does not follow the modernize workflow
  • →When the user does not want to assess, plan, execute, or retrospect on modernization
  • →When the task involves weakening quality gates

Limitations

  • →Requires repositories to follow the modernize workflow
  • →Does not permit weakening quality gates during migration
  • →Treats `AGENTS.md` as the primary configuration source

How it compares

This skill provides a structured, lifecycle-driven approach to modernization with explicit quality gate enforcement and specialist separation, ensuring a controlled and rigorous process.

Compared to similar skills

modernize side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
modernize (this skill)07moNo flagsAdvanced
mlops-industrialization110moNo flagsIntermediate
plain-upgrade16moNo flagsIntermediate
dotnet-upgrade08moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry