dotnet-inspect
БесплатноБез исполняемых скриптовНе проверенQuery .NET APIs across NuGet packages, platform libraries, and local files. Search for types, list API surfaces, compare and diff versions, find extension…
от NikiforovAll★ 144 звезды на GitHubОб этом скилле
dotnet-inspect
Query .NET library APIs — the same commands work across NuGet packages, platform libraries (System., Microsoft.AspNetCore.), and local .dll/.nupkg files.
Quick Decision Tree
- Code broken? →
diff --package [email protected]first, thenmember --oneline - Need API surface? →
member Type --package Foo --oneline(token-efficient) - Need signatures? →
member Type --package Foo -m Method(default shows full signatures + docs) - Need source/IL? →
member Type --package Foo -m Method -v:d(adds Source, Lowered C#, IL) - Need constructors? →
member 'Type<T>' --package Foo -m .ctor(use<T>not<>) - Need all overloads? →
member Type --package Foo --select(showsName:Nindices)
When to Use This Skill
- "What types are in this package?" —
typediscovers types (terse),findsearches by pattern - "What's the API surface?" —
typefor discovery,memberfor detailed inspection (docs on) - "What changed between versions?" —
diffclassifies breaking/additive changes - "This code uses an old API — fix it" —
diffthe old..new version, thenmember --onelineto see the new API - "What extends this type?" —
extensionsfinds extension methods/properties - "What implements this interface?" —
implementsfinds concrete types - "What does this type depend on?" —
dependswalks the type hierarchy upward - "What version/metadata does this have?" —
packageandlibraryinspect metadata - "Show me something cool" —
demoruns curated showcase queries
Key Patterns
Use --oneline as the default for scanning — it works on type, member, find, diff, and implements:
dnx dotnet-inspect -y -- member JsonSerializer --package System.Text.Json --oneline # scan members
dnx dotnet-inspect -y -- type --package System.Text.Json --oneline # scan types
dnx dotnet-inspect -y -- diff --package [email protected] --oneline # triage changes
Use --shape to understand a type's hierarchy and surface at a glance:
dnx dotnet-inspect -y -- type 'HashSet<T>' --platform System.Collections --shape
Use diff first when fixing broken code — --oneline for triage, then full detail on specific types:
dnx dotnet-inspect -y -- diff --package [email protected] --oneline # what changed?
dnx dotnet-inspect -y -- diff -t Command --package [email protected] # detail on Command
dnx dotnet-inspect -y -- member Command --package [email protected] --oneline # new API surface
Search Scope
Search commands (find, extensions, implements, depends) use scope flags:
- (no flags) — platform frameworks + Microsoft.Extensions.AI
--platform— all platform frameworks--extensions— curated Microsoft.Extensions.* packages--aspnetcore— curated Microsoft.AspNetCore.* packages--package Foo— specific NuGet package (combinable with scope flags)
type, member, library, diff accept --platform <name> as a string for a specific platform library.
Command Reference
| Command | Purpose |
|---|---|
type |
Discover types — terse output, no docs, use --shape for hierarchy |
member |
Inspect members — docs on by default, supports dotted syntax (-m Type.Member) |
find |
Search for types by glob pattern across any scope |
diff |
Compare API surfaces between versions — breaking/additive classification |
extensions |
Find extension methods/properties for a type |
implements |
Find types implementing an interface or extending a base class |
depends |
Walk the type dependency hierarchy upward (interfaces, base classes) |
package |
Package metadata, files, versions, dependencies, search for NuGet discovery |
library |
Library metadata, symbols, references, dependencies |
demo |
Run curated showcase queries — list, invoke, or feeling-lucky |
Output Limiting
Do not pipe output through head, tail, or Select-Object. The tool has built-in line limiting that preserves headers and formatting:
dnx dotnet-inspect -y -- member JsonSerializer --package System.Text.Json --oneline -10 # first 10 lines
dnx dotnet-inspect -y -- find "*Logger*" -n 5 # first 5 lines
dnx dotnet-inspect -y -- member JsonSerializer --package System.Text.Json -v:q -s Methods # select specific section
-n Nor-N— line limit, likehead. Keeps headers, truncates cleanly.-s Section— show only a specific section (glob-capable). Use-salone to list available sections.-v:q— quiet verbosity for compact summary output.
Key Syntax
- Generic types need quotes:
'Option<T>','IEnumerable<T>' - *Use
<T>not<>
Установить dotnet-inspect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dotnet-inspect?
Query .NET APIs across NuGet packages, platform libraries, and local files. Search for types, list API surfaces, compare and diff versions, find extension methods and implementors. Use whenever you need to answer questions about .NET library contents.
Как установить скилл dotnet-inspect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dotnet-inspect запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic