csharp-docs
C# 文件與 XML 註解標準:強制使用標準標籤與用詞規範產生類別與方法的說明。Use when writing, reviewing, or generating XML documentation comments (///) in C# files, or when the user asks to add…
Skill by CloudyWing
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cloudywing-csharp-docs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/csharp-docs
What's inside
- Skill name
csharp-docs- Description
- C# 文件與 XML 註解標準:強制使用標準標籤與用詞規範產生類別與方法的說明。Use when writing, reviewing, or generating XML documentation comments (///) in C# files, or when the user asks to add, fix, or supplement XML docs.
- License
- MIT
- Instructions
- 67 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# C# 原始碼註解最佳實踐 ## 通用 API 指南 ### XML 註解分級 | 專案類型 | 對象 | 規則 | | --- | --- | --- | | 套件 / Library | 所有 `public` 成員 | 必須加入 XML 註解 | | Web 專案 | Web API Controller Action | 加入 `<summary>`、`<param>` 與 `<returns>` | | Web 專案 | 共用 Interface 方法 | 描述跨模組契約,實作類別使用 `<inheritdoc/>` | | Web 專案 | 公開 Enum 值 | 補充命名無法表達的語意邊界 | | Web 專案 | DTO / ViewModel / Entity 屬性 | 補充業務含義、格式約束與單位 | | Web 專案 | 其他 public 成員 | 名稱不足以表達行為或存在非直覺行為時加入 | | Web 專案 | private / internal | 不要求 XML 註解,使用 `//` 註解處理 | - `<summary>` 以第三人稱現在式動詞開頭,例如 `Gets...` 或 `Initializes...`,說明 Why 與 What。 - `<summary>` 提供一句話的簡短描述。中文直接描述動作,例如取得、設定或初始化。 - `<remarks>`:用於補充詳細資訊、實作細節或上下文。 - `<see langword>`:用於語言關鍵字(如 `null`, `true`, `false`, `int`, `bool`)。 - `<c>`:用於行內程式碼片段。 - `<example>`:提供如何使用該成員的範例。內部應搭配 `<code language="csharp">`。 - `<see cref>`:用於句子內參照其他型別或成員。 - `<seealso>`:用於獨立的參照區段。 - `<inheritdoc/>`:繼承介面或基礎類別的註解。 ## 方法 (Methods) - `<param>`:描述參數用途(名詞片語,不要寫出資料型別)。 - 若是布林值,寫法應為:`若要...則為 <see langword="true" />;否則為 <see langword="false" />。`。 - `<paramref>`:在說明中需要參照參數名稱時使用。 - `<returns>`:描述回傳值(名詞片語)。若是布林值,描述格式與 `<param>` 類似。 - `<typeparam>` 與 `<typeparamref>`:用於泛型型別參數。 ## 屬性 (Properties) - `<summary>` 開頭應為: - 讀寫屬性:「取得或設定... (Gets or sets ...)」 - 唯讀屬性:「取得... (Gets ...)」 - 布林屬性:「取得或設定一個值,用以指出是否...」 - 可使用 `<value>` 標籤描述回傳值的涵義及預設值。 ## 例外 (Exceptions) - 透過 `<exception cref="ExceptionType">` 記錄所有直接拋出的例外情況。 - 描述觸發例外的條件,直接陳述情境即可(避免前面的 "Thrown if..." 贅字,例如直接說「存取某某失敗時」。)。 ## XML 標籤格式 `<summary>` **統一使用多行格式**,不以字數判斷: ```csharp /// <summary> /// 取得指定使用者的訂單清單。 /// </summary> /// <param name="userId">使用者識別碼。</param> /// <returns>該使用者的訂單集合。</returns> ``` **各標籤適用格式:** - `<summary>` **固定使用多行**,即使內容僅一句話。 - `<param>` 與 `<returns>` 原則上使用**單行**(內容通常簡短)。若單行含標籤後超過 120 字元,則展開為多行。 - `<remarks>`、`<example>` 固定使用多行。 - 同一方法的多個標籤格式應保持視覺一致:若有某個標籤需要多行,其餘標籤格式保持不變。
From CloudyWing/ai-dotfiles, MIT.
More from CloudyWing/ai-dotfiles
- 0.565score
ai-tool-discovery
CloudyWing
Use when the agent is about to explore a project or generate AI support artifacts and needs the local tool inventory or the state and rebuild path of existing…
SkillAFreshness: AClaude Code +9 - 0.565score
apply-fact-check
CloudyWing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously…
SkillAFreshness: AClaude Code +9 - 0.564score
ai-context-index
CloudyWing
Use when an agent needs to create or update a project AI context index from the tools declared in AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.558score
browser-smoke
CloudyWing
瀏覽器煙霧驗證流程。當需要在修改 Web UI、頁面、路由、表單、互動、樣式、響應式版面或前端狀態後使用瀏覽器驗證,或使用者明確要求檢查畫面、console/network error、互動行為與 UI 修正結果時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
api-smoke
CloudyWing
Web API 煙霧驗證流程。當需要在修改或開發 Web API 端點後驗證 API 行為,或使用者要求呼叫 Swagger、寫腳本測試 API、進行多情境 API 測試時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
csharp-background-service
CloudyWing
Background Service 開發規範:BackgroundService、IHostedService、Channel Queue 模式與生命週期管理。當撰寫或審查 .NET 背景工作、排程任務或佇列處理邏輯時自動套用。
SkillAFreshness: AClaude Code +9 - 0.555score
adr
CloudyWing
依決策門檻建立追加式 Architecture Decision Record,管理序號、狀態與被推翻的決策。
SkillAFreshness: AClaude Code +9 - 0.555score
architecture-improvement
CloudyWing
以 Git hotspot 縮小分析範圍,使用 deletion test 篩選改善候選並產出架構改善報告。
SkillAFreshness: AClaude Code +9 - 0.555score
check-markdown
CloudyWing
當要求檢查 Markdown、修正格式或整理文件時使用。依據專案文件平台修正格式與排版問題。
SkillAFreshness: AClaude Code +9 - 0.555score
create-license-and-readme-link
CloudyWing
自動判斷專案屬性並推薦合適的開源授權,建立 LICENSE 檔案並將其連結補入 README.md 中。
SkillAFreshness: AClaude Code +9 - 0.549score
codex-dispatch
CloudyWing
Codex 派工機制:依派工類型建立執行契約、以 codex exec 啟動 Codex、背景等待、取證並回收結果。當需要發動 codex、撰寫派遣單或執行派遣回收判定時使用。
SkillAFreshness: AClaude Code +9 - 0.520score
codebase-design
CloudyWing
Use when 設計或審查模組邊界、Interface、Adapter、依賴方向與可測試性時。
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 16, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/CloudyWing/ai-dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from CloudyWing
- 0.565score
ai-tool-discovery
CloudyWing
Use when the agent is about to explore a project or generate AI support artifacts and needs the local tool inventory or the state and rebuild path of existing…
SkillAFreshness: AClaude Code +9 - 0.565score
apply-fact-check
CloudyWing
依據事實校閱報告修改技術文件:以事實層為不可違反的約束,由改檔者負責表達層的措辭與行文連貫。Use when the user asks to apply fact-check results to a document, or to edit a document based on a previously…
SkillAFreshness: AClaude Code +9 - 0.564score
ai-context-index
CloudyWing
Use when an agent needs to create or update a project AI context index from the tools declared in AGENTS.md.
SkillAFreshness: AClaude Code +9 - 0.558score
browser-smoke
CloudyWing
瀏覽器煙霧驗證流程。當需要在修改 Web UI、頁面、路由、表單、互動、樣式、響應式版面或前端狀態後使用瀏覽器驗證,或使用者明確要求檢查畫面、console/network error、互動行為與 UI 修正結果時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
api-smoke
CloudyWing
Web API 煙霧驗證流程。當需要在修改或開發 Web API 端點後驗證 API 行為,或使用者要求呼叫 Swagger、寫腳本測試 API、進行多情境 API 測試時使用。
SkillAFreshness: AClaude Code +9 - 0.558score
csharp-background-service
CloudyWing
Background Service 開發規範:BackgroundService、IHostedService、Channel Queue 模式與生命週期管理。當撰寫或審查 .NET 背景工作、排程任務或佇列處理邏輯時自動套用。
SkillAFreshness: AClaude Code +9
Cite this page
csharp-docs skill. Agent Mart. https://agentmart.dev/skills/cloudywing-csharp-docs (last updated 2026-10-24)