/dotnet-artisan:dotnet-library-docsfrom dotnet-artisan
Fetches current, version-accurate documentation and code examples for NuGet packages and third-party libraries (Polly, MediatR, Serilog, Npgsql, MassTransit, etc.) via the Context7 HTTP API using curl. Replaces the Context7 MCP server with on-demand lookups.
Ships in dotnet-artisan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Look up current documentation for a library when training-data knowledge may
be stale (new major versions, renamed APIs, changed defaults). This replaces
the Context7 MCP server the plugin used to start in every session: the same
Context7 service, called with curl only when needed, so no Node process,
no npx download, and no tool schemas in the startup context.
microsoftdocs-mcp server (Microsoft Learn) shipped with this plugin; routing via [skill:dotnet-advisor].Requires curl and network access. In a sandbox with network off (Codex
workspace-write default, some Claude Code permission modes) the harness
will ask to allow the request; that one approval covers the lookup.
Resolve the library id (skip if the user gave one like /app-vnext/polly):
curl -fsS "https://context7.com/api/v1/search?query=polly" |
python3 -c 'import json,sys; [print(r["id"], "|", r["title"], "| trust", r.get("trustScore"), "| snippets", r.get("totalSnippets")) for r in json.load(sys.stdin)["results"][:5]]'
Prefer the official repository id (/<org>/<repo>) with a high trust
score over mirrors (/websites/..., DeepWiki). If nothing fits, say so
rather than guessing.
Fetch docs for one topic, trimmed to what you need:
curl -fsS "https://context7.com/api/v1/app-vnext/polly?type=txt&topic=retry&tokens=3000"
Drop the leading / of the id in the path. topic narrows the result;
tokens caps its size (3000 is usually enough; raise to 8000-10000 only
for broad questions). A version-specific id (/org/repo/v8.4.0, shown in
search results when available) pins a release.
Cite the library id you used and say which version the docs cover when the answer depends on it.
Use one search and one or two fetches per question; do not crawl.
Anonymous requests work but are rate limited. If a CONTEXT7_API_KEY
environment variable is set, send it - never print it or write it to a file:
curl -fsS -H "Authorization: Bearer $CONTEXT7_API_KEY" "https://context7.com/api/v1/search?query=polly"
On HTTP 429 without a key, tell the user the anonymous limit was hit and that a free key from context7.com raises it.
Prefer the MCP server instead (for example, a client that cannot run shell
commands)? Add it to your own client config:
npx -y @upstash/context7-mcp@<version> (Claude Code:
claude mcp add context7 -s user -- npx -y @upstash/context7-mcp@<version>;
Codex: codex mcp add context7 -- npx -y @upstash/context7-mcp@<version>).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/dotnet-advisorRoutes .NET/C# requests to the correct domain skill and loads coding standards as baseline for all code paths. Determines whether the task needs API, UI, testing, devops, tooling, or debugging guidance based on prompt analysis and project signals, then invokes skills in the right order. Always invoked after `using-dotnet` detects .NET intent. Do not use for deep API, UI, testing, devops, tooling, or debugging implementation guidance./dotnet-apiBuilds ASP.NET Core APIs, EF Core data access, gRPC, SignalR, and backend services with middleware, security (OAuth, JWT, OWASP), resilience, messaging, OpenAPI, .NET Aspire, Semantic Kernel, HybridCache, YARP reverse proxy, output caching, Office documents (Excel, Word, PowerPoint), PDF, and architecture patterns. Spans 32 topic areas. Do not use for UI rendering patterns or CI/CD pipeline authoring./dotnet-csharpnpx claudepluginhub novotnyllc/dotnet-artisan --plugin dotnet-artisanOther plugins' skills for the same job