modern-csharp-coding-standards 是做什么的?
使用记录、模式匹配、值对象、异步/等待、Span/Memory 以及最佳实践 API 设计模式,编写现代高性能 C# 代码。强调使用 C# 12+ 特性进行函数式风格编程。
使用记录、模式匹配、值对象、异步/等待、Span<T>/Memory<T> 以及最佳实践 API 设计模式,编写现代高性能 C# 代码。强调使用 C# 12+ 特性进行函数式风格编程。
该技能致力于指导开发者编写符合现代 C# 编码标准的代码,充分利用 C# 12 及更高版本引入的新特性,如记录(records)、模式匹配(pattern matching)、值对象(value objects)、异步/等待(async/await)以及 Span<T>/Memory<T> 等高性能内存管理工具。它强调函数式编程风格,通过不可变数据结构、纯函数和表达式式 API 设计来提升代码的可读性、可维护性和执行效率。此技能适用于任何 C# 开发环境,包括 .NET 控制台应用、ASP.NET Core Web 应用以及 Unity 游戏开发等,能够帮助团队统一编码风格,避免常见陷阱。其核心机制基于 SKILL.md 文档中规定的规则,包括命名约定、类型设计原则、异常处理策略和性能优化技巧,并通过代码示例加以说明。开发者可将此技能作为代码审查的参考,或集成到 CI/CD 流程中自动检查编码规范。
npx skills add https://github.com/aaronontheweb/dotnet-skills/tree/main/skills/modern-csharp-coding-standards使用记录、模式匹配、值对象、异步/等待、Span/Memory 以及最佳实践 API 设计模式,编写现代高性能 C# 代码。强调使用 C# 12+ 特性进行函数式风格编程。
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".