Skip to main content
Run any Skill in Manus
with one click

extract-cobol-business-rules

Stars4
Forks0
UpdatedMay 17, 2026 at 21:07

Reads the `program-profile.json` emitted by `analyze-cobol-program` together with the original COBOL source (and any resolved copybooks) and derives a deterministic catalog of **business rules** — discrete, human-readable statements of WHAT the program decides, calculates, validates, or persists, with verbatim source citations for every rule. Each rule has a stable ID, a type (CALCULATION, VALIDATION, BRANCHING, LOOKUP, MAPPING, FLAG-MUTATION, IO-EFFECT, ERROR-HANDLING), a plain-language statement, the COBOL predicates and expressions it was lifted from, the data items it reads/writes, and a confidence score. USE this skill after `analyze-cobol-program` has succeeded, whenever you need a reviewable business specification before transpiling, writing characterisation tests, or drafting a target Java domain model. DO NOT use it: (a) to parse COBOL from scratch — run `analyze-cobol-program` first and pass its profile; (b) to translate rules into Java — chain into `transpile-cobol-to-java21`; (c) to render flowcha

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly