dotnet dev tools

    1

    Compile, verify, and document C# ASP.NET Core 10 code using the real .NET SDK and local API indexes.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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() and app.UseOutputCache() to ensure the middleware is properly configured.
    • Verified that the code compiles successfully using the .NET 10 SDK.

    Next steps

    • Verify the TimeSpan duration meets your specific caching requirements.
    • Add additional CacheOutput policy configurations like SetVaryByQuery if needed.
    • Run dotnet run to 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 CS0246 and CS0103 errors.
    • 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

    1. Connect the provided MCP server to your agent (Claude Code, Cursor, or VS Code).
    2. Develop by asking the agent to write or fix ASP.NET Core code.
    3. Verify as the agent automatically runs compile_csharp and list_members to validate the logic.
    4. 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 CS1061 errors 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.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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 forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed today

    • Free with an Agensi account

    Requires

    Dotnet Dev MCP
    Python
    Git

    Permissions

    Terminal / Shell
    Write Files
    Network Access
    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill connects your AI agent directly to the real .NET 10 SDK, allowing it to verify C# code via the actual compiler and official API indexes to eliminate common hallucinations like fake extension methods.

    The skill requires the .NET 10 SDK and Python 3.12 installed on your machine, as it operates as an MCP server to provide real-time compilation and documentation lookups.

    It is compatible with any AI agent or IDE that supports the Model Context Protocol (MCP), including Claude Code, Cursor, and VS Code.

    The current version is optimized for single-file 'Program.cs' projects and the standard ASP.NET Core shared framework; it does not currently support external NuGet packages.

    You receive the MCP server files, instructions for connecting the server to your preferred agent, and access to the local documentation index for ASP.NET Core 10.

    The skill uses a local index of official ASP.NET Core 10 documentation, ensuring your agent provides patterns and syntax specific to the latest .NET 10 features like Minimal APIs and Blazor.

    New in APIs & Backend