Agent skill
dotnet-fast-io-lite
고속 I/O 핵심 패턴
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/dotnet-fast-io-lite
SKILL.md
고속 I/O 핵심
1. 고속 표준 입출력
using var reader = new StreamReader(
Console.OpenStandardInput(),
bufferSize: 65536);
using var writer = new StreamWriter(
Console.OpenStandardOutput(),
bufferSize: 65536);
writer.AutoFlush = false;
// 처리 후 수동 플러시
writer.Flush();
2. 파일 I/O
// 64KB 버퍼로 순차 읽기
using var stream = new FileStream(
path,
FileMode.Open,
FileAccess.Read,
FileShare.Read,
bufferSize: 64 * 1024,
options: FileOptions.SequentialScan);
3. RandomAccess (.NET 6+)
using var handle = File.OpenHandle(path, FileMode.Open, FileAccess.Read);
int bytesRead = await RandomAccess.ReadAsync(handle, buffer, offset);
4. 성능 비교
| 방식 | 상대 성능 |
|---|---|
| Console.ReadLine() | 1x |
| StreamReader (64KB) | 3-5x |
| MemoryMappedFile | 5-10x |
상세 내용:
/dotnet-fast-ioskill 참조
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?