Assess a Legacy System
Purpose
Turn a vague "this system is old" feeling into a defensible modernization decision: a clear picture of why change is needed, which 7R options are viable, what each costs and returns in relative terms, and which one to start with.
When to use
- A system faces a hard driver: end of vendor or platform support, key-person risk, compliance gap, cost growth, or inability to scale or change.
- Leadership needs options for one legacy application before budgeting.
- A rewrite has been proposed and needs to be challenged against cheaper options.
When not to use
- Many applications must be ranked for a portfolio decision. Use
application-portfolio-assessment.
- The option is chosen and the migration must be sequenced. Use
migration-strategy.
- The question is only which code-level debt to pay down. Use
tech-debt-assessment.
Inputs
Required:
- System description: purpose, users, main technologies and integrations, and the driver for change.
Optional, improves quality:
- Architecture or deployment diagrams, code metrics, incident and change history, running cost.
- Business roadmap for the capability, target platform standards, available skills and budget envelope.
- Data volumes, regulatory constraints, contracts and licenses.
If the driver for change is unknown, ask; without it no option can be ranked. Ask at most five questions; list the rest as open questions.
Process
- State the drivers and the deadline behind each (e.g., "OS support ends Q3"
[confirm]); separate hard drivers (must act) from soft drivers (would be nice).
- Assess business fit: how critical the capability is, whether it differentiates or is commodity, expected change rate, and whether a standard product exists.
- Assess technical health: platform currency, architecture (monolith boundaries, coupling, shared database), code quality signals, test coverage, build and deploy automation, documentation, key-person dependency.
- Assess operational risk: incidents, security vulnerabilities, scalability limits, recovery capability, license and support exposure.
- Map dependencies: upstream/downstream integrations, data ownership, batch jobs, reports, and hidden consumers of the database.
- Evaluate each 7R option for feasibility; drop infeasible ones with a one-line reason. For viable ones rate relative effort, value, risk and time to first benefit (Low/Medium/High), never inventing costs.
- Consider incremental paths (strangler fig, extracting the most volatile capability first) before big-bang rewrites; explain why a rewrite is or is not justified.
- Recommend one primary option (and a fallback), with decision criteria that would change it, and the preconditions (skills, funding, freeze windows).
- Propose first steps that reduce uncertainty: a time-boxed spike, dependency discovery, test safety net, data profiling.
- Label every inference
[ASSUMPTION], collect risks and open questions, and if the goal continues suggest migration-strategy to plan the chosen path, build-vs-buy if repurchase is viable, or legacy-code-comprehension to reduce knowledge risk.
Output format
# Modernization Assessment: <system>
Drivers: <hard> / <soft> · Deadline: <date or [UNKNOWN]>
## Current State
| Dimension | Finding | Rating (Good/Fair/Poor) | Evidence |
|---|---|---|---|
| Business fit | ... | | |
| Technical health | ... | | |
| Operational risk | ... | | |
| Dependencies | ... | | |
## Options (7R)
| Option | Feasible? | Effort | Value | Risk | Time to benefit | Notes |
|---|---|---|---|---|---|---|
## Recommendation
- Primary: ... because ...
- Fallback: ...
- Would change if: ...
- Preconditions: ...
## First Steps
1. ...
## Assumptions, Risks and Open Questions
- [ASSUMPTION] ...
Quality checklist
Common pitfalls
- Defaulting to a full rewrite because the code is unpleasant. Rewrites lose embedded business rules; compare with replatform and incremental refactoring first.
- Ignoring the data: the database is often the real monolith, shared by reports and other systems.
- Treating key-person risk as a technical issue only. Capture knowledge before any option starts.
Example
Input: .NET Framework order monolith on Windows Server with end-of-support next year, shared SQL database used by finance reports, two maintainers.
Excerpt of output:
| Option |
Feasible? |
Effort |
Value |
Risk |
Time to benefit |
Notes |
| Rehost |
Yes |
Low |
Low |
Low |
Short |
Removes OS deadline only; debt stays |
| Replatform |
Yes |
Medium |
Medium |
Medium |
Medium |
Move to supported runtime and containers; test safety net needed first |
| Refactor (strangler) |
Yes |
High |
High |
Medium |
Long |
Extract pricing first (highest change rate) [ASSUMPTION] |
Primary: rehost now to meet the support deadline, then strangler refactoring; would change if a standard order product covers most required flows.
1---2name: modernization-assessment3description: "Assesses a legacy system across business fit, technical health, operational risk and change drivers, then evaluates the 7R options (retire, retain, rehost, relocate, replatform, repurchase, refactor/re-architect) with relative effort, value and risk, and recommends a path with decision criteria and first steps. Use when a legacy application is under pressure (end of support, cost, skills, scalability, compliance), when leadership asks \"what should we do with system X?\", or before committing budget to a migration or rewrite."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/modernization-assessment7 version: "1.0.0"8 language: en9 category: 04-architecture10 role: software-architect11 area: evolution12 title: "Assess a legacy system"13 related: "legacy-code-comprehension, tech-debt-assessment, migration-strategy, build-vs-buy, application-portfolio-assessment"14 prompt: "Assess our 15-year-old .NET Framework order management monolith on-premises. Support for its OS ends next year and only two people know it. What are our options?"15---1617# Assess a Legacy System1819## Purpose20Turn a vague "this system is old" feeling into a defensible modernization decision: a clear picture of why change is needed, which 7R options are viable, what each costs and returns in relative terms, and which one to start with.2122## When to use23- A system faces a hard driver: end of vendor or platform support, key-person risk, compliance gap, cost growth, or inability to scale or change.24- Leadership needs options for one legacy application before budgeting.25- A rewrite has been proposed and needs to be challenged against cheaper options.2627## When not to use28- Many applications must be ranked for a portfolio decision. Use `application-portfolio-assessment`.29- The option is chosen and the migration must be sequenced. Use `migration-strategy`.30- The question is only which code-level debt to pay down. Use `tech-debt-assessment`.3132## Inputs33Required:34- System description: purpose, users, main technologies and integrations, and the driver for change.3536Optional, improves quality:37- Architecture or deployment diagrams, code metrics, incident and change history, running cost.38- Business roadmap for the capability, target platform standards, available skills and budget envelope.39- Data volumes, regulatory constraints, contracts and licenses.4041If the driver for change is unknown, ask; without it no option can be ranked. Ask at most five questions; list the rest as open questions.4243## Process441. State the drivers and the deadline behind each (e.g., "OS support ends Q3" `[confirm]`); separate hard drivers (must act) from soft drivers (would be nice).452. Assess business fit: how critical the capability is, whether it differentiates or is commodity, expected change rate, and whether a standard product exists.463. Assess technical health: platform currency, architecture (monolith boundaries, coupling, shared database), code quality signals, test coverage, build and deploy automation, documentation, key-person dependency.474. Assess operational risk: incidents, security vulnerabilities, scalability limits, recovery capability, license and support exposure.485. Map dependencies: upstream/downstream integrations, data ownership, batch jobs, reports, and hidden consumers of the database.496. Evaluate each 7R option for feasibility; drop infeasible ones with a one-line reason. For viable ones rate relative effort, value, risk and time to first benefit (Low/Medium/High), never inventing costs.507. Consider incremental paths (strangler fig, extracting the most volatile capability first) before big-bang rewrites; explain why a rewrite is or is not justified.518. Recommend one primary option (and a fallback), with decision criteria that would change it, and the preconditions (skills, funding, freeze windows).529. Propose first steps that reduce uncertainty: a time-boxed spike, dependency discovery, test safety net, data profiling.5310. Label every inference `[ASSUMPTION]`, collect risks and open questions, and if the goal continues suggest `migration-strategy` to plan the chosen path, `build-vs-buy` if repurchase is viable, or `legacy-code-comprehension` to reduce knowledge risk.5455## Output format56```markdown57# Modernization Assessment: <system>58Drivers: <hard> / <soft> · Deadline: <date or [UNKNOWN]>5960## Current State61| Dimension | Finding | Rating (Good/Fair/Poor) | Evidence |62|---|---|---|---|63| Business fit | ... | | |64| Technical health | ... | | |65| Operational risk | ... | | |66| Dependencies | ... | | |6768## Options (7R)69| Option | Feasible? | Effort | Value | Risk | Time to benefit | Notes |70|---|---|---|---|---|---|---|7172## Recommendation73- Primary: ... because ...74- Fallback: ...75- Would change if: ...76- Preconditions: ...7778## First Steps791. ...8081## Assumptions, Risks and Open Questions82- [ASSUMPTION] ...83```8485## Quality checklist86- [ ] Every option rating is tied to evidence from the input or labeled `[ASSUMPTION]`; no cost figures are invented.87- [ ] All seven options are considered, and dropped ones have a reason.88- [ ] Hard drivers and their deadlines determine the recommendation's timing.89- [ ] Hidden dependencies (shared database, batch jobs, reports) are addressed or listed as open questions.90- [ ] The recommendation states what would change it.91- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.9293## Common pitfalls94- Defaulting to a full rewrite because the code is unpleasant. Rewrites lose embedded business rules; compare with replatform and incremental refactoring first.95- Ignoring the data: the database is often the real monolith, shared by reports and other systems.96- Treating key-person risk as a technical issue only. Capture knowledge before any option starts.9798## Example99Input: .NET Framework order monolith on Windows Server with end-of-support next year, shared SQL database used by finance reports, two maintainers.100101Excerpt of output:102| Option | Feasible? | Effort | Value | Risk | Time to benefit | Notes |103|---|---|---|---|---|---|---|104| Rehost | Yes | Low | Low | Low | Short | Removes OS deadline only; debt stays |105| Replatform | Yes | Medium | Medium | Medium | Medium | Move to supported runtime and containers; test safety net needed first |106| Refactor (strangler) | Yes | High | High | Medium | Long | Extract pricing first (highest change rate) `[ASSUMPTION]` |107108Primary: rehost now to meet the support deadline, then strangler refactoring; would change if a standard order product covers most required flows.