csharp-pro
构建现代 C# 和 .NET 应用程序
现代 .NET 项目需要清晰的模式,以实现可维护代码、异步工作流、测试和性能优化。此技能可指导 C# 设计、实现、优化和验证。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "csharp-pro" from https://skillstore.io/skills/sickn33-csharp-pro.md and its manifest at https://skillstore.io/api/skills/sickn33-csharp-pro/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“csharp-pro”。 构建一个用于创建订单的 C# API endpoint。
预期结果:
一份结构化计划,涵盖请求模型、验证、服务边界、异步持久化、错误处理和单元测试覆盖。
正在使用“csharp-pro”。 重构服务中的阻塞式异步逻辑。
预期结果:
一份审查摘要,识别阻塞调用、推荐的异步模式、异常处理变更和验证步骤。
正在使用“csharp-pro”。 提升热点路径中的 .NET 性能。
预期结果:
一份实用的优化计划,涵盖减少分配、value types、基准测试设计和回归检查。
安全审计
安全The only static finding is a false positive caused by Markdown backticks around a documentation path. The prompt contains no executable code or malicious instructions.
风险因素
⚙️ 外部命令 (1)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/sickn33-csharp-pro/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/sickn33-csharp-pro?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/sickn33-csharp-pro?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-csharp-pro/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/sickn33-csharp-pro.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
sickn33. (2026). csharp-pro security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-csharp-pro/audits/5BibTeX 引用
@techreport{sickn33-sickn33-csharp-pro-2026,
author = {sickn33},
title = {csharp-pro security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-csharp-pro/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "csharp-pro security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-csharp-pro/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-csharp-pro:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
实现 C# 服务
使用异步代码、持久化模式、验证、错误处理和单元测试来设计 ASP.NET Core 服务。
标准化团队实践
为 SOLID 设计、analyzers、文档、测试和依赖项管理创建一致的指导。
提高测试覆盖率
使用 mocks、流式断言和清晰的验证标准来规划有意义的单元测试。
试试这些提示
帮助我为 [feature] 设计一个现代 C# 组件。使用 nullable reference types,在有用时使用 records,并解释验证选择。
审查这个 .NET 功能的可维护性。使用 SOLID 原则、异步最佳实践和聚焦的单元测试提出改进建议。
为 [business workflow] 设计一个 ASP.NET Core 服务。包括架构边界、数据访问、错误处理、测试和可观测性。
分析这个对性能敏感的 C# 工作流。在实现之前,推荐内存、并发、基准测试和验证步骤。
最佳实践
- 在请求实现指导之前,分享框架版本、运行时目标和现有架构。
- 在任何生成的设计或实现计划中,同时要求测试和验证步骤。
- 将这些建议与本地构建、analyzers、基准测试和代码审查结合使用。
避免
- 不要在没有项目约束、依赖项或验收标准的情况下请求大范围重写。
- 当简单的 C# 构造能够满足需求时,不要采用高级模式。
- 不要跳过对生成的异步、性能或数据访问变更的本地验证。