Skip to main content

Source facts

Repository
GrayCodeAI/hawk-community-skills
Last source activity
May 27, 2026 at 18:10
Detected SKILL.md language
Chinese
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
extra-c#
description
C# 开发规则与最佳实践
license
MIT
tags
["cursor-rules"]
alwaysApply
false
## 6. 错误处理与日志 (Error & Logging) - **Try-Catch 策略**:不要用 try-catch 包裹整个方法体。仅捕获特定的、预期的异常。 - **日志规范**: - 使用 `ILogger<T>`。 - 异常日志 **必须** 包含异常对象:`_logger.LogError(ex, "Message")`,不能仅记录 `ex.Message`。
View on GitHub