
dotnet-toolkit
Build and maintain .NET web apps, APIs, and Blazor front ends.
- version
- 0.1.2
- GitHub stars
- 347
Install
/plugin install dotnet-toolkit@khanelinix-ai-toolsRun it inside Claude Code after adding the marketplace with /plugin marketplace add khaneliman/khanelinix.
Contents
Discovered from sourceSkills 1
.NET Toolkit
Route .NET engineering work through repository evidence, then load only the reference needed for the current decision.
Guidance targets .NET 10 and C# 14. References mark a rule that does not hold on net8.0 rather than assuming every repository has upgraded.
Start Here
- Read contributor instructions, then run
scripts/project-context.py <path>for a bounded inventory. It reports target frameworks, SDK kinds, central package management, resolved package versions, test runner, and Blazor hosting and render mode without restoring or building. Read tooling.md for its limits. - Treat the inventory as evidence for routing, not as an architectural verdict. Read the call sites before changing a boundary.
- Preserve the repository's target frameworks, analyzer severity, nullable setting, and package-version policy unless the user asks to change them.
- Pick one primary mode below. Load another reference only when the work crosses that boundary.
Routing
- Blazor: render modes, prerendering, circuits, static SSR forms, component state, and interactivity boundaries. Read blazor.md.
- HTTP APIs and hosting: minimal APIs versus controllers, OpenAPI, error handling, options and DI registration, resilience, and background services. Read web-api.md.
- Data access: EF Core context lifetime, query shape, saving, migrations, and provider behavior. Read data-access.md.
- Async and lifetime: blocking calls, cancellation, disposal, service lifetimes, and captive dependencies. Read async-and-lifetime.md.
- Testing: framework and assertion selection, integration hosts, bUnit, and coverage. Read testing.md.
- Tooling and verification: SDK and MSBuild inventory, central package management, test runner selection, and which commands to run. Read tooling.md.
- Security: authentication flows, antiforgery, content security policy, data protection, and secret handling. Read security.md.
- Deployment and performance: containers, publish modes, garbage collection, caching, and Blazor Server scale. Read deployment-and-performance.md.
- Version migration: what changed across net8.0, net9.0, and net10.0, and which frameworks are out of support. Read version-deltas.md.
Core Rules
- Derive version-sensitive APIs from the inventory and matching official docs. Never silently rewrite code to the newest release.
- Detect the test runner before choosing test flags. Microsoft.Testing.Platform
is opt-in through
global.json, not an SDK default, and it takes different coverage arguments than VSTest. - Read the resolved package version before recommending an upgrade. Assertion and mocking packages in this ecosystem have changed licensing and supply-chain terms between major versions.
- Treat a service lifetime as a correctness constraint. Blazor interactive server scopes last for the whole circuit, so request-scoped reasoning does not transfer.
- Prefer repository-native validation commands. Use the commands in tooling.md only when they match project policy.
- Report which claims the inventory established and which remain assumptions.
Cross-Skill Boundaries
- Use
memory-profilerfor leak, out-of-memory, or heap-profile work. - Use
performance-forensicsfor measured latency or throughput diagnosis. - Use
security-toolkitfor an explicit security audit or threat model. - Use
typescript-best-practicesfor the browser-side code of a hosted app. - Use
git-toolkitfor commit structure and history operations.
Sponsors
Details
- Marketplace
- khaneliman/khanelinix
- Source
- modules/common/ai-tools/skills/dotnet-toolkit
- Author
- khaneliman
- Category
- Developer Tools
More from khaneliman/khanelinix
All 43- engineering-principlesv0.1.22
- engineering-workflowv0.1.27
- figure-it-outv0.1.10
- git-toolkitv0.1.15
- github-toolkitv0.1.33
- howv0.1.7
- interrogatev0.1.10
- jj-toolkitv0.1.8
- lua-toolkitv0.2.0
- mcp-builderv0.1.6
- memory-profilerv0.1.6
- microsoft-teamsv0.1.0
- nix-toolkitv0.4.12
- okf-memoryv0.1.6
- performance-forensicsv0.1.4
- planning-with-filesv0.1.9
- program-orchestrationv0.1.5
- recallv0.1.7
- requirements-interviewv0.1.4
- researchv0.1.3
- rust-toolkitv0.1.6
- sarif-toolkitv0.1.5
- security-toolkitv0.1.7
- show-me-your-workv0.1.7