| name | invoke-csharp-engineer |
| description | Invoke the csharp-typed-engineer worker to design, implement, and verify C# changes within typed repository boundaries. Applies CSharpier -> .NET Analyzers -> Nullable Analysis -> MSTest toolchain, the 1-3 production-file small-path budget, and zero-regression quality gates. |
Implement C# Skill
This direct-use wrapper delegates C# implementation work to the csharp-typed-engineer worker. Use this entry point when a prompt needs a scoped C# change that must stay inside the typed engineer's guardrails.
When to Use This Skill
Use this skill when:
- The user requests a C# code change, bug fix, refactor, or test addition.
- Estimated scope fits the small path (1-3 production files plus corresponding tests).
- The toolchain (CSharpier, .NET Analyzers, Nullable Analysis, MSTest) can be run in the current environment, or the user has explicitly authorized an unverified plan-only response.
If the estimated scope exceeds the small-path budget, this skill defers to the orchestrated flow via csharp-change-budget-router instead of proceeding directly.
Inputs
- Objective statement (what the change must accomplish).
- Files or entrypoints in scope.
- Constraints, including public APIs that must be preserved.
- Optional approved plan. If none is supplied, the worker delegates plan authoring to
atomic_planner before any edits.
- Optional budget override in the form
budget: prod=<N>, test=<M> subject to repo policy compliance.
Output Paths
- C# source and test files within the approved scope.
- Baseline evidence under
<FEATURE>/evidence/baseline/<timestamp>/ and post-change evidence under <FEATURE>/evidence/qa-gates/<timestamp>/ per evidence-and-timestamp-conventions.
- This location is canonical per evidence-and-timestamp-conventions and is not overridable. See
.agents/skills/evidence-and-timestamp-conventions/SKILL.md for the canonical evidence path authority.
- Plan artifacts under the active feature folder when the task is feature-scoped.
Required Reporting Block
The worker must return the following reporting block:
- Scope (exact file list).
- Baseline (CSharpier, .NET Analyzers, Nullable Analysis, MSTest, coverage status).
- Plan (design and test strategy).
- Diffs (patch-style or full-file replacements).
- QA Gate Results (CSharpier, .NET Analyzers, Nullable Analysis, MSTest, and coverage deltas, or clearly marked unverified).
Worker Routing
- Worker:
csharp-typed-engineer
Preloaded Contracts
The worker operates under the following preloaded skills and rules:
policy-compliance-order
csharp-change-budget-router
atomic-plan-contract
csharp-qa-gate
acceptance-criteria-tracking
feature-promotion-lifecycle
remediation-handoff-atomic-planner
evidence-and-timestamp-conventions
.agents/skills/csharp/SKILL.md (path-scoped for **/*.cs and **/*.csproj)
AGENTS.md
AGENTS.md
AGENTS.md