R RomantiCode
VS Code extension · BYOK

Generate AI-ready documentation and context for your codebase.

Works with legacy projects, AI-generated apps, vibe-coded prototypes, and inherited codebases. Auto-generate JSDoc, Markdown docs, Mermaid architecture diagrams, and AI-ready context packs — locally, with your own API key.

Free: 5 generations/day. No credit card required.

The problem every developer knows

When a project lacks docs, structure, and context — every change feels risky.

No docs, no comments

Inherited a project with no JSDoc, no README, and variable names like tmp2.

No architecture map

Hard to see how modules connect or why decisions were made.

AI tools lack context

Claude Code, Cursor, and Copilot don't know your project goals or history.

Cleanup has no plan

You know the code needs work, but don't know where to start or what's safe to change.

Generate docs, diagrams, and context from your workspace

Right-click any file or folder, choose what to generate, and review the output before it lands in your project.

01

Inline JSDoc & comments

Auto-insert JSDoc above functions and add explanatory inline comments. Preserves your existing code style — no unwanted modernization.

02

Markdown documentation

Generate standalone .md files with function signatures, parameter descriptions, usage examples, and module overviews.

03

Mermaid architecture diagrams

Map module dependencies, class hierarchies, and call flows as Mermaid diagrams — rendered right in your sidebar.

04

Project context pack

Generate an AI-ready context file summarizing your project structure, purpose, and key modules for Claude Code, Cursor, or Codex.

05

Cleanup readiness notes

Identify areas to inspect, missing documentation, and module summaries to prepare before cleanup or refactor.

06

Multi-model / BYOK

Use your own API key for Claude, GPT, Gemini, Grok, or any OpenAI-compatible endpoint. Zero API costs from us.

Use cases

Where developers and indie founders use LegacyDoc AI today.

Document legacy code

Add JSDoc, inline comments, and Markdown docs to undocumented legacy projects.

Prepare AI-generated code for cleanup and review

Generate an audit-ready context pack before cleanup, refactor, or handoff.

Learn more

See what a finished audit report looks like

Browse a text-based sample audit report for an AI-generated app.

Learn more

Vibe code cleanup readiness

Make your vibe-coded app reviewable before hiring a cleanup specialist or refactoring with AI.

Learn more

Map architecture before refactor

Generate Mermaid diagrams to understand module structure before making changes.

How it works

A simple flow inside VS Code, with your own API key.

  1. Step 1

    Install & configure

    Install from VS Code Marketplace. Add your AI model API key in settings.

  2. Step 2

    Select & generate

    Right-click a file or folder, choose what to generate — inline JSDoc, Markdown, or both.

  3. Step 3

    Review & apply

    Preview generated docs in the sidebar, then apply inline or save as Markdown.

Simple, fair pricing

Start free. Upgrade when you need more.

Free

$0 forever

  • 5 generations per day
  • Inline JSDoc + Markdown + Mermaid
  • Claude / GPT / Gemini / Grok / Custom models
  • Your own API key (zero cost from us)
Install Free
Most popular

Pro

$29 one-time

  • Unlimited generations
  • Custom prompt templates
  • Batch file processing
  • Priority support
  • Activate on up to 3 devices
Get Pro — $29

Frequently asked questions

Can I use LegacyDoc AI for AI-generated code?

Yes. It works with any local codebase in VS Code — legacy projects, AI-generated apps, vibe-coded prototypes, and inherited codebases.

Is this an AI code audit tool?

It generates documentation, architecture maps, and an audit-ready context pack. It helps you understand and prepare your codebase for review — but it does not perform a formal security audit or guarantee production readiness.

Does it automatically refactor or fix code?

No. LegacyDoc AI generates documentation and context. It does not rewrite, refactor, or modify your code logic.

Does my code leave my machine?

Your code is sent to the AI model API you configure (e.g., Anthropic, OpenAI). It is never sent to RomantiCode servers. You control your own API key.

Can I share the generated context with Claude Code, Cursor, or Codex?

Yes. The generated context files are designed to be shared with AI coding tools so they can understand your project without you having to explain everything from scratch.

Which AI models are supported?

Claude (Anthropic), GPT (OpenAI), Gemini (Google), Grok (xAI), and any OpenAI-compatible endpoint. You bring your own API key.

What languages does it support?

JavaScript, TypeScript, and Python out of the box. The AI can handle most languages — more first-class support coming soon.

How does the Pro license work?

After purchasing, you receive a license key via email. Enter it in VS Code settings to unlock unlimited generations and all Pro features. One-time payment, no subscription.

Document and understand your codebase

Install for free. Runs inside VS Code. No credit card required.