lr-ai-docs 2026.3.7.302

lr-ai-docs

AI-powered project documentation generator using Claude Code. Analyzes your .NET project and produces a full set of developer documentation — from quickstart guides to architecture overviews to framework-specific developer guides.

How it works

The tool runs Claude Code against your project in five phases:

  1. Agent instruction files — Creates or updates AGENTS.md, .claude/CLAUDE.md, .github/copilot-instructions.md, and .junie/guidelines.md so AI coding assistants understand your project. Existing customizations are preserved and merged with template content.

  2. Standard documentation — Generates docs by prompting Claude to deeply inspect your project:

    • 10_Quickstart.md — Prerequisites, setup, environment configuration, running the app
    • 20_Deployment.md — Environments, CI/CD, infrastructure, rollback procedures
    • 80_Architecture.md — Technology stack, project structure, data architecture, integrations
  3. Template-based developer guides — Fills in pre-written templates with project-specific details. Which templates are applied depends on the documentation set (see below).

  4. Variant template selection — For topics where multiple architectural patterns exist (e.g. store-based vs API-based Blazor grids), Claude inspects your code and picks the matching variant.

  5. Solution integration — Adds all generated docs to your .sln file and creates/updates the project README.md.

All generated files are placed in a docs/ directory. At the end of each run, the total Claude API cost is reported.

Documentation sets

Set Target Includes
console Console apps, background workers, agents Agent instructions + standard docs
api ASP.NET Core APIs Everything in console + database models and data access guides
blazor Blazor applications Everything in api + component patterns, bindings/events, and grid page guides

Installation

Requires .NET 10 SDK and a working Claude Code installation.

dotnet tool install -g lr-ai-docs

Usage

# Apply a documentation set to the current directory
lr-ai-docs apply-set console
lr-ai-docs apply-set api
lr-ai-docs apply-set blazor

# Specify a target directory
lr-ai-docs apply-set blazor --working-dir /path/to/project

# Use a specific Claude CLI binary
lr-ai-docs apply-set api --claude-cli /path/to/claude

Or run directly without installing:

dotnet tool run lr-ai-docs apply-set console

Building from source

git clone https://github.com/AiDocs/lr-ai-docs.git   # adjust URL as needed
cd lr_ai_docs
dotnet build AiDocs

To pack and publish the NuGet package:

./pack-cli.sh

This sets the package version from the current timestamp (YYYY.MM.DD.HHMM) and pushes to the configured NuGet feeds.

This package has no dependencies.

Version Downloads Last updated
2026.3.23.1706 2 03/23/2026
2026.3.21.1326 1 03/21/2026
2026.3.20.1543 2 03/20/2026
2026.3.18.2119 2 03/18/2026
2026.3.14.31 2 03/14/2026
2026.3.14.25 2 03/14/2026
2026.3.14.22 2 03/14/2026
2026.3.10.2212 3 03/10/2026
2026.3.10.1736 4 03/10/2026
2026.3.10.1647 3 03/10/2026
2026.3.7.1708 3 03/07/2026
2026.3.7.1651 3 03/07/2026
2026.3.7.1553 3 03/07/2026
2026.3.7.1453 2 03/07/2026
2026.3.7.302 3 03/07/2026
2026.3.7.110 4 03/07/2026
2026.3.7.107 4 03/07/2026
2026.3.7.105 2 03/07/2026
2026.3.7.53 3 03/06/2026
2026.3.7.52 2 03/06/2026
2026.3.7.40 3 03/06/2026
2026.3.7.8 2 03/07/2026
2026.3.6.2354 2 03/06/2026