- Home
- Skills
- APIs & Backend
- dotnet dev tools
dotnet dev tools
Compile, verify, and document C# ASP.NET Core 10 code using the real .NET SDK and local API indexes.
Free
Works with the AI Agents you already use
dotnet dev tools
Example session with this skill installed
Fix this code: app.MapGet("/", () => "Hello").CacheOutput(p => p.WithDuration(10));
- Read your context and instructions
- Compiled the dotnet dev tools
I attempted to compile the provided code and encountered a CS1061 error. The OutputCachePolicyBuilder does not contain a definition for WithDuration. After inspecting the available members for that type, I have updated the code to use the correct Expire method.
Fixed ASP.NET Core Program.cs
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOutputCache();
var app = builder.Build();
app.UseOutputCache();
app.MapGet("/", () => "Hello")
.CacheOutput(p => p.Expire(TimeSpan.FromSeconds(10)));
app.Run();
Changes made:
- Replaced the hallucinated
.WithDuration(10)method with the valid.Expire(TimeSpan.FromSeconds(10))API. - Added
builder.Services.AddOutputCache()andapp.UseOutputCache()to ensure the middleware is properly configured. - Verified that the code compiles successfully using the .NET 10 SDK.
Next steps
- Verify the
TimeSpanduration meets your specific caching requirements. - Add additional
CacheOutputpolicy configurations likeSetVaryByQueryif needed. - Run
dotnet runto test the endpoint locally.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop wrestling with LLMs that hallucinate C# extension methods and missing namespaces. Standard models often invent APIs like WithDuration or forget essential using directives, leading to a "fix-and-fail" loop that wastes your time. This skill integrates directly with the .NET 10 SDK to provide a grounded development environment where code is verified before it is presented to you.
What it does
- Verify compilation by running the real .NET 10 compiler on code before answering.
- Lookup namespaces for types or extension methods to eliminate
CS0246andCS0103errors. - Inspect members of any ASP.NET Core or Microsoft.Extensions type to find real method names.
- Search documentation using a local index of official ASP.NET Core 10 docs for Blazor, MVC, and Fundamentals.
- Identify pitfalls by checking code against a reference of common runtime errors like middleware ordering and scoped service issues.
How it works
- Connect the provided MCP server to your agent (Claude Code, Cursor, or VS Code).
- Develop by asking the agent to write or fix ASP.NET Core code.
- Verify as the agent automatically runs
compile_csharpandlist_membersto validate the logic. - Iterate based on real compiler feedback and documentation citations provided in the response.
Frameworks & tools
Built for C# and ASP.NET Core 10. It requires the .NET 10 SDK and a local MCP server running on Python 3.12.
Why this beats prompting it yourself
Generic prompts cannot access your local compiler or a real-time index of the .NET 10 API. This skill replaces "best guesses" with actual build results, ensuring the code you copy into your IDE actually works.
Use cases
- Fix stubborn
CS1061errors where the agent keeps suggesting non-existent methods. - Scaffolding new Minimal APIs with correct middleware order and
Results<T>return types. - Researching Blazor or MVC patterns using verified passages from official documentation.
- Debugging top-level statement errors and implicit namespace conflicts.
Known limitations
Supports single-file Program.cs projects only. Does not support external NuGet packages beyond the standard ASP.NET Core shared framework. list_members shows names only, not full signatures.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.
Supports single-file Program.cs only. No custom NuGet packages. Requires local .NET 10 SDK and Python 3.12 setup. list_members provides names but not full method signatures.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
- Dotnet Dev MCP
Python
Git