Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

csharp-docscsharp 文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

204,336

周安装

8,635

GitHub Stars

31,678

下载量

71,552
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/github/awesome-copilot --skill csharp-docs

简介

C# 公共 API 和成员的 XML 文档标准和模式。

  • 使用<摘要>
  • 对于以现在时动词开头的单句描述,以及 <remarks>
  • 了解实施细节、使用说明或其他上下文
  • 为不同的成员类型使用特定的标签:<param>
  • 和<返回>
  • 对于方法,<值>
  • 对于属性,<typeparam>
  • 对于泛型,以及 <例外 cref>
  • 对于抛出的异常
  • 遵循布尔参数和返回值、枚举参数和输出参数的规定措辞模式,以确保文档之间的一致性
  • 使用<参见cref>, <另见>, <参数参考>
  • 和<继承文档/>
  • 创建交叉引用并减少 API 表面的重复

SKILL.md

C# Documentation Best Practices

  • Public members should be documented with XML comments.
  • It is encouraged to document internal members as well, especially if they are complex or not self-explanatory.

Guidance for all APIs

  • Use <summary> to provide a brief, one sentence, description of what the type or member does. Start the summary with a present-tense, third-person verb.
  • Use <remarks> for additional information, which can include implementation details, usage notes, or any other relevant context.
  • Use <see langword> for language-specific keywords like null, true, false, int, bool, etc.
  • Use <c> for inline code snippets.
  • Use <example> for usage examples on how to use the member.

- Use <code> for code blocks. <code> tags should be placed within an <example> tag. Add the language of the code example using the language attribute, for example, <code language="csharp">.

  • Use <see cref> to reference other types or members inline (in a sentence).
  • Use <seealso> for standalone (not in a sentence) references to other types or members in the "See also" section of the online docs.
  • Use <inheritdoc/> to inherit documentation from base classes or interfaces.

- Unless there is major behavior change, in which case you should document the differences.

Methods

  • Use <param> to describe method parameters.

- The description should be a noun phrase that doesn't specify the data type. - Begin with an introductory article. - If the parameter is a flag enum, start the description with "A bitwise combination of the enumeration values that specifies...". - If the parameter is a non-flag enum, start the description with "One of the enumeration values that specifies...". - If the parameter is a Boolean, the wording should be of the form "<see langword="true" /> to...; otherwise, <see langword="false" />.". - If the parameter is an "out" parameter, the wording should be of the form "When this method returns, contains.... This parameter is treated as uninitialized.".

  • Use <paramref> to reference parameter names in documentation.
  • Use <typeparam> to describe type parameters in generic types or methods.
  • Use <typeparamref> to reference type parameters in documentation.
  • Use <returns> to describe what the method returns.

- The description should be a noun phrase that doesn't specify the data type. - Begin with an introductory article. - If the return type is Boolean, the wording should be of the form "<see langword="true" /> if...; otherwise, <see langword="false" />.".

Constructors

  • The summary wording should be "Initializes a new instance of the class [or struct].".

Properties

  • The <summary> should start with:

- "Gets or sets..." for a read-write property. - "Gets..." for a read-only property. - "Gets [or sets] a value that indicates whether..." for properties that return a Boolean value.

  • Use <value> to describe the value of the property.

- The description should be a noun phrase that doesn't specify the data type. - If the property has a default value, add it in a separate sentence, for example, "The default is <see langword="false" />". - If the value type is Boolean, the wording should be of the form "<see langword="true" /> if...; otherwise, <see langword="false" />. The default is...".

Exceptions

  • Use <exception cref> to document exceptions thrown by constructors, properties, indexers, methods, operators, and events.
  • Document all exceptions thrown directly by the member.
  • For exceptions thrown by nested members, document only the exceptions users are most likely to encounter.
  • The description of the exception describes the condition under which it's thrown.

- Omit "Thrown if..." or "If..." at the beginning of the sentence. Just state the condition directly, for example "An error occurred when accessing a Message Queuing API."

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.56%
按下载量换算26,875

Claude

31.25%
按下载量换算22,360

Cursor

18.79%
按下载量换算13,445

Gemini CLI

8.71%
按下载量换算6,232

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills