Arckit application rationalization

From tractorjuice/arckit-codex · View interactive version

Arckit application rationalization is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Rationalize application portfolio with keep/merge/replace/retire decisions

How to use this skill

Skill file

You are helping an enterprise architect rationalise the application portfolio using keep/merge/replace/retire decisions. This produces a portfolio-level rationalisation document (APPR) that informs transition planning and gap analysis.

User Input

$ARGUMENTS

Prerequisites: Read Foundational Artifacts

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

MANDATORY (warn if missing)

RECOMMENDED (read if available, note if missing)

Prerequisites 2b: Read external documents and policies

Instructions

1. Identify the Project

Identify the target project from the hook context or user input. Extract the project ID (e.g., 001 from projects/001-project-name).

2. Read the Application Inventory

Read APP artifacts from projects/{P}/ARC-{P}-APP-v*.md:

3. Read the Template

Read the template (with user override support):

Tip: Users can customise templates with $arckit-customize application-rationalization

4. Gather Context via Questions

Use a question to the user only for what the arguments, the application inventory and the other project artefacts do not already answer.

Gathering rules — the one-message interview in .arckit/references/interview-pattern.md:

Question 1 — header: Timeframe, multiSelect: false

"What is the target timeframe for portfolio rationalisation?"

Question 2 — header: Drivers, multiSelect: true

"What are the key drivers for rationalisation?"

Question 3 — header: Fixed apps, multiSelect: false

"Are any applications non-negotiable (must keep or must retire)? Name them under Other."

5. Generate Rationalisation Decisions

For each application in the inventory, determine a rationalisation decision:

Decision Framework

| Decision | When to Use | Typical Rationale |

|----------|-----------|-------------------|

| Keep | Strategic fit, good condition, no duplication | Application is mission-critical, well-maintained, aligned to strategy |

| Merge | Overlapping functionality, duplicate capabilities | Two apps serve same capability — consolidate to one |

| Replace | Aging technology, strategic misalignment, high cost | Legacy platform needs modern replacement — same capability, better technology |

| Retire | No longer needed, superseded, excessive cost | Capability no longer required or moved to another system |

Per-Application Analysis

For each application, evaluate:

  1. Strategic Fit — Does the application support strategic objectives?
  1. Technical Condition — Current technology state
  1. Business Value — Current contribution to the enterprise
  1. Cost Profile — Total cost of ownership
  1. Risk Factors — Migration or retention risks

6. Consolidation Benefits Analysis

Calculate estimated benefits from each decision category:

7. Risk Register

For each rationalisation decision, identify migration risks:

| Risk Category | Description | Likelihood | Impact | Mitigation |

|--------------|-------------|-----------|--------|------------|

| Business disruption | Service outage during migration | [Low/Med/High] | [Low/Med/High] | [Mitigation plan] |

| Data loss | Migration of application data | [Low/Med/High] | [Low/Med/High] | [Mitigation plan] |

| Integration failure | Downstream system dependencies | [Low/Med/High] | [Low/Med/High] | [Mitigation plan] |

| Vendor dependency | Contract termination or non-cooperation | [Low/Med/High] | [Low/Med/High] | [Mitigation plan] |

8. Implementation Sequencing

Group rationalisation activities into implementation waves:

Consider dependencies between applications and capability requirements.

9. Auto-Populate Document Control Fields

Before completing the document, populate ALL document control fields in the header:

Construct Document ID:

Populate Required Fields:

Auto-populated fields:

User-provided fields:

Calculated fields:

Pending fields (leave as [PENDING] until manually updated):

Populate Revision History:

| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-application-rationalization` command | [PENDING] | [PENDING] |

Populate Generation Metadata Footer:

**Generated by**: ArcKit `$arckit-application-rationalization` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {P})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]

10. Quality Gate

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the APPR per-type checks pass. Fix any failures before proceeding.

APPR-specific quality requirements:

11. Write the Rationalisation File

IMPORTANT: The Application Rationalisation document will be a substantial document (typically 150-300 lines). You MUST use the Write tool to create the file, NOT output the full content in chat.

Create the file at:

projects/{P}/ARC-{P}-APPR-v{VERSION}.md

Use the Write tool with the complete content following the template structure.

12. Show Summary to User

After writing the file, show a concise summary (NOT the full document):

## Application Rationalisation Complete

**Document**: `projects/{P}/ARC-{P}-APPR-v{VERSION}.md`
**Document ID**: ARC-{P}-APPR-v{VERSION}

### Decision Summary
| Decision | Count | Applications |
|----------|-------|-------------|
| Keep | [N] | [List] |
| Merge | [N] | [List] |
| Replace | [N] | [List] |
| Retire | [N] | [List] |

### Portfolio Impact
- **Total applications assessed**: [N]
- **Estimated license reduction**: £[X]/year
- **Estimated maintenance savings**: £[X]/year
- **Implementation waves**: [N] waves planned

### Risks Identified
| # | Risk | Likelihood | Impact |
|---|------|-----------|--------|
| 1 | [Risk] | [Level] | [Level] |

### Implementation Sequencing
- **Wave 1**: [Quick wins] — [Start date] to [End date]
- **Wave 2**: [Foundation] — [Start date] to [End date]

### Synthesised From
- ✅ Application Inventory: ARC-{P}-APP-v[N].md
- [✅/⚠️] Business Capability Model: ARC-{P}-BPCM-v[N].md
- [✅/⚠️] Architecture Decisions: ARC-{P}-ADR-*.md

### Next Steps
1. Review rationalisation decisions with Application Owners
2. Validate consolidation benefit estimates with Finance
3. Begin gap analysis for replaced applications: `$arckit-gap-analysis`
4. Plan transition work packages: `$arckit-transition-architecture`

**File location**: `projects/{P}/ARC-{P}-APPR-v{VERSION}.md`

Important Notes

  1. Decision Justification: Every rationalisation decision must include clear rationale. A "Retire" decision without rationale is a governance failure. Document the "why" behind each choice.
  1. Capability Continuity: When retiring or merging applications, verify that the capability they serve has a successor. Never leave a capability orphaned.
  1. Dependency Mapping: Map application dependencies before making decisions. Retiring an upstream application without retiring downstream dependents causes operational failures.
  1. Cost vs. Value: Always weigh Total Cost of Ownership against delivered business value. A high-cost, high-value application may be a strategic "Keep" even if it looks expensive in isolation.
  1. Stakeholder Alignment: Application owners and business sponsors must review and approve rationalisation decisions before implementation. This document is a proposal, not a mandate.
  1. Version Management: If a rationalisation document already exists (ARC-{P}-APPR-v*.md), create a new version (v2.0) rather than overwriting. Rationalisation decisions evolve as the portfolio changes.
  1. Integration with Other Commands:
  1. UK Government Specifics: If this is a UK Government project, include:
  1. Markdown escaping: When writing less-than or greater-than comparisons, always include a space after < or > (e.g., < 3 seconds, > 99.9% uptime) to prevent markdown renderers from interpreting them as HTML tags or emoji

Suggested Next Steps

After completing this command, consider running:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.