Caspian - Legacy Code Documentation Generator AI Skill - slide 1
Caspian - Legacy Code Documentation Generator AI Skill - slide 2
Caspian - Legacy Code Documentation Generator AI Skill - slide 3
Caspian - Legacy Code Documentation Generator AI Skill - slide 4

Skill fileClaude Skills for Technical Writers

Caspian - Legacy Code Documentation Generator AI Skill

Turns undocumented legacy code into a documented system map with proven facts kept apart from guesses.

$9· one file, yours to keep

Yours to keep · instant download

All-in-one

Or all of them, $6.99/mo

Caspian and 2,500+ other specialists, in your AI. Ask for any of them by name.

Subscribe · $6.99/mo

7 days free, then $6.99/mo · cancel anytime

  • Visa
  • Mastercard
  • American Express
  • Apple Pay

30-day money-back · secure checkout by Stripe

Read the opening lines
# Caspian - Legacy Code Documentation Generator

## Role

You are Caspian, a software archaeologist. You have inherited enough systems with no docs, no tests and a departed author to know the routine: read the code, trace the data, find the rules hiding in the conditionals, and write down what you can prove. You document so that the next maintainer can change the system without breaking things nobody told them about.

You are strict about evidence. Every statement in your docs is one of three kinds: **Proven** (visible in the code you were given), **Inferred** (a reasonable reading, with the reasoning shown) or **Unknown** (needs a human who knows the history). You never present an inference as a fact, and you never explain why something exists when the code only shows what it does.

## How you differ from AI Code Explainer

- **AI Code Explainer** takes a snippet and explains it in plain English for a reader who wants to understand it right now. The answer lives in the chat.
- **You (Caspian)** produce lasting documentation for a whole program, module or repo: inventories, data dictionaries, extracted business rules, dependency and schedule maps, a runbook, and comments to paste back into the source. The output is a file set that stays with the code. Use the explainer for "what does this line do", use Caspian for "write down how this system works".

Skill file · 118 lines · the first 12 shown

How it works

  1. Buy or subscribeAdd it to your cart for $9 and the file is yours to keep. Or subscribe: every file in the store, $6.99/mo.
  2. Open in your AIDownload the file and add it to Claude (Settings → Capabilities → Skills → Upload) or paste it into a ChatGPT project. Subscribers connect their AI once instead:

    Claude

    Anthropic's AI chat, on the web, desktop and phone · about 3 minutes

    Works on every Claude plan, Free included.

    • Team or Enterprise plan: the workspace owner adds it once in Organization settings, then everyone clicks Connect.
    • Nothing happens when you click Connect? Allow pop-ups for claude.ai and try again.

    On a phone? Set it up once on a computer. It then shows up in the Claude phone app by itself. Email me the link

    After you buy a file
    1. Download your .skill file from the order email or your account.

    2. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill.

    3. Start a new chat and ask for the specialist by name.

    Open full guide

  3. Ask by nameStart a chat and ask for Caspian by name. It works like the specialist from the first message.

What's inside

  • caspian-legacy-code-documentation-generator.skillSkill file · 118 lines · instant download
  • Every statement labelled proven, inferred or unknown, never guessed as fact
  • Business rules extracted into a numbered register with code locations
  • Data dictionary, side effects, error paths and a runbook for operators
  • Open questions list so missing history is asked for, not invented

What your AI will do

See a real example
You ask

Document this nightly COBOL billing adjustment program and its copybook for the migration team. Two called subprograms are on another server and I do not have them. Nobody who wrote it is left.

Your AI answers

You get: a coverage statement listing what was not provided → a control and data flow outline → a module register and data dictionary → a numbered business rule register with locations and evidence labels → operations and restart notes → neutral risk notes → a pasteable comment block → and open questions for the people who might know.

// faq

Questions before you buy

What does Caspian - Legacy Code Documentation Generator do?+

Caspian reads undocumented source code and writes the documentation that should have existed. He builds a module register, a control and data flow outline, a data dictionary, a numbered business rule register, notes on side effects, error handling and scheduling, a runbook and suggested comment blocks. Every statement is labelled proven, inferred or unknown.

How is Caspian different from the AI Code Explainer?+

The AI Code Explainer takes a snippet and explains it in plain English so you understand it now, and the answer stays in the chat. Caspian produces lasting documentation for a whole program, module or repo: inventories, rules, dependencies, schedules and a runbook you can store next to the code. Use the explainer for what a line does and Caspian for how the system works.

Can it explain why the original developer did something?+

Only when the code or comments show it. Otherwise he labels the point unknown and adds it to the open questions list with a suggestion of who might know, such as billing or the DBA. He will not write a plausible history. That keeps migration decisions based on evidence.

Is it safe to paste production code?+

Remove secrets, passwords and personal data first. Caspian masks anything sensitive he sees and tells you to rotate exposed credentials. Share only code you are allowed to share, and follow your company policy on AI tools. He makes no security or regulatory claims about the system.

How do I open it?+

Download your .skill file from the order email or your account. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill. Start a new chat and ask for the specialist by name.

Using ChatGPT, Gemini or another AI? See How it works