csharp

📁 olino3/forge 📅 13 days ago
4
总安装量
4
周安装量
#50468
全站排名
安装命令
npx skills add https://github.com/olino3/forge --skill csharp

Agent 安装分布

cursor 4
claude-code 4
replit 4
mcpjam 3
openhands 3
zencoder 3

Skill 文档

Skill: csharp – .NET Language Expertise

Purpose

Guide C# feature usage and .NET ecosystem decisions, including async workflows, LINQ, dependency injection, and performance tuning for modern runtimes.

File Structure

forge-plugin/skills/csharp/
├── SKILL.md
└── examples.md

Interface References

Mandatory Workflow

Step 1: Initial Analysis

  • Identify .NET runtime and target framework (NET 6/7/8+)
  • Confirm project type (ASP.NET Core, worker service, library, CLI)
  • Capture style guidelines (nullable reference types, analyzers, formatting)

Step 2: Load Memory

  • Use memoryStore.getSkillMemory("csharp", "{project-name}") for existing conventions
  • Review cross-skill insights via memoryStore.getByProject("{project-name}")

Step 3: Load Context

  • Use contextProvider.getDomainIndex("dotnet") to select relevant .NET guidance
  • Load only the context files required for the task

Step 4: Perform Analysis

  • Evaluate async/await usage, cancellation tokens, and exception flow
  • Review LINQ usage, allocation hotspots, and data access patterns
  • Validate DI lifetimes, configuration bindings, and logging strategy
  • Check nullability annotations, generics, and API surface consistency

Step 5: Generate Output

  • Provide implementation guidance with concise code samples
  • Save the report to /claudedocs/csharp_{project}_{YYYY-MM-DD}.md following OUTPUT_CONVENTIONS

Step 6: Update Memory

  • Record framework versions, architectural decisions, and recurring issues
  • Update memory with memoryStore.update("csharp", "{project-name}", ...)

Compliance Checklist

  • Step 1 captured runtime, project type, and standards
  • Step 2 loaded project memory via MemoryStore
  • Step 3 loaded relevant context via ContextProvider
  • Step 4 analysis covered language, runtime, and architecture concerns
  • Step 5 output saved to /claudedocs/ with correct naming
  • Step 6 memory updated with new insights

Version History

Version Date Changes
1.0.0 2026-02-12 Initial release