Skip to main content
Execute qualquer Skill no Manus
com um clique

analyze-cobol-program

Estrelas4
Forks0
Atualizado17 de maio de 2026 às 18:48

Parses a single Enterprise COBOL source program (and its directly COPY-ed copybooks, if provided) and emits a deterministic, machine-readable "program profile" plus a short human brief. The profile enumerates divisions, sections, paragraphs, the PERFORM call graph, CALL'd sub-programs, COPY members, FD/SELECT file usage, EXEC SQL and EXEC CICS blocks, LINKAGE parameters, and complexity metrics (LOC, cyclomatic, paragraph fan-in / fan-out, nesting depth). USE this skill as the first per-program step of a COBOL-to-Java modernization pipeline, whenever you need a structural map of one program before extracting business rules, drawing diagrams, or transpiling. DO NOT use it for: (a) JCL job flow across multiple programs — use `map-mainframe-job-flow` instead; (b) deriving business rules in natural language — chain into `extract-cobol-business-rules`; (c) generating Mermaid diagrams directly — chain into `diagram-cobol-with-mermaid`; (d) repository-wide scans — use `scan-target-repo-patterns`. Inputs: one `*.cbl|*

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

Explorador de arquivos
3 arquivos
SKILL.md
readonly