aspnet-core
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on…
Use `graphify-dotnet` to generate codebase knowledge graphs, architecture snapshots, and exportable repository maps from .NET or polyglot source trees, with optional AI-enriched semantic relationships. USE FOR: graphify commands; graph JSON, HTML, SVG, Cypher, Markdown, and
$ npx -y skills add managedcode/dotnet-skills --skill graphify-dotnet --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/graphify-dotnetContext preview
The summary Claude sees to decide when to auto-load this skill.
Use `graphify-dotnet` to generate codebase knowledge graphs, architecture snapshots, and exportable repository maps from .NET or polyglot source trees, with optional AI-enriched semantic relationships. USE FOR: graphify commands; graph JSON, HTML, SVG, Cypher, Markdown, and
name: graphify-dotnet description: "Use `graphify-dotnet` to generate codebase knowledge graphs, architecture snapshots, and exportable repository maps from .NET or polyglot source trees, with optional AI-enriched semantic relationships. USE FOR: graphify commands; graph JSON, HTML, SVG, Cypher, Markdown, and Obsidian exports; repository map and architecture snapshot generation. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made." compatibility: "Requires the `graphify-dotnet` global tool and a .NET 10 SDK; AST-only extraction works with zero model setup, while semantic enrichment needs Azure OpenAI, Ollama, or GitHub Copilot SDK."
1. Confirm the problem is structural discovery, architecture review, onboarding, or graph export. If the user only needs one symbol lookup, one bug fix, or one dependency trace, normal repo search and tests are cheaper than a full graph run. 2. Install and verify the tool before doing anything else:
dotnet --version dotnet tool install -g graphify-dotnet graphify --version
3. Start with a bounded AST-only run so the first output is fast and deterministic:
graphify run ./src --format json,html,report --provider none --verbose
4. Review outputs in this order:
5. Add AI enrichment only when inferred relationships or conceptual grouping matter more than strict syntax-only structure. 6. Expand export formats for the real consumer:
7. Use `watch` for iterative architecture work, but rerun a clean `run` periodically because deletes and renames can leave stale references behind. 8. Run `benchmark` only after you already trust the generated `graph.json`; its value is comparative token-reduction evidence, not billing-grade accounting.
flowchart LR
A["Repository or subtree"] --> B["graphify run / watch"]
B --> C{"AI provider configured?"}
C -->|No| D["AST extraction only"]
C -->|Yes| E["AST + semantic extraction"]
D --> F["Knowledge graph + Louvain communities"]
E --> F
F --> G{"Output target"}
G -->|Human review| H["graph.html + GRAPH_REPORT.md"]
G -->|Automation| I["graph.json"]
G -->|Static docs| J["graph.svg"]
G -->|Knowledge base| K["obsidian/ or wiki/"]
G -->|Graph queries| L["graph.cypher for Neo4j"]graphify run . --format html,report --output ./artifacts/graph
Use this when you need a fast human-readable map of the current repo. Read `./artifacts/graph/GRAPH_REPORT.md` first, then open `./artifacts/graph/graph.html`.
graphify run ./src --format json,neo4j,svg,obsidian,wiki --output ./graphify-out
Use this when the graph will be consumed by scripts, Neo4j, docs, or knowledge-base tooling instead of only a browser.
graphify benchmark ./graphify-out/graph.json
Treat this as a heuristic efficiency check for AI-context workflows after the graph already exists.
Choose the provider by operational constraint first, not by model hype:
graphify resolves settings in this priority order:
1. CLI arguments 2. user secrets 3. environment variables 4. `appsettings.local.json` 5. `appsettings.json`
Use `graphify config` for the interactive wizard and `graphify config show` to inspect the resolved effective settings.
Common environment-variable patterns:
# AST-only explicit override export GRAPHIFY__Provider=None # Ollama export GRAPHIFY__Provider=Ollama export GRAPHIFY__Ollama__Endpoint=http://localhost:11434 export GRAPHIFY__Ollama__ModelId=llama3.2 # Azure OpenAI export GRAPHIFY__Provider=AzureOpenAI export GRAPHIFY__AzureOpenAI__Endpoint=https://myresource.openai.azure.com/ export GRAPHIFY__AzureOpenAI__ApiKey=... export GRAPHIFY__AzureOpenAI__DeploymentName=gpt-4o # GitHub Copilot SDK export GRAPHIFY__Provider=CopilotSdk export GRAPHIFY__CopilotSdk__ModelId=gpt-4.1
Stop explaining .NET to your AI. Start building. We've all been there: asking Claude to use Entity Framework, only to get EF6 patterns in a .NET 8 project. Explaining to Copilot that Blazor Server and Blazor WebAssembly aren't the same thing.
Repo: managedcode/dotnet-skills
Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on…
Build, upgrade, and operate Aspire 13.5.x C# or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing,…
Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns. USE FOR:…
Build and review Blazor applications across server, WebAssembly, web app, and hybrid scenarios with correct component design, state flow, rendering, and…
Maintain or migrate EF6-based applications with realistic guidance on what to keep, what to modernize, and when EF Core is or is not the right next step. USE…
Design, tune, or review EF Core data access with proper modeling, migrations, query translation, performance, and lifetime management for modern .NET…