Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

dotnet-apidotnet API 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

2,070

周安装

88

GitHub Stars

204

下载量

725
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dotnet-api(dotnet API 搜索)
来源仓库:https://github.com/novotnyllc/dotnet-artisan
仓库路径:skills/dotnet-api
安装命令:
npx skills add https://github.com/novotnyllc/dotnet-artisan --skill dotnet-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/novotnyllc/dotnet-artisan --skill dotnet-api

简介

dotnet-api 提供 ASP.NET Core API 设计的综合指导,涵盖路由、安全和云原生模式。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要构建 HTTP 端点、参数绑定或 TypedResults 时使用。
  • 通过 GitHub 安装,默认加载 minimal-apis.md 作为核心模式基础,支持垂直切片架构。
  • 使用前应确认请求管道配置和业务语义,避免凭空补字段或假设未定义的接口行为。
  • 适用于需要标准化 API 设计和前后端协作的 .NET 项目,提供可验证的实现模式。

SKILL.md

dotnet-api

Overview

ASP.NET Core APIs, data access, backend services, security, and cloud-native patterns. This consolidated skill spans 32 topic areas. Load the appropriate companion file from references/ based on the routing table below.

Baseline dependency: references/minimal-apis.md defines the core ASP.NET Core Minimal API patterns (route groups, endpoint filters, TypedResults, parameter binding) that apply to most API development tasks. Load it by default when building HTTP endpoints.

Most-shared companion: references/architecture-patterns.md covers vertical slices, request pipelines, error handling, caching, and idempotency patterns used across nearly all ASP.NET Core projects.

Routing Table

TopicKeywordsDescriptionCompanion File
Minimal APIsendpoint, route group, filter, TypedResultsMinimal API route groups, filters, TypedResults, OpenAPIreferences/minimal-apis.md
Middlewarepipeline ordering, short-circuit, exceptionPipeline ordering, short-circuit, exception handlingreferences/middleware-patterns.md
EF Core patternsDbContext, migrations, AsNoTrackingDbContext, AsNoTracking, query splitting, migrationsreferences/efcore-patterns.md
EF Core architectureread/write split, aggregate boundaries, N+1Read/write split, aggregate boundaries, N+1references/efcore-architecture.md
Data access strategyEF Core vs Dapper vs ADO.NET decisionEF Core vs Dapper vs ADO.NET decision matrixreferences/data-access-strategy.md
gRPCproto, code-gen, streaming, authProto definition, code-gen, ASP.NET Core host, streamingreferences/grpc.md
Real-timeSignalR, SSE, JSON-RPC, gRPC streamingSignalR hubs, SSE, JSON-RPC 2.0, scalingreferences/realtime-communication.md
ResiliencePolly v8, retry, circuit breaker, timeoutPolly v8 retry, circuit breaker, timeout, rate limiterreferences/resilience.md
HTTP clientIHttpClientFactory, typed/named, DelegatingHandlerIHttpClientFactory, typed/named clients, DelegatingHandlersreferences/http-client.md
API versioningAsp.Versioning, URL/header/query, sunsetAsp.Versioning.Http/Mvc, URL/header/query, sunsetreferences/api-versioning.md
OpenAPIMS.AspNetCore.OpenApi, Swashbuckle, NSwagMS.AspNetCore.OpenApi, Swashbuckle migration, NSwagreferences/openapi.md
API securityIdentity, OAuth/OIDC, JWT, CORS, rate limitingIdentity, OAuth/OIDC, JWT bearer, CORS, rate limitingreferences/api-security.md
OWASPinjection, auth, XSS, deprecated APIsOWASP Top 10 hardening for.NETreferences/security-owasp.md
Secretsuser secrets, env vars, rotationUser secrets, environment variables, rotationreferences/secrets-management.md
CryptographyAES-GCM, RSA, ECDSA, hashing, key derivationAES-GCM, RSA, ECDSA, hashing, PQC key derivationreferences/cryptography.md
Background servicesBackgroundService, IHostedService, lifecycleBackgroundService, IHostedService, lifecyclereferences/background-services.md
AspireAppHost, service discovery, dashboardAppHost, service discovery, components, dashboardreferences/aspire-patterns.md
Semantic KernelAI/LLM plugins, prompts, memory, agentsAI/LLM plugins, prompt templates, memory, agentsreferences/semantic-kernel.md
Architecturevertical slices, layered, pipelines, cachingVertical slices, layered, pipelines, cachingreferences/architecture-patterns.md
MessagingWolverine, Azure Service Bus, RabbitMQ, pub/sub, sagasWolverine, Azure Service Bus, RabbitMQ, pub/sub, sagasreferences/messaging-patterns.md
Service communicationREST vs gRPC vs SignalR decision matrixREST vs gRPC vs SignalR decision matrixreferences/service-communication.md
API surface validationPublicApiAnalyzers, Verify, ApiCompatPublicApiAnalyzers, Verify snapshots, ApiCompatreferences/api-surface-validation.md
Library API compatbinary/source compat, type forwardersBinary/source compat, type forwarders, SemVerreferences/library-api-compat.md
I/O pipelinesPipeReader/PipeWriter, backpressure, KestrelPipeReader/PipeWriter, backpressure, Kestrelreferences/io-pipelines.md
Agent gotchasasync misuse, NuGet errors, DI mistakesCommon agent mistakes in.NET codereferences/agent-gotchas.md
File-based apps.NET 10, directives, csproj migration.NET 10 file-based C# appsreferences/file-based-apps.md
API docsDocFX, OpenAPI-as-docs, versioned docsDocFX, OpenAPI-as-docs, versioned documentationreferences/api-docs.md
HybridCacheHybridCache, L1/L2, stampede, tag evictionHybridCache (.NET 9+), stampede protection, tag-based evictionreferences/hybrid-cache.md
YARPreverse proxy, load balancing, API gateway, BFFYARP reverse proxy, load balancing, health checks, transformsreferences/yarp.md
Output cachingOutputCache, response caching, compressionOutput/response caching, compression, CDN, tag invalidationreferences/output-caching.md
IdentityASP.NET Core Identity, login, MFA, scaffoldingIdentity setup, scaffolding, external providers, MapIdentityApireferences/identity-setup.md
Office documents and PDFExcel, Word, PowerPoint, PDF, Open XML SDK, spreadsheet, docx, xlsx, PDFsharp, MigraDoc, merge PDF, split PDF, watermarkOpen XML SDK, ClosedXML, PDFsharp/MigraDoc for PDF create/read/merge/split/watermarkreferences/office-documents.md

Scope

  • ASP.NET Core web APIs (minimal and controller-based)
  • Data access (EF Core, Dapper, ADO.NET)
  • Service communication (gRPC, SignalR, SSE, messaging)
  • Security (auth, OWASP, secrets, crypto)
  • Cloud-native (Aspire, resilience, background services)
  • AI integration (Semantic Kernel)
  • Architecture patterns and API surface validation

Out of scope

  • C# language features -> [skill:dotnet-csharp]
  • UI rendering -> [skill:dotnet-ui]
  • Test authoring -> [skill:dotnet-testing]
  • CI/CD pipelines -> [skill:dotnet-devops]
  • Build tooling -> [skill:dotnet-tooling]

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.88%
按下载量换算260

Claude

31.31%
按下载量换算227

Cursor

19.18%
按下载量换算139

Gemini CLI

9.18%
按下载量换算67

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills