with one click
c
Write robust C# avoiding null traps, async deadlocks, and LINQ pitfalls.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Write robust C# avoiding null traps, async deadlocks, and LINQ pitfalls.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
当用户要求估时间、评估开发工作量、需求评估、 或提到"这个需求要多久""帮我估一下""评估一下工作量""开发时间"时激活。 结合需求材料(文档/截图/链接/描述)、项目代码结构和业务上下文, 分析需要做哪些事情,给出 AI 辅助开发下的参考开发时间估算。
追问会话,挑战你的计划与现有领域模型的一致性,锐化术语,并在决策明确时内联更新文档(CONTEXT.md、ADR)。当用户想要针对项目语言和已记录决策来压力测试计划时使用。
Execute test cases against a codebase and collect structured results. Use when test cases are ready and need to be run, when verifying a fix resolves a failing test, or when generating a test execution report.
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
Analyze competitors with feature comparison matrices, positioning analysis, and strategic implications. Use when researching a competitor, comparing product capabilities, assessing competitive positioning, or preparing a competitive brief for product strategy.
Generate a design token specification (colors, typography, spacing, radius, shadows) based on product type and brand style description. Use when UX needs to define a consistent visual language before Dev implements the UI. Integrates with ui-ux-pro-max for data-driven recommendations.
| name | C# |
| slug | csharp |
| version | 1.0.1 |
| description | Write robust C# avoiding null traps, async deadlocks, and LINQ pitfalls. |
| metadata | {"clawdbot":{"emoji":"💜","requires":{"bins":["dotnet"]},"os":["linux","darwin","win32"]}} |
| inclusion | manual |
| Topic | File |
|---|---|
| Null reference, nullable types | nulls.md |
| Async/await, deadlocks | async.md |
| Deferred execution, closures | linq.md |
| Value vs reference, boxing | types.md |
| Iteration, equality | collections.md |
| IDisposable, using, finalizers | dispose.md |
?. and ?? prevent NRE but ! overrides warnings — still crashes if null.Result or .Wait() on UI thread — deadlock, use await or ConfigureAwait(false)query.Where(...) doesn't execute until iteration.ToList() firstStringComparison.Ordinal for code, CurrentCulture for UIGetHashCode() must be stable — mutable fields break dictionary lookup.ToList() to iterate copydecimal for money — float/double have precision lossreadonly struct prevents defensive copies — use for performancesealed prevents inheritance — enables devirtualization optimization