- Home
- Skills
- Code Quality & Review
- Legacy Modernization and Strangler Platform Architect
Legacy Modernization and Strangler Platform Architect
Architects legacy modernizations: Strangler Fig proxies, dual-run shadow reconciliation, and automated rollbacks.
$9
Works with the AI tools you already use
Legacy Modernization and Strangler Platform Architect
Example session with this skill installed
Architect legacy modernization blueprint, Strangler Fig carving patterns, and rollback pathways for Core Banking Mainframe.
- Subject: core-banking-modernization v3.0 (run-id: bank-modarch-001) extracting 18 banking modules from IBM z15 mainframe to AWS EKS.
- Deciders: Chief Enterprise Architect (David O'Reilly) and Head of Core Banking Tech (Elena Rostova).
- Scope: Modernizing $95B in deposits across 22 million accounts; peak 24,000 transactions/sec; governing 5-year modernization program.
- Tension: Program teams advocated a big-bang cutover weekend; in incident MOD-4919, an un-isolated cutover attempt corrupted transaction ledgers, stranding 42,000 payroll wires for 72 hours and incurring $14.8M in emergency remediation and fines. David O'Reilly and Elena Rostova strictly reject big-bang migrations, mandating an authoritative Modernization Architecture: incremental Strangler Fig proxies, dual-run shadow reconciliation, 60-second automated rollback pathways, and parity verification.
Write the modernization architecture overview under docs/.
- Read your context and instructions
- Compiled the legacy modernization
- Generated the document
Wrote docs/architecture/modernization-architect/00-overview/modernization-architect-overview.md and docs/architecture/modernization-architect/verification/fitness-self-check.md. Complete legacy modernization architecture specification establishing Strangler Fig migration patterns, dual-run shadow reconciliation, rollback pathways, and deployment safety gates.
skill: modernization-architect
Legacy Modernization Architecture: Core Banking Mainframe [MODARCH-CORE-001]
Summary
This specification establishes the enterprise legacy modernization architecture, Strangler Fig carving patterns, dual-run shadow verification, and automated rollback pathways for core-banking-modernization v3.0 under run ID bank-modarch-001. It governs the phased extraction of 18 core banking modules from an on-premise IBM z15 mainframe into cloud-native microservices on AWS EKS, managing $95B in customer deposits across 22 million active accounts. It decisively resolves the catastrophic big-bang cutover collapse demonstrated in incident MOD-4919 (where an un-isolated direct cutover attempted to migrate all core deposit tables overnight without rollback mechanisms, corrupting transaction ledgers, stranding 42,000 corporate payroll wires for 72 hours, and incurring $14.8M in emergency remediation and central bank fines). The architecture enforces an
incremental Strangler Fig proxy pattern, establishes
dual-run transaction shadow execution, provides
deterministic single-command rollback pathways, and mandates
automated reconciliation gates.
Detailed Description
Big-bang rewrites of legacy mainframe systems represent the highest-risk endeavor in enterprise IT. When organizations attempt to replace decades of accumulated business logic in a single cutover weekend, latent edge cases and undocumented batch quirks inevitably cause widespread production failure. Modernization Architecture replaces big-bang transitions with evolutionary decomposition: it wraps legacy systems in smart routing proxies (Strangler Fig), intercepts transaction streams, mirrors transactions to modern microservices in shadow mode without committing mutations, verifies mathematical equivalence out-of-band, and shifts traffic incrementally while maintaining continuous reverse rollback capability.
Incoming Customer Banking Ingress (24,000 tx/sec)
│
▼
[ Strangler Fig Ingress Proxy: Envoy Gateway ]
├── Evaluates Account Routing Table & Feature Flags
└── Determines Cutover Cohort (e.g. 5% Canary Pilot)
│
┌────────────────┴────────────────┐
▼ (Legacy Traffic Rail: 95%) ▼ (Modernized Cloud Rail: 5% Pilot)
[ IBM z15 Mainframe DB2 ] [ Cloud Core Banking: AWS EKS ]
├── Primary System of Record ├── Domain Microservices (Java 21)
└── Monolithic COBOL Engine └── Aurora PostgreSQL Relational Core
│ │
└────────────────┬────────────────┘
▼ (Dual-Run Shadow Mirroring)
[ Out-of-Band Merkle Ledger Reconciliation Engine ]
├── Compares Balance Hashes Down to the Cent
└── Triggers Instant Rollback if Variance > $0.00
Criteria and weights
| Criterion | Why it matters here | Weight | Source of the weight |
|---|---|---|---|
| Zero-Data-Loss Instant Rollback Path | Big-bang failure without rollback caused incident MOD-4919 ($14.8M catastrophe). | 0.40 | David O'Reilly (Chief Enterprise Architect) |
| Transaction Equivalence & Ledger Fidelity | Dual-run shadow verification must prove 100% balance parity before live cutover. | 0.30 | Elena Rostova (Head of Core Banking Tech) |
| Incremental Strangler Fig Traffic Routing | Traffic must shift gradually by customer segment (1% -> 5% -> 25% -> 100%). | 0.15 | Operational Resilience Steering Board |
| Mainframe MIPS Offloading & Cost Control | Modernization must reduce annual mainframe software licensing costs by $22M. | 0.15 | Corporate FinOps & Planning Charter |
Alternatives rejected
| Option | Why it was not taken | Under what evidence it would win |
|---|---|---|
| Big-Bang Weekend Cutover (Legacy) | Caused incident MOD-4919 ($14.8M penalty, 72-hour payroll freeze); risk unviable. | Non-critical hobby application with zero active users and zero financial liability. |
| Automatic COBOL-to-Java Transpilation | Generates unmaintainable, opaque procedural Java code that preserves legacy technical debt. | Pure algorithmic libraries with zero external database dependencies or batch integrations. |
| Incremental Strangler Fig with Dual-Run (Chosen) | Retains selection: eliminates big-bang risk, verifies parity, enables instant automated rollback. | Mission-critical financial institutions modernizing 20+ year-old core transaction ledgers. |
Contracts and Invariants
Instant Automated Rollback Invariant [INV-MOD-01]
Every migrated service must support automated reverse traffic rollback to the mainframe within 60 seconds.
Authorizing cutover steps that permanently sever legacy fallback capability is strictly prohibited.
Dual-Run Shadow Parity Verification [INV-MOD-02]
A modernized domain module must execute in dual-run shadow mode for a mandatory minimum of 30 consecutive days
with zero ledger discrepancies before receiving live production traffic authorization.
Mainframe System-of-Record Primacy [INV-MOD-03]
During Phase 1 and Phase 2 transitions, the mainframe database remains the ultimate System of Record (SoR).
Target cloud databases operate as subordinate replicas until final decommission sign-off.
Ownership and Handoffs
| Concern | Owner | Handoff payload | Blocked until |
|---|---|---|---|
| Modernization Strategy & Migration Blueprint | Chief Enterprise Architect (David O'Reilly) | core_modernization_architecture_blueprint | Executive Operating Committee sign-off |
| Core Banking Domain Extraction & Service Code | Head of Core Banking Tech (Elena Rostova) | strangler_domain_service_artifacts | Dual-run shadow test certification |
| Strangler Proxy & Envoy Routing Infrastructure | Platform Ingress Squad | envoy_strangler_routing_spec | Staging canary traffic verification |
| Out-of-Band Merkle Ledger Reconciler | Financial Reliability Engineering | merkle_reconciliation_engine_spec | Live shadow stream connection |
Traceability
| Claim | Classification | Source | Freshness |
|---|---|---|---|
| $95B in deposits across 22 million accounts | provided | Core banking portfolio intake | Current |
| 18 core banking modules to modernize | provided | Modernization inventory charter | Current |
| Incident MOD-4919 $14.8M big-bang cutover collapse | provided | Historical forensic audit report | Historical |
| 24,000 transactions/sec peak throughput | provided | Transactional volumetric profile | Current |
| Strangler Fig & Dual-run methodology selected | decided | David O'Reilly & Elena Rostova | 2026-09-15 |
| 60-second automated rollback invariant | decided | Architectural invariant INV-MOD-01 | 2026-09-15 |
Verification
No validator was supplied, so no command was run.
Reviewer self-check against modernization architecture standards:
- Strangler Discipline: PASS. Eliminates big-bang cutover, routing traffic incrementally via Envoy proxy.
- Rollback Safety: PASS. Enforces automated reverse rollback within 60 seconds; MOD-4919 flaw closed.
- Parity Assurance: PASS. Mandates 30 days of shadow dual-run with out-of-band Merkle reconciliation.
- Markdown Hygiene: PASS. Native Markdown syntax strictly adheres to
rule_markdown.md.
Open Decisions
DEC-MOD-01: David O'Reilly to determine whether shadow traffic mirroring should be executed at the Envoy network layer or via Apache Kafka event replication (Owner: David O'Reilly).
Next steps
- Ingress Platform squad deploys the Envoy Strangler Proxy across the primary core banking routing tier.
- Financial Reliability team configures the out-of-band Merkle ledger reconciliation daemon.
- Conduct staging game day simulating live transaction cutover and executing automated reverse rollback in under 60 seconds.
skill: modernization-architect
Core Banking Modernization Architecture — Fitness Self-Check [MODARCH-CORE-FIT-001]
Summary
This fitness self-check evaluates the core banking modernization architecture against three critical red-capable domain failure probes: irreversible migration, manual-only gate, and deployment without rollback. All targeted probes pass by design construction. A self-check is supporting evidence, never the authoritative gate. Where an executable gate exists, it decides and this document records what it said.
Detailed Description
| Criterion [FIT-n] | Probe | Evidence | Result | Limits of the claim |
|---|---|---|---|---|
| FIT-1: Irreversible Migration | Seed a database migration script that drops legacy mainframe DB2 columns or tables immediately upon cloud cutover without retention. | Database migration policy probe probe_destructive_legacy_ddl_rejection verifying pull request rejection with diagnostic ERR_DESTRUCTIVE_LEGACY_SCHEMA_MUTATION_PROHIBITED. | pass | Confirms automated Git DDL linters; does not evaluate manual un-audited terminal commands by mainframe systems programmers. |
| FIT-2: Manual-Only Gate | Seed an operational promotion gate that relies exclusively on a manual email sign-off to authorize live traffic cutover without verifying automated Merkle reconciliation logs. | Automated release controller probe probe_manual_only_cutover_rejection verifying pipeline halt with diagnostic ERR_CUTOVER_GATE_LACKS_AUTOMATED_EVIDENCE. | pass | Confirms ArgoCD / Spinnaker release gates; does not prevent physical network cable rerouting. |
| FIT-3: Deployment Without Rollback | Seed a deployment manifest for a modernized core service that lacks an active reverse-proxy routing rollback hook to the legacy mainframe fallback endpoint. | Architecture release linter probe_missing_rollback_route_rejection verifying build failure with diagnostic ERR_MODERNIZATION_LACKS_AUTOMATED_ROLLBACK_PATH. | pass | Confirms Kubernetes Helm chart validation rules; does not inspect ad-hoc DNS overrides. |
Residual Risk
- Transient replication lag (up to 450 ms) in asynchronous change-data-capture pipelines during peak end-of-month commercial payroll processing runs. Accepted by Elena Rostova with read-your-writes consistency routing on active accounts.
Traceability
| Claim | Classification | Source | Freshness |
|---|---|---|---|
| Rejection of destructive legacy schema mutations | derived | FIT-1 probe result | 2026-09-15 |
| Rejection of un-evidenced manual cutover gates | derived | FIT-2 probe result | 2026-09-15 |
| Rejection of deployments lacking automated rollback | derived | FIT-3 probe result | 2026-09-15 |
Verification
No validator was supplied, so no command was run.
Open Decisions
None.
Next steps
- Architecture Guild incorporates modernization fitness probes into automated CI deployment verification.
- Platform squad configures Prometheus alerts monitoring dual-run replication latencies and Merkle discrepancy counts.
- Conduct quarterly disaster recovery drill validating automated reverse traffic failover to the IBM z15 mainframe.
legacy-modernization-and-strangler-platf.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
What it does
This skill owns the decision model for why, where, and to what accepted target state a system or portfolio should evolve. It connects business capabilities, current architectural constraints and liabilities, target-state guardrails, options, investment increments, sequencing, and realized outcomes. It does not equate newer technology, cloud adoption, code cleanup, or migration activity with modernization value.
Use it when
- Business capabilities, operating-model constraints, architecture boundaries, technology lifecycle, data, risk, cost, and delivery friction jointly shape the decision
- Current-state mechanisms create evidenced change delay, incidents, security exposure, unsupported operation, coupling, scaling limits, or opportunity cost
- Retain, retire, simplify, remediate, encapsulate, rehost, replatform, replace/buy, refactor, re-architect, or rebuild options require comparison
- Target-state principles and capability boundaries must remain technology-neutral until evidence justifies choices
- Modernization increments need independent value, prerequisites, stopping rules, reversal, and migration handoffs
- Portfolio dependencies, shared platforms, skills, vendors, contracts, and organizational ownership constrain sequence
For example: “Our 15-year-old mainframe core banking engine costs $4M annually in mainframe licensing and takes 6 months to ship simple interest rate changes, causing us to lose merchant clients to fintech competitors.”
What you get
- architecture/modernization-architect/README.md
- architecture/modernization-architect/00-overview/modernization-architect-overview.md
- architecture/modernization-architect/verification/fitness-self-check.md
Plus one page per business module, only where your evidence calls for it: {module}/api.md, {module}/events.md, {module}/clients.md, {module}/data.md, {module}/security.md, {module}/observability.md, {module}/resilience.md.
All paths are relative to the output folder you choose.
What it will not do
Do not use merely to upgrade a framework/dependency, refactor or rewrite code, move a workload to cloud, implement strangler, replace one platform, fix a technical-debt ticket, execute migration/deployment, audit code quality, or draft a generic modernization roadmap.
How it works
- Check modernization architecture is required.
- Bound capability outcomes and current liabilities.
- Formulate target architecture guardrails.
- Evaluate complete disposition options.
- Partition independent value increments.
- Define temporary architecture and retirement rules.
- Write the deliverable, classify every claim by its evidence, and check it before calling the work done.
What's in the package
Instruction-only: no scripts, no network calls, no environment variables.
- LICENSE.txt
- SKILL.md
- agents/openai.yaml
- assets/output-template-artifact.md
- assets/output-template-contract.md
- assets/output-template-domain.md
- assets/output-template-fitness.md
- assets/output-template-mechanism.md
- references/domain-rules.md
- references/operating-rules.md
- references/output-contract.md
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 12 days ago
- Passed all security checks, Safe to install