Dotnet Webapi
dotnet/skills
Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling.
Comprehensive C and .NET development skill for TSP projects.
$ npx skills add querylenshq/ef-querylens --skill tsp-csharp -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install querylenshq/ef-querylens tsp-csharp --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/querylenshq/ef-querylens.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/tsp-csharp .claude/skills/tsp-csharp && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tsp-csharp" agent skill from https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharp into .claude/skills/tsp-csharp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsp-csharp", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharpType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add querylenshq/ef-querylens --skill tsp-csharp -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install querylenshq/ef-querylens tsp-csharp --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/querylenshq/ef-querylens.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/tsp-csharp .agents/skills/tsp-csharp && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tsp-csharp" agent skill from https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharp into .agents/skills/tsp-csharp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsp-csharp", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add querylenshq/ef-querylens --skill tsp-csharp -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install querylenshq/ef-querylens tsp-csharp --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/querylenshq/ef-querylens.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/tsp-csharp .cursor/skills/tsp-csharp && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tsp-csharp" agent skill from https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharp into .cursor/skills/tsp-csharp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsp-csharp", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/querylenshq/ef-querylens.git --path .github/skills/tsp-csharp--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add querylenshq/ef-querylens --skill tsp-csharp -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install querylenshq/ef-querylens tsp-csharp --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/querylenshq/ef-querylens.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/tsp-csharp .gemini/skills/tsp-csharp && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tsp-csharp" agent skill from https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharp into .gemini/skills/tsp-csharp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsp-csharp", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install querylenshq/ef-querylens tsp-csharpInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add querylenshq/ef-querylens --skill tsp-csharp -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/querylenshq/ef-querylens.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/tsp-csharp .github/skills/tsp-csharp && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tsp-csharp" agent skill from https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharp into .github/skills/tsp-csharp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsp-csharp", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add querylenshq/ef-querylens --skill tsp-csharp -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install querylenshq/ef-querylens tsp-csharp --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/querylenshq/ef-querylens.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/tsp-csharp .opencode/skills/tsp-csharp && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tsp-csharp" agent skill from https://github.com/querylenshq/ef-querylens/tree/main/.github/skills/tsp-csharp into .opencode/skills/tsp-csharp/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tsp-csharp", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tsp-csharpComprehensive C and .NET development skill for TSP projects.
Tsp Csharp is an agent skill from querylenshq/ef-querylens. Comprehensive C and .NET development skill for TSP projects. Use when writing, reviewing, or debugging C code — covers async/await, EF Core, performance, security, HTTP resilience, Options pattern, middleware, logging, and ASP.NET Core patterns. Trigger for: async, Task, CancellationToken, DbContext, LINQ, Span, Memory, hot path, authentication, authorization, validation, secrets, HttpClient, IOptions, middleware, minimal API, TypedResults, ProblemDetails, Channels, ILogger, Serilog, logging, pagination, entity…
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/_contract.md`, `references/async.md` and `references/ef-core.md`).
It sits in Backend & APIs, covering Async programming, OpenAPI specifications and Database schema design. It works with C#, .NET, ASP.NET Core and OpenAPI. The repository describes itself as: See the SQL EF Core will generate in real-time while you write LINQ. The licence is MIT.
Read from SKILL.md and the folder at commit fe73cf3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tsp Csharp loads about 1.3k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 140 tokens; SKILL.md has 391 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from querylenshq/ef-querylens at commit fe73cf3, republished under its MIT licence (© querylenshq). 391 words, ~1,263 tokens.
.claude/skills/tsp-csharp/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.Target .NET 8+ / C# 12+. Use the reference files below for detailed guidance per domain.
Read the relevant reference(s) based on the current task:
| When working with... | Read |
|---|---|
| Async/await, Tasks, CancellationToken, IAsyncEnumerable, Channels | Async & Concurrency |
| DbContext, LINQ queries, migrations, change tracking, N+1 | Entity Framework Core |
| Hot paths, Span/Memory, pooling, allocations, benchmarking | Performance |
| Auth, secrets, input validation, CORS, rate limiting, middleware | Security |
| Structured logging, Serilog, correlation, severity, masking | Logging |
| Error type | Expected? | Use |
|---|---|---|
| Domain / business rule | Yes | Result<T> / ErrorOr<T> |
| Domain / business rule | No | Exception |
| Infrastructure (DB, network) | — | Exception |
| Need runtime reload? | Per-request scope? | Use |
|---|---|---|
| No | — | IOptions<T> (most common) |
| Yes | Yes | IOptionsSnapshot<T> |
| Yes | No (live + OnChange) | IOptionsMonitor<T> |
| Scenario | Lifetime |
|---|---|
| Default for most services | Scoped |
| Stateless utilities, factories | Transient |
| Thread-safe caches, channels, singletons by design | Singleton |
| Multiple implementations of same interface | Keyed services (.NET 8+) |
| Pattern | Default | Escalate to |
|---|---|---|
| Web entrypoint | Minimal APIs with TypedResults | Controllers when filters/conventions help |
| HTTP results | TypedResults.Ok() + ProblemDetails | Result envelope only when API needs stable error shape |
| Configuration | Options pattern + ValidateOnStart() | IValidateOptions<T> for cross-property validation |
| Outbound HTTP | Typed clients + AddStandardResilienceHandler() | Custom retry/circuit-breaker only when measured |
| Error handling | ProblemDetails (RFC 9457) + UseExceptionHandler() | ErrorOr<T> when failure is expected, not exceptional |
| Concurrency | Channel<T> for producer/consumer with backpressure | SemaphoreSlim, other primitives when channels don't fit |
| Health checks | AddHealthChecks() with liveness + readiness probes | Custom checks for external dependencies |
| Logging | Serilog + message templates + correlation IDs | Custom enrichers/sinks for specialized needs |
[FromQuery], [FromBody], [FromRoute] — no ambiguous model bindingProduces<T>() / [ProducesResponseType] for all response codesProblemDetails for all error responses (4xx and 5xx)| Anti-Pattern | Fix |
|---|---|
new HttpClient() per request | IHttpClientFactory or typed client |
| Manual Polly configuration | AddStandardResilienceHandler() |
Results.Ok() | TypedResults.Ok() (explicit contract) |
Missing ValidateOnStart() | Always add to Options registration |
| Singleton capturing Scoped | IServiceScopeFactory |
.Result / .Wait() in async | await |
| Exceptions for flow control | ErrorOr<T> / Result pattern |
DateTime.Now | DateTime.UtcNow or TimeProvider |
Console.WriteLine | ILogger<T> |
| Silent catch blocks | Log + rethrow or handle explicitly |
Order matters. Follow this sequence:
1. UseExceptionHandler() // Catch everything downstream
2. UseStatusCodePages()
3. UseHttpsRedirection()
4. UseStaticFiles() // If applicable
5. UseRouting() // Before auth
6. UseCors() // After routing, before auth
7. UseRateLimiter()
8. UseAuthentication() // Identify user
9. UseAuthorization() // Check permissions
10. UseOutputCache() // After auth
11. MapEndpoints() // LastAll reference files follow a consistent structure. See _contract.md for details.
© querylenshq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files (references) in .github/skills/tsp-csharp of querylenshq/ef-querylens.
Open the folder on GitHubat commit fe73cf3
Tsp Csharp next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tsp Csharp this skillquerylenshq/ef-querylens | 225 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Dotnet Webapidotnet/skills | 5.6k | 2 repos | ~5.5k | Automated safety check: Pass | MIT | |
| Migrate Dotnet9 To Dotnet10dotnet/skills | 5.6k | 2 repos | ~4.8k | Automated safety check: Pass | MIT | |
| C# and .NET DeveloperJeffallan/claude-skills | 12k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Dotnet APInovotnyllc/dotnet-artisan | 233 | — | ~1.6k | Automated safety check: Pass | MIT | |
| API Breaking Change Detectorgithub/awesome-copilot | 40k | — | ~1.7k | Automated safety check: Pass | MIT |
dotnet/skills
Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling.
dotnet/skills
Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes.
Jeffallan/claude-skills
Guides C# work on .NET 8+: ASP.NET Core APIs, Entity Framework Core data access, Blazor apps and CQRS with MediatR, following a five-step build workflow.
novotnyllc/dotnet-artisan
Builds ASP.NET Core APIs, EF Core data access, gRPC, SignalR, and backend services with middleware, security (OAuth, JWT, OWASP), resilience, messaging, OpenAPI, .NET Aspire, Semantic Kernel…
github/awesome-copilot
Cross-references C Web API controllers/DTOs against their TypeScript/JavaScript consumers (React, Angular, Vue, Svelte, Node.js, or hand-written/auto-generated HTTP clients like Fetch, Axios, NSwag)…
novotnyllc/dotnet-artisan
Baseline C skill loaded for every .NET code path. An agent skill from novotnyllc/dotnet-artisan.
querylenshq/ef-querylens
A skill your agent uses when: creating a release, publishing a version, cutting a release, tagging a release, releasing plugin, release workflow, prepare release, create git tag, create GitHub…
querylenshq/ef-querylens
Comprehensive xUnit testing guide for C projects. An agent skill from querylenshq/ef-querylens.
Works with
Categories
Comprehensive C and .NET development skill for TSP projects. Tsp Csharp is an agent skill from querylenshq/ef-querylens.NET development skill for TSP projects.
Tsp Csharp fits situations like: debugging C code — covers async/await; HTTP resilience; options pattern; ASP.NET Core patterns.
Run `npx skills add querylenshq/ef-querylens --skill tsp-csharp -a claude-code`. Or copy the skill folder (.github/skills/tsp-csharp in querylenshq/ef-querylens) into .claude/skills/tsp-csharp in your project. Claude Code loads it when a task matches its description.
Run `npx skills add querylenshq/ef-querylens --skill tsp-csharp -a codex`. Or copy the skill folder (.github/skills/tsp-csharp in querylenshq/ef-querylens) into .agents/skills/tsp-csharp in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add querylenshq/ef-querylens --skill tsp-csharp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tsp-csharp, .gemini/skills/tsp-csharp, .github/skills/tsp-csharp and .opencode/skills/tsp-csharp in your project.
SKILL.md names no scripts, command-line tools or credentials: Tsp Csharp is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Tsp Csharp is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Tsp Csharp: Dotnet Webapi (dotnet/skills, 5.6k stars), Migrate Dotnet9 To Dotnet10 (dotnet/skills, 5.6k stars), C# and .NET Developer (Jeffallan/claude-skills, 12k stars) and Dotnet API (novotnyllc/dotnet-artisan, 233 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
querylenshq (a GitHub organization) maintains it in querylenshq/ef-querylens, which has 225 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 3, 2026.
Source: querylenshq/ef-querylens on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.