Agent skill
stack-default-dotnet-api
Opinionated baseline for .NET HTTP APIs: analyzers/formatting, unit+integration strategy, docker-compose, Makefile targets, and CI wiring.
Install this agent skill to your Project
npx add-skill https://github.com/frostaura/ai.toolkit.gaia/tree/main/.github/skills/stack-default-dotnet-api
SKILL.md
Stack Default: .NET HTTP API
When to use
Use when:
- Repo is a .NET HTTP API and foundations are missing/incomplete
- Bootstrapping a new API
- Preparing for use-case work (docker-first required)
Baseline outcomes
- Formatting/analyzers enforced (lint)
- Makefile provides canonical commands
- docker-compose exists (required for HTTP API use-case work)
- CI runs lint/build/test
- Docs updated for run/test
Preferred tools (default choices)
- Format/lint:
.editorconfig+dotnet format(or established analyzers) - Tests:
dotnet test - Integration: HTTP boundary tests where feasible + curl regression via compose for use cases
Rule: Prefer existing repo conventions if present.
Required files / locations
Makefile.editorconfig.github/workflows/ci.ymldocker-compose.yml+.env.example(required for HTTP API)/docs/testing/how-to-run.md
Make targets (required)
make lint(e.g.,dotnet format --verify-no-changesor analyzer-based)make build(e.g.,dotnet build)make test(e.g.,dotnet test)make up/make down(docker-compose)
Optional:
make test-integration(if repo splits)
Step 1 — Lint/format baseline
- Add
.editorconfigif missing - Add analyzers/format step
- Ensure
make lintfails on violations
Step 2 — Build/test baseline
- Ensure
dotnet buildsucceeds - Ensure
dotnet testruns - If no tests: add minimal unit test project aligned to solution structure
Step 3 — Docker baseline (required)
- Add Dockerfile for API if missing
- Add
docker-compose.yml+.env.example - Ensure
make upbrings API up and it responds
Step 4 — CI wiring
- CI runs
make lint,make build,make test - Ensure SDK version is pinned via
global.jsonif repo policy prefers it
Step 5 — Docs alignment
Update /docs/testing/how-to-run.md:
- Make targets
- how to run compose
- how to run tests
- where API is reachable
Suggested required_gates[]
- Baseline setup:
lint,build,ci - If adding tests: add
unit - If adding compose integration checks: add
integration
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
tasking-and-proof
How the orchestrator must create/manage MCP tasks (todo/doing/done), set required_gates, handle blockers/questions, and record low-context proof for completion.
integration-testing-http
Run curl-style integration checks against the docker-compose stack for HTTP APIs. Required for use-case changes.
spec-consistency
Prevent and repair drift between `/docs` (source of truth), code, tests, CI, and runtime artifacts. Use before marking work done.
gaia-process
End-to-end Gaia SDLC workflow (Repo Explorer → drift/CI fixes → task graph → gated delivery → QA veto → MCP proof). Use for any work in a repo.
stack-default-web-ts
Opinionated baseline for JS/TS web repos: lint/format, tests, Playwright, docker (if HTTP API), Makefile targets, and CI wiring.
manual-regression-api
Manual backend regression via curl-like HTTP checks against the docker-compose stack. Required for API use-case changes (label: curl).
Didn't find tool you were looking for?