Skip to content

Skill to explore a NuGet package API (offline, from local cache) #15041

Description

@AbhitejJohn

Transferred from dotnet/skills#981 — originally filed by @verdie-g.

When using a NuGet package, it would be useful for an AI agent to explore its API (including XML docs) without relying solely on LSP. The proposal outlines a tiered approach:

  1. Locate the package/type in the local NuGet cache (~/.nuget/packages/)
  2. Read shipped XML docs next to the DLL
  3. Enumerate public surface via reflection
  4. Resolve real source files via Source Link embedded in PDBs
  5. Shallow-clone the source repo as a last resort

A full skill draft and a download-sourcelink.cs helper script are included in the original issue.

Credit to @verdie-g for the detailed proposal and implementation sketch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions