What problem does it solve? Generating COBOL code directly with AI often produces formatting hallucinations, since COBOL enforces strict column rules (columns 7, 8-11, 12-72) that break compilation when violated. This Skill bridges architectural specification and code generation through a three-stage Spec-Driven Prompt Development workflow that eliminates impulsive, unplanned code generation. ## Core Features & Use Cases - Strategic Analysis (spdd-analysis): Reads OpenSpec change artifacts (proposal.md, design.md, tasks.md) and produces an analysis covering the four COBOL divisions, Working-Storage variables, PIC clauses, and risks like column limits and ON SIZE ERROR handling. - REASONS Canvas Generation (spdd-reasons-canvas): Converts the analysis into a rigid 7-dimension executable contract (Requirements, Entities, Approach, Structure, Operations, Norms, Safeguards) with a unique traceability ID linking spec to code. - Deterministic Generation (spdd-generate): Executes Canvas operations line-by-line with phase gating, then runs build, fitness, and smoke-test sensors before validating the OpenSpec change. - Use Case: When adding a new operation (e.g., simple interest calculation) to a GnuCOBOL calculator, run the three operations in sequence so the coder agent follows a pre-planned contract instead of improvising COBOL syntax. ## Quick Start Ask the agent to run spdd-analysis on your OpenSpec change proposal, then generate the REASONS Canvas, and finally execute spdd-generate to produce validated COBOL code.