/mainframe-natural-adabas-classic:code-modernizationfrom mainframe-natural-adabas-classic
Guides behavior-preserving legacy code modernization through stages: brief, assess, extract business rules, map, reimagine architecture, transform modules, and harden with tests and security review. Trigger for COBOL, JCL, legacy Java, .NET, C++, classic ASP, monolith modernization, or business-rule extraction.
Ships in mainframe-natural-adabas-classic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guide behavior-preserving modernization by moving from evidence gathering to rule extraction, target design, incremental transformation, and hardening instead of rewriting legacy systems from assumptions.
| Stage | Output | Required evidence |
|---|---|---|
| Brief | Scope, why now, constraints, non-goals, and success criteria. | User goals and repository facts; assumptions clearly marked. |
| Assess | Inventory of languages, modules, integrations, build, tests, complexity, and risk. | Measured values from available tools such as scc, cloc, or language-specific analyzers when present. |
| Extract rules | Business rule cards that separate observed behavior from inferred intent. | Legacy source citations with line numbers when available. |
| Map | Legacy-to-target module map, target domains, packages, services, and migration sequence. | Dependency and risk relationships from assessment. |
| Reimagine | Target API, data model, runtime, operational model, and deployment shape. | Constraints, quality attributes, and integration boundaries. |
| Transform | Module-by-module rewrite under modernized/**. | Characterization tests pinning legacy behavior before intentional changes. |
| Harden | Security, tests, error handling, observability, and deployment readiness report. | Test results and severity-ranked remediation. |
| Folder | Contract |
|---|---|
legacy/** | Source evidence and legacy behavior; read-only by default. Do not edit unless the user explicitly asks to patch legacy code. |
analysis/** | Briefs, assessments, maps, rule catalogs, designs, risk registers, and reports. |
modernized/** | Transformed or replacement implementation and tests. |
| Need | Primitive |
|---|---|
| Modernization leadership and evidence synthesis | modernization agent |
| Natural and Adabas source discovery | natural-adabas-analysis skill |
| Business rule extraction | legacy-business-rule-extraction skill |
| Target design pressure-testing | critical-thinking agent |
| Security hardening | se-security-reviewer agent |
| Characterization tests | legacy-characterization-testing skill |
| Repeatable workflow entry points | /modernize-* prompts |
| Folder safety rules | code-modernization.instructions.md |
legacy-business-rule-extraction and citations from legacy/**; label inferred intent separately from observed behavior.modernized/**, using legacy-characterization-testing to preserve observable behavior.legacy/** as cleanup: the legacy tree is evidence unless the user explicitly requests a legacy patch.### Modernization result
**Status:** assessed | planned | transformed | blocked
**Scope:** `<legacy area or module>`
**Target area:** `modernized/<path>` | not selected
| Stage | Artifact | Evidence |
| --- | --- | --- |
| Brief | `<path or summary>` | `<source>` |
| Assess | `<path or summary>` | `<tools/files>` |
| Extract rules | `<path or summary>` | `<legacy citations>` |
| Map | `<path or summary>` | `<dependency/risk evidence>` |
| Reimagine | `<path or summary>` | `<constraints>` |
| Transform | `<path or summary>` | `<tests>` |
| Harden | `<path or summary>` | `<validation>` |
**Validation**
- `<inventory/test/security command>`: pass | fail | not available
legacy/**, analysis/**, and modernized/** folder contracts were respected.scc, cloc, or language-specific analyzers were used when present.What SKILL.md sets; muted values are Claude Code's defaults
25 skills in this plugin
/adabas-postgresql-migrationModel Adabas files, DDM and FDT definitions, MU and PE structures, packed and unpacked numerics, descriptors, and ISN identity as a PostgreSQL schema, then prove equivalence with recorded reconciliation numbers. Use when designing or reviewing an Adabas to PostgreSQL data migration, mapping legacy field formats to column types, deciding child-table versus array storage, or verifying that migrated data matches the legacy source./create-architectural-decision-recordCreate an Architectural Decision Record (ADR) as a structured Markdown document with front matter, coded consequences, alternatives, implementation notes, and references. Use when the user asks to document an architecture decision, create an ADR, capture alternatives and trade-offs, or save a decision under docs/adr./github-actions-hardeningReview, audit, author, and harden GitHub Actions workflows against Actions-specific threats: untrusted-input script injection, privileged trigger escalation, mutable action references, over-scoped GITHUB_TOKEN permissions, unsafe GITHUB_ENV/GITHUB_OUTPUT writes, secret exposure, OIDC misuse, and self-hosted runner risk. Use for .github/workflows/*.yml, secure my CI, pull_request_target danger, SHA pinning, or permissions lockdown.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin mainframe-natural-adabas-classicOther plugins' skills for the same job