跳到正文
Skillpedia
API 与服务器(后端)48k · #4491

dotnet-backend-patterns

它能做什么

这个工具帮助你使用 C# 语言和 .NET 生态系统构建健壮的程序。它会讲解在生产环境中表现良好的系统的最佳实践,例如 API 和服务器。

适用场景

  • ✓开始一个新的 .NET 后端项目时。
  • ✓审查 C# 代码质量时。
  • ✓设计某个服务的架构时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dotnet-backend-patterns/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/dotnet-backend-patterns/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该如何在 .NET API 中实现依赖注入模式?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具借助带有示例和说明的指南,帮助你应用现代设计模式。它重点关注代码组织、依赖管理、数据访问优化,以及确保系统的健壮性。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

.NET Backend Development Patterns

Master C#/.NET patterns for building production-grade APIs, MCP servers, and enterprise backends with modern best practices (2024/2025).

Use this skill when

  • Developing new .NET Web APIs or MCP servers
  • Reviewing C# code for quality and performance
  • Designing service architectures with dependency injection
  • Implementing caching strategies with Redis
  • Writing unit and integration tests
  • Optimizing database access with EF Core or Dapper
  • Configuring applications with IOptions pattern
  • Handling errors and implementing resilience patterns

Do not use this skill when

  • The project is not using .NET or C#
  • You only need frontend or client guidance
  • The task is unrelated to backend architecture

Instructions

  • Define architecture boundaries, modules, and layering.
  • Apply DI, async patterns, and resilience strategies.
  • Validate data access performance and caching.
  • Add tests and observability for critical flows.
  • If detailed patterns are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed .NET patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

编程中的“模式”是什么?

模式是针对软件开发中常见问题的成熟解决方案。它们能帮助你编写结构更清晰、效率更高、更易维护的代码。

“后端”是什么?

后端是用户看不到的那部分系统,比如服务器、数据库,以及让一切正常运转的业务逻辑。

C#/.NET 是什么?

C# 是一种编程语言,.NET 是微软推出的一套生态系统(即工具和框架的集合),广泛用于开发各类应用,在企业环境中尤其常见。

详情

作者的原始描述

Master C#/.NET patterns for building production-grade APIs, MCP servers, and enterprise backends with modern best practices (2024/2025).

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4491
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能