/mainframe-cobol-db2:legacy-business-rule-extractionfrom mainframe-cobol-db2
Extracts cited business-rule cards from legacy code, batch jobs, database definitions, screens, and process documents, separating observed behavior from inferred intent for modernization.
Ships in mainframe-cobol-db2. 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.
Turn legacy evidence into atomic, testable rule candidates without promoting assumptions into approved requirements.
Search for calculations, validations, eligibility checks, authorizations, routing, defaults, limits, state transitions, lifecycle rules, audit behavior, temporal rules, error handling, and data-integrity constraints. Include negative and no-record paths, not only successful execution.
Each candidate is atomic and uses one of these evidence states:
| State | Meaning |
|---|---|
| Observed | The cited source directly implements or declares the behavior. |
| Inferred | Evidence suggests intent, but a domain owner must confirm it. |
| Contradicted | Sources disagree or the implementation conflicts with documentation. |
| Missing | A referenced dependency or required source is unavailable. |
### RULE-001 - <short evidence-based name>
- Type: calculation | validation | eligibility | authorization | routing | state-transition | other
- Evidence state: observed | inferred | contradicted | missing
- Plain language: <one atomic behavior>
- Source evidence:
- `<path>` - <line, symbol, statement, or paragraph>
- Examples:
- Given <supported state>, When <supported event>, Then <observed outcome>
- Confidence: high | medium | low
- Requirement candidate: yes | no | pending
- Questions:
- <question, owner, and impact>
natural-adabas-analysis first when Natural or Adabas structure is not yet understood.legacy-characterization-testing to turn approved behavior into executable oracles.## Legacy rule extraction
**Status:** complete | partial | blocked
**Scope:** <source scope>
**Rule candidates:** <count>
### Rule cards
<cards using the contract above>
### Contradictions and questions
| Rule | Question or conflict | Impact | Owner |
| --- | --- | --- | --- |
### Validation
- Sources inspected: <paths>
- Unsupported candidates excluded: <count>
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/cobol-db2-analysisAnalyze COBOL programs, copybooks, PERFORM and CALL structure, file and VSAM access, embedded EXEC SQL and EXEC CICS, DB2 DDL, DCLGEN structures, cursors, and JCL job steps with source citations. Use when reading or inventorying a COBOL/DB2 legacy system before modernization./cobol-db2-contextSupply COBOL, DB2, VSAM, and JCL modernization context: corpus layout, member conventions, target stack boundaries, evidence precedence, stage flow, and security rules. Use when starting any COBOL/DB2 modernization task, before analysis, design, implementation, verification, or delivery./cobol-db2-loopRun each COBOL/DB2 modernization phase as a bounded correction loop with observable exit gates, an iteration ledger, upstream defect escalation, and an engineering graph extracted from COBOL, copybooks, JCL, and DB2 DDL. Use when opening or closing a COBOL/DB2 phase loop, deciding whether a gate passes, routing a defect to the phase that owns its root cause, or building and querying the modernization graph./cobol-legacyApplies COBOL, copybook, and JCL reading conventions for evidence, precision, occurrence semantics, and legacy immutability. Use when inspecting or citing COBOL/DB2 legacy source./code-modernizationUse this skill when the user asks to modernize legacy code with a disciplined GitHub Copilot workflow: brief, assess, map, extract business rules, reimagine architecture, transform modules, and harden with tests and security review. Trigger for COBOL, JCL, legacy Java, .NET, C++, classic ASP, monolith modernization, behavior-preserving rewrite, business-rule extraction, modernization assessment, or legacy-to-modern transformation./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.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin mainframe-cobol-db2Other plugins' skills for the same job