一键导入
dotnet-best-practices
Ensure .NET/C# code meets best practices for the solution/project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Ensure .NET/C# code meets best practices for the solution/project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Author or update a numbered ADR under `eng/adr/`, or update the header/status of a historical design narrative migrated to `specs/[NNN]-[slug]/spec.md`. Enforces the shared schema — filename pattern, H1, required header fields, the fixed `Status` enumeration, ISO-8601 dates, the canonical `Related:` link list. Trigger when the user says "write an ADR", "update the status of …", "supersede …", or is editing a file under `eng/adr/`. For NEW feature design narratives, use `/speckit-specify` (spec-kit) instead — `eng/design/` was retired in constitution v2.0.0 (2026-05-24).
Manages MongoDB Atlas Stream Processing (ASP) workflows. Handles workspace provisioning, data source/sink connections, processor lifecycle operations, debugging diagnostics, and tier sizing. Supports Kafka, Atlas clusters, S3, HTTPS, and Lambda integrations for streaming data workloads and event processing. NOT for general MongoDB queries or Atlas cluster management. Requires MongoDB MCP Server with Atlas API credentials.
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman:compress <filepath> or "compress memory file"
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
| description | Ensure .NET/C# code meets best practices for the solution/project. |
| metadata | {"github-path":"skills/dotnet-best-practices","github-ref":"refs/heads/main","github-repo":"https://github.com/github/awesome-copilot","github-tree-sha":"348f6a99189c92bae1654b58f77904a0734b1e34"} |
| name | dotnet-best-practices |
Your task is to ensure .NET/C# code in ${selection} meets the best practices specific to this solution/project. This includes:
public class MyClass(IDependency dependency))CommandHandler<TOptions>)_resourceManager.GetString("MessageKey")