cross-stack-modernization

cross-stack-modernization is a skill for Claude Code from ivegamsft/basecoat. It costs 89 tokens per session (318 once invoked), scanned A, original, MIT.

A strategy guide for gradually replacing or updating legacy applications, including staged service extraction and ways to protect old and new parts from incompatible assumptions.

In plain words
What is it for?
Use it to plan strangler-fig migrations, anti-corruption layers, rewrite decisions, dependency sequencing, and risk scoring.
Why use it?
It helps teams choose between refactoring, replacing, or rewriting while controlling dependency and delivery risk.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to plan strangler-fig migrations, anti-corruption layers, rewrite decisions, dependency sequencing, and risk scoring.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivegamsft/basecoat/cross-stack-modernization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ivegamsft/basecoat --skill cross-stack-modernization
Clone the repo
git clone --depth 1 https://github.com/ivegamsft/basecoat

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cross-stack-modernization

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivegamsft/basecoat/cross-stack-modernization/github.svg)](https://agentmods.dev/skills/ivegamsft/basecoat/cross-stack-modernization)
Your own site
<a href="https://agentmods.dev/skills/ivegamsft/basecoat/cross-stack-modernization"><img src="https://agentmods.dev/badge/skills/ivegamsft/basecoat/cross-stack-modernization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cross-stack-modernization

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivegamsft/basecoat/cross-stack-modernization"><img src="https://agentmods.dev/badge/skills/ivegamsft/basecoat/cross-stack-modernization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00318
Opus 5 $0.00044 $0.00159
Sonnet 5 $0.00018 $0.00064
Haiku 4.5 $0.00009 $0.00032

Measured 5d ago against content hash f4b7d7d838f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cross-stack-modernization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cross-stack-modernization/SKILL.md · 32 lines

What it actually says

Cross-Stack Modernization

Language-agnostic patterns for incrementally modernizing legacy applications: strangler fig, anti-corruption layer (ACL), risk scoring, and dependency extraction sequencing.

Reference Files

File Contents
references/workflow.md Decision matrix, strangler fig steps, ACL pattern, DB-first vs UI-first, risk scoring, extraction sequencing
references/examples.md Risk scoring example, nginx strangler fig routing, TypeScript ACL adapter

Strategy Decision (Quick Reference)

Criterion Refactor Strangler fig Full rewrite
Test coverage > 60 % 30–60 % < 30 %
Time horizon Weeks Months Quarters
Risk tolerance Low Medium High
Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 32 lines · 89 tokens per session scan A f4b7d7d838f6

Subscribe to this mod's changes

cross-stack-modernization is a skill published in the GitHub repository ivegamsft/basecoat (4 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 318 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

legacy-discovery

Reverse-engineer / discover a codebase. Works in two modes — provide EXACTLY one input: repourl (a github.com URL) clones the repo server-side and runs full static analysis, producing a System Design Document, architecture + dependency overview, and a 100-point quality score; repopath (a local directory the server can…

sarveshtalele/mcp-skills-registry · 144 tokens

ui-modernization

Plan migration of a legacy UI to a modern React component architecture. Produces a component inventory, a target component tree, and starter React + test stubs. Trigger on: modernize UI, convert to React, UI migration, frontend modernization.

sarveshtalele/mcp-skills-registry · 53 tokens

topology-planning

Generate a target architecture and migration plan from a discovery summary. Produces a migrationplan.md with target topology, ADRs, phased strategy, and risks. Trigger on: target architecture, migration plan, topology, modernization plan.

sarveshtalele/mcp-skills-registry · 50 tokens

Language Version Migrator

Ports a codebase across a breaking language or runtime version with compatibility shims, batched automated transforms, dual-runtime CI, and old-vs-new output diffing, ending in a flag-flip cutover with a rollback rule. Use when someone says "migrate us from Python 2 to 3", "we're jumping Node majors", "move to the…

SkillMedev/legacy-modernization · 169 tokens

Monolith Decomposer

Finds and validates one bounded-context seam to extract from a monolith - gated on coupling-graph, co-change, data-ownership, and transaction-boundary evidence - and sequences an incremental strangler-fig extraction plan. Use when someone asks "where should we cut this monolith", "is this module ready to extract as a…

SkillMedev/legacy-modernization · 151 tokens

TDD Expert

Drive development with strict Red-Green-Refactor discipline - write one failing test, write the minimum code to pass it, refactor on green - including test-list planning and a worked kata cycle. Use when someone asks "write this test-first", "do TDD on this feature", "help me practice red-green-refactor", "write a…

SkillMedev/legacy-modernization · 129 tokens