# autodesk-platform-services/dll2llm architecture

> Architecture diagram of the GitHub repository autodesk-platform-services/dll2llm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/autodesk-platform-services/dll2llm
- Repository: https://github.com/autodesk-platform-services/dll2llm

## Overview

dll2llm is a command-line tool that turns managed .NET assemblies into Agent Skill documentation. The documented workflow accepts assembly paths and options, reflects public API types and members, enriches descriptions from XML documentation, writes a skill folder, and can optionally install it. Program.cs is the only core source file; the README documents the stages, while the excerpts do not show their full internal call structure.

Main entry points: [`Program.cs`](https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs) (CLI parsing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_input["Inputs"]
  node_cli["CLI parsing<br/>[Program.cs]"]
  node_assemblies["Managed assemblies"]
  node_xml["XML documentation"]
end

subgraph group_generation["Skill generation"]
  node_reflection["API reflection<br/>[Program.cs]"]
  node_skillwriter["Skill writer<br/>[Program.cs]"]
end

subgraph group_delivery["Skill delivery"]
  node_skillfiles["Skill folder"]
  node_installer["Skill installer<br/>[Program.cs]"]
end

node_user(("CLI user"))
node_agentdir["Agent skills directory"]

node_user -->|"provides arguments"| node_cli
node_cli -->|"accepts paths"| node_assemblies
node_cli -->|"starts generation"| node_reflection
node_reflection -->|"reflects types"| node_assemblies
node_cli -.->|"accepts optional docs"| node_xml
node_skillwriter -->|"uses descriptions"| node_xml
node_reflection -->|"formats API"| node_skillwriter
node_skillwriter -->|"writes skill files"| node_skillfiles
node_cli -->|"enables optional install"| node_installer
node_installer -->|"copies folder"| node_skillfiles
node_installer -->|"installs into"| node_agentdir

click node_cli "https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs"
click node_reflection "https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs"
click node_skillwriter "https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs"
click node_installer "https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cli,node_assemblies,node_xml,node_user toneBlue
class node_reflection,node_skillwriter toneAmber
class node_skillfiles,node_installer toneMint
class node_agentdir toneIndigo
```

## Components

### Inputs

- [CLI parsing](https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs): `Program.cs`
- **Managed assemblies**
- **XML documentation**

### Skill generation

- [API reflection](https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs): `Program.cs`
- [Skill writer](https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs): `Program.cs`

### Skill delivery

- **Skill folder**
- [Skill installer](https://github.com/autodesk-platform-services/dll2llm/blob/main/Program.cs): `Program.cs`

### Other components

- **CLI user**
- **Agent skills directory**

## Connections

- CLI user → CLI parsing: provides arguments (evidence: `README.md`)
- CLI parsing → Managed assemblies: accepts paths (evidence: `README.md`)
- CLI parsing → API reflection: starts generation (evidence: `README.md`)
- API reflection → Managed assemblies: reflects types (evidence: `README.md`)
- CLI parsing → XML documentation: accepts optional docs (evidence: `README.md`)
- Skill writer → XML documentation: uses descriptions (evidence: `README.md`)
- API reflection → Skill writer: formats API (evidence: `README.md`)
- Skill writer → Skill folder: writes skill files (evidence: `README.md`)
- CLI parsing → Skill installer: enables optional install (evidence: `README.md`)
- Skill installer → Skill folder: copies folder (evidence: `README.md`)
- Skill installer → Agent skills directory: installs into (evidence: `README.md`)
