lr-ai-docs.any 2026.3.23.1706

dotnet add package lr-ai-docs.any --version 2026.3.23.1706
                    
NuGet\Install-Package lr-ai-docs.any -Version 2026.3.23.1706
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="lr-ai-docs.any" Version="2026.3.23.1706" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="lr-ai-docs.any" Version="2026.3.23.1706" />
                    
Directory.Packages.props
<PackageReference Include="lr-ai-docs.any" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add lr-ai-docs.any --version 2026.3.23.1706
                    
#r "nuget: lr-ai-docs.any, 2026.3.23.1706"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package lr-ai-docs.any@2026.3.23.1706
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=lr-ai-docs.any&version=2026.3.23.1706
                    
Install as a Cake Addin
#tool nuget:?package=lr-ai-docs.any&version=2026.3.23.1706
                    
Install as a Cake Tool

lr-ai-docs

AI-powered project documentation generator using coding agent CLIs (Claude Code, GitHub Copilot, Gemini CLI). Analyzes your .NET project and produces a full set of developer documentation — from quickstart guides to architecture overviews to framework-specific developer guides.

Commands

The tool provides four independent commands. Each can be run separately or combined for a full documentation pass.

apply-agents

Creates or updates AI agent instruction files so coding assistants understand your project:

  • AGENTS.md — Project-level instructions
  • .claude/CLAUDE.md — Claude Code instructions
  • .github/copilot-instructions.md — GitHub Copilot instructions
  • .junie/guidelines.md — JetBrains Junie guidelines

Uses an information-preservation approach: existing customizations are kept, and template content is merged in. The result is also added to the .sln solution file.

lr-ai-docs apply-agents
lr-ai-docs apply-agents --working-dir /path/to/project

apply-dotfiles

Creates or updates project dotfiles with a baseline for .NET projects:

  • .gitignore — Git ignore patterns for .NET builds, IDEs, temp files
  • .gitattributes — Line ending and diff behavior for file types
  • .editorconfig — Code style, indentation, and formatting rules
  • .aiignore — AI tool ignore patterns
  • .dockerignore — Docker build context exclusions
  • .stignore — Syncthing ignore patterns

Uses the same information-preservation approach: existing entries are kept, missing entries from the template are added.

lr-ai-docs apply-dotfiles
lr-ai-docs apply-dotfiles --working-dir /path/to/project

apply-library-devguides

Discovery-based developer guide generation. Scans the project for *.prompt.md sentinel files shipped by framework NuGet source-distribution packages, then for each:

  1. Parses YAML frontmatter (target and description) and relevance criteria from the body
  2. Finds the paired .md template in the same directory
  3. Asks the coding agent to check if the guide is relevant to this project
  4. If relevant, the agent adapts the template with project-specific details and writes it to docs/
  5. If not relevant, the guide is skipped

This replaces the old hardcoded set_name approach — devguides are now driven entirely by what framework packages are installed. Results are added to the .sln solution file.

lr-ai-docs apply-library-devguides
lr-ai-docs apply-library-devguides --working-dir /path/to/project

Sentinel file format (*.prompt.md):

---
target: "40_DevGuide_DatabaseModels.md"
description: "Desired-state database migration system"
---

Check if this project uses it:
- Look for a Migrations/ directory containing C# files
- Check if any class inherits from SchemaDeclaration

apply-standard-docs

Generates standard documentation by prompting the coding agent to deeply inspect the project:

  • docs/10_Quickstart.md — Prerequisites, setup, environment configuration, running the app
  • docs/20_Deployment.md — Environments, CI/CD, infrastructure, rollback procedures
  • docs/80_Architecture.md — Technology stack, project structure, data architecture, integrations
  • README.md — Project overview with links to detailed docs

All generated docs are added to the .sln solution file.

lr-ai-docs apply-standard-docs
lr-ai-docs apply-standard-docs --working-dir /path/to/project

Full documentation pass

To generate everything for a project:

lr-ai-docs apply-agents --working-dir /path/to/project
lr-ai-docs apply-dotfiles --working-dir /path/to/project
lr-ai-docs apply-library-devguides --working-dir /path/to/project
lr-ai-docs apply-standard-docs --working-dir /path/to/project

Options

All commands accept:

Option Description
--working-dir <path> Target project directory. Defaults to current directory.
--agent <name> Coding agent to use: claude, copilot, or gemini. Auto-detected if not specified (prefers claude > copilot > gemini).
--cli-path <path> Path to the coding agent CLI executable. Auto-detected if not specified.

Prerequisites

Installation

dotnet tool install -g lr-ai-docs

Or run directly without installing:

dotnet tool run lr-ai-docs apply-agents

Building from source

git clone <repository-url>
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.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.3.23.1706 132 3/23/2026
2026.3.21.1326 110 3/21/2026
2026.3.20.1543 112 3/20/2026
2026.3.18.2119 110 3/18/2026
2026.3.14.31 133 3/14/2026
2026.3.14.25 132 3/14/2026
2026.3.14.22 134 3/14/2026
2026.3.10.2212 128 3/10/2026
2026.3.10.1736 130 3/10/2026
2026.3.10.1647 125 3/10/2026
2026.3.7.1708 119 3/7/2026
2026.3.7.1651 109 3/7/2026
2026.3.7.1553 107 3/7/2026
2026.3.7.1453 107 3/7/2026
2026.3.7.302 111 3/7/2026
2026.3.7.110 114 3/7/2026
2026.3.7.107 111 3/7/2026
2026.3.7.105 108 3/7/2026
2026.3.7.8 117 3/7/2026
2026.3.6.2354 111 3/6/2026
Loading failed