Skip to main content

csharp

Use when: write or review modern, idiomatic C# with async, nullable reference types, and clean structure.

소스 정보

저장소
kimtth/agent-skill-100-lines-or-less
최근 소스 활동
2026년 6월 26일 02:15
감지된 SKILL.md 언어
영어
스타
2
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
csharp
description
Use when: write or review modern, idiomatic C# with async, nullable reference types, and clean structure.
Goal: modern C# that is null-safe, async-correct, and testable. Use for: - new classes, services, or APIs in C#/.NET - reviewing async usage, nullability, and structure - modernizing legacy patterns to current language features Workflow: 1. Enable nullable reference types and honor the warnings. 2. Use async/await end to end; never block on async code. 3. Model data with records and pattern matching. 4. Prefer immutable types and expression-bodied members. 5. Inject dependencies; program to interfaces, not concretions. 6. Verify with the test runner, analyzers, and dotnet format. Idioms: - records for value-like data - LINQ for transformations over manual loops - pattern matching and switch expressions - using declarations for IDisposable - CancellationToken threaded through async APIs Rules: - never call .Result/.Wait() on a Task; await it - treat nullable warnings as errors to fix - pass CancellationToken to cancellable operations - keep methods small; depend on abstractions for testability
GitHub에서 보기