founder-docs
A Claude Code skill

Your project,
documented.

founder-docs explores your codebase and generates a complete documentation suite: three markdown docs, one combined HTML doc with light + dark theme, and a separate code-walkthrough page. All accurate to your actual code. One command. Done.

Install See what it makes

Works with any web project · Next.js · React · Express · FastAPI · MIT licensed

Five files. Two surfaces.

Three markdown docs for the repo. One combined HTML for the doc site. One code-wiki page for the walkthrough. Everything reflects your actual codebase: every dependency, route, table, env var, and source file.

your codebase
my-app/
├── src/
│   ├── app/
│   │   ├── page.tsx
│   │   ├── dashboard/
│   │   └── api/
│   ├── components/
│   ├── lib/
│   └── hooks/
├── public/logos/
├── supabase/migrations/
├── package.json
└── .env.example
5 files generated
strategy.md          # vision, competitors, features, roadmap
setup.md             # env vars, services, deployment, checklist
README.md            # overview, stack, quick start, scripts

docs/
  index.html         # Overview / Strategy / Setup / Flow · light+dark
  code-wiki.html     # clickable file tree · per-file walkthrough

Discovered from your actual codebase. Nothing fabricated.

Three markdown docs. Two HTML pages.

Every file is accurate to your codebase: dependencies, routes, tables, env vars. Pulled from a thorough discovery phase before a single line is written.

md
strategy.md

Vision, competitive landscape, feature map, schema, tech stack, roadmap, file structure. The document you'd hand a new co-founder.

md
setup.md

Step-by-step service configuration, every environment variable explained, seed SQL, deployment, and a persistent checklist.

md
README.md

Stack overview, feature summary, quick-start commands, database table index, project structure. What GitHub shows first.

Inside

Six properties that make founder-docs different from a README generator.

One combined page

README, strategy, setup, and the flow diagram live as in-page sections of docs/index.html with a sticky top-tab nav and scroll-spy. One URL to share, no broken anchor jumps.

Light + dark theme toggle

A token pair driven by [data-theme] on <html>. Preference persists in localStorage; first load respects prefers-color-scheme. The theme button (top-right, here too) does the toggle without a reload.

Project logo discovery

Discovers a logo at public/logos/*, public/icon.svg, or app/icon.*. Inlines SVGs ≤ 8 KB directly into the topnav so the page stays self-contained; copies larger files to docs/logo.<ext>. Falls back to a gradient mark using your brand colors.

Anti-slop rules

Each fact appears once. No marketing eyebrows or hero CTAs in a project doc. Card grids cap at 12. Copy length caps. Empty subsections get skipped, not padded with placeholders.

Competitors + Roadmap, populated

Strategy includes a competitive landscape and a roadmap by default. Competitors come from product-space reasoning (marked inferred); roadmap rows cite real code signals: TODOs, unused env keys, "for the hackathon" comments, README phase notes.

Code wiki

A separate docs/code-wiki.html with a clickable file tree. Each file shows its purpose, exports with signatures, dependencies, and reverse call-sites, derived from grep across the repo, never invented.

Principles (non-negotiable)

Rules the skill follows when writing, applied to every section of every page it generates.

1
Each fact appears once. Tech stack, file tree, database tables, and quick-start commands live in exactly one section. Other sections link to that section by anchor instead of restating.
2
Skip empty subsections, except Strategy. No "Revenue" card for projects with no monetization, no empty roadmap. But for Strategy's Competitors and Roadmap: populate from domain reasoning + code signals (with inferred markers where applicable), don't leave them blank.
3
No marketing language. No "Built In From Day 1", no eyebrow tags above section titles, no CTA buttons in a project doc, no hero subtitles. The hero is just <h1>ProjectName</h1> plus a one-line tagline.
4
Cap card density. Card grids show ≤ 12 cards. If a project has 50 dependencies, render them as a .styled-table instead of a card stack. A 50-card grid reads as noise.
5
Cap copy length. Section descriptions ≤ 140 chars. Card descriptions ≤ 80 chars. Anything longer belongs in the related .md file, not the HTML.

Three phases. One run.

founder-docs doesn't ask questions or make assumptions. It reads your codebase, then writes.

PHASE 01

Discover

Reads package.json, schema files,
env examples, route files,
config, components, and looks
for a project logo.
Builds a complete picture first.

Routes, tables, env vars, dependencies, brand colors, project logo. All extracted before writing a single word.

PHASE 02

Write

Generates strategy.md, setup.md,
and README.md from the discovered
data. Skips irrelevant sections.
Populates Competitors + Roadmap
from product-space reasoning and
real code signals.

Templates adapt to what exists. No revenue section if there's no monetization. No fabricated dependencies. Only what's in the codebase.

PHASE 03

Polish

Generates 2 self-contained HTML
pages in docs/.
Light + dark theme toggle.
Project logo inlined in the topnav.
No build step. No dependencies.
Open and ship.

Mobile-responsive, interactive (theme toggle, copy buttons, localStorage checklist, scroll spy, clickable file tree). Brand colors applied if detectable.

Roadmap

What's coming after v1. Open to feedback and contributions. Open an issue or PR on GitHub if any of these would unblock your team.

Planned

Visual code-wiki

Per-file mini call-graph in the detail panel: clickable upstream callers and downstream callees, plus bidirectional links between the Flow section and the code-wiki so the two surfaces feel like one tool.

Planned

Multiple design themes

Pick from a small library of design systems at run time: refined dark (current default), warm editorial, mono/zinc minimalist, plus a handful more, each producing a different look without changing the generated content.

Planned

Bring your own design.md

Point the skill at a custom design.md in your project (e.g. docs/design.md) and the generated HTML adopts your tokens, components, and conventions instead of the bundled defaults.

Exploring

Architecture diagrams in Strategy

Embed Mermaid diagrams directly in strategy.md for architecture and data-flow visualizations. Renders inline on GitHub and inside the generated HTML.

Exploring

GitHub Action

A one-line workflow that re-runs founder-docs on every push and commits the refreshed docs. Keeps the "always current" promise without a human in the loop.

Exploring

Auto-generated social cards

Render a real preview image (1200×630 PNG) from the hero, so when you paste the docs link into Twitter, Slack, or Discord, you get a card with the project name, tagline, and brand mark instead of a flat URL.

Exploring

PDF export

Single-file PDF of the combined doc, for handing off to investors, partners, or auditors who don't want to navigate a website.

Install

One line. macOS, Linux, Windows. Then restart Claude Code and run use founder-docs from any project.

npx · recommended
$ npx github:digitalthreadai/founder-docs
# add --force to overwrite an existing install
# restart Claude Code, then from any project:
$ use founder-docs
Prefer git clone?  Click to expand.
git · alternative
$ git clone https://github.com/digitalthreadai/founder-docs.git ~/.claude/skills/founder-docs

The real value

Most projects are underdocumented, not because founders are lazy, but because writing docs while building is a context switch that never happens. founder-docs makes it a 60-second step instead of a 3-hour project.

Run it before you onboard your first contributor, before you raise a round, before you step away for a week. The docs are always current because they're always generated fresh.