dotnet-csrun

Installation
SKILL.md

Executable C# evidence with csrun

Make the smallest complete example, execute it through csrun, and share the exact program that ran. Use .NET/C# for substantive supporting logic and PowerShell 7 for orchestration. Never substitute another execution engine or create a competing manifest format.

Assess standalone suitability first. Repository-backed integration examples are a separate execution strategy, outside csrun manifest v1: preserve the original application/test graph and direct documentation work to dotnet-docfx-digest's one-shot repository guidance. Do not stop at source links when a maintained targeted test can be executed in one pinned-snapshot block. Do not manufacture a csrun-compatible approximation, add multi-project fields, or claim repository execution is isolated csrun execution. Standalone Native and Docker blocks remain independent and use identical source and dependencies. Both resolve and verify the latest stable csrun release asset at runtime. Docker supplies the SDK and PowerShell and executes that verified asset.

Choose the intention

Logical command Authorized behavior
create Construct a new complete console sample or genuine xUnit v3 test, execute it, and deliver both transports.
verify Inspect and execute existing source without editing it; report defects and limitations.
repair Establish intent, preserve failure evidence, make the smallest semantics-preserving correction, execute, and deliver both transports.
audit Discover and classify examples within the specified scope; read-only unless repair is explicitly requested or already authorized by the parent workflow.

These are agent intentions, not binary commands or manifest fields. Infer a bare invocation from context: existing source plus “does it work?” means verify; a request for a new example means create. audit --fix authorizes relevant sample repairs, not application refactoring. Do not introduce a command parser, menu, or clarification when intent is clear. Read existing samples, repair, and audit for these operations and DocFX composition during documentation work.

Workflow

Installs
1
GitHub Stars
3
First Seen
1 day ago