[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72Z874BT7BQDDAX3ZR9CVY9":3,"skill-same:01M72Z874BT7BQDDAX3ZR9CVY9":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M72Z874BT7BQDDAX3ZR9CVY9","csharp-developer",null,"Use when building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps. Builds REST APIs using minimal or controller-based routing, configures database access with Entity Framework Core, implements async patterns and cancellation, structures applications with CQRS via MediatR, and scaffolds Blazor components with state management. Invoke for C#, .NET, ASP.NET Core, Blazor, Entity Framework, EF Core, Minimal API, MAUI, SignalR.","enigmaicon-eng\u002FAI-Enterprise-OS","enigmaicon-eng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269773191?v=4","01M72YXXYN7Q7BYRHV8RAVYNWD","01M72YXXZPW35H56D6F1XSK84D",2,"MIT","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: csharp-developer\ndescription: \"Use when building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps. Builds REST APIs using minimal or controller-based routing, configures database access with Entity Framework Core, implements async patterns and cancellation, structures applications with CQRS via MediatR, and scaffolds Blazor components with state management. Invoke for C#, .NET, ASP.NET Core, Blazor, Entity Framework, EF Core, Minimal API, MAUI, SignalR.\"\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: C#, .NET, ASP.NET Core, Blazor, Entity Framework, EF Core, Minimal API, MAUI, SignalR\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: api-designer, database-optimizer, devops-engineer\n---\n\n# C# Developer\n\nSenior C# developer with mastery of .NET 8+ and Microsoft ecosystem. Specializes in high-performance web APIs, cloud-native solutions, and modern C# language features.\n\n## When to Use This Skill\n\n- Building ASP.NET Core APIs (Minimal or Controller-based)\n- Implementing Entity Framework Core data access\n- Creating Blazor web applications (Server\u002FWASM)\n- Optimizing .NET performance with Span\u003CT>, Memory\u003CT>\n- Implementing CQRS with MediatR\n- Setting up authentication\u002Fauthorization\n\n## Core Workflow\n\n1. **Analyze solution** — Review .csproj files, NuGet packages, architecture\n2. **Design models** — Create domain models, DTOs, validation\n3. **Implement** — Write endpoints, repositories, services with DI\n4. **Optimize** — Apply async patterns, caching, performance tuning\n5. **Test** — Write xUnit tests with TestServer; verify 80%+ coverage\n\n> **EF Core checkpoint (after step 3):** Run `dotnet ef migrations add \u003CName>` and review the generated migration file before applying. Confirm no unintended table\u002Fcolumn drops. Roll back with `dotnet ef migrations remove` if needed.\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Modern C# | `references\u002Fmodern-csharp.md` | Records, pattern matching, nullable types |\n| ASP.NET Core | `references\u002Faspnet-core.md` | Minimal APIs, middleware, DI, routing |\n| Entity Framework | `references\u002Fentity-framework.md` | EF Core, migrations, query optimization |\n| Blazor | `references\u002Fblazor.md` | Components, state management, interop |\n| Performance | `references\u002Fperformance.md` | Span\u003CT>, async, memory optimization, AOT |\n\n## Constraints\n\n### MUST DO\n- Enable nullable reference types in all projects\n- Use file-scoped namespaces and primary constructors (C# 12)\n- Apply async\u002Fawait for all I\u002FO operations — always accept and forward `CancellationToken`:\n  ```csharp\n  \u002F\u002F Correct\n  app.MapGet(\"\u002Fitems\u002F{id}\", async (int id, IItemService svc, CancellationToken ct) =>\n      await svc.GetByIdAsync(id, ct) is { } item ? Results.Ok(item) : Results.NotFound());\n  ```\n- Use dependency injection for all services\n- Include XML documentation for public APIs\n- Implement proper error handling with Result pattern:\n  ```csharp\n  public readonly record struct Result\u003CT>(T? Value, string? Error, bool IsSuccess)\n  {\n      public static Result\u003CT> Ok(T value) => new(value, null, true);\n      public static Result\u003CT> Fail(string error) => new(default, error, false);\n  }\n  ```\n- Use strongly-typed configuration with `IOptions\u003CT>`\n\n### MUST NOT DO\n- Use blocking calls (`.Result`, `.Wait()`) in async code:\n  ```csharp\n  \u002F\u002F Wrong — blocks thread and risks deadlock\n  var data = service.GetDataAsync().Result;\n\n  \u002F\u002F Correct\n  var data = await service.GetDataAsync(ct);\n  ```\n- Disable nullable warnings without proper justification\n- Skip cancellation token support in async methods\n- Expose EF Core entities directly in API responses — always map to DTOs\n- Use string-based configuration keys\n- Skip input validation\n- Ignore code analysis warnings\n\n## Output Templates\n\nWhen implementing .NET features, provide:\n1. Domain models and DTOs\n2. API endpoints (Minimal API or controllers)\n3. Repository\u002Fservice implementations\n4. Configuration setup (Program.cs, appsettings.json)\n5. Brief explanation of architectural decisions\n\n## Example: Minimal API Endpoint\n\n```csharp\n\u002F\u002F Program.cs (file-scoped, .NET 8 minimal API)\nvar builder = WebApplication.CreateBuilder(args);\nbuilder.Services.AddScoped\u003CIProductService, ProductService>();\n\nvar app = builder.Build();\n\napp.MapGet(\"\u002Fproducts\u002F{id:int}\", async (\n    int id,\n    IProductService service,\n    CancellationToken ct) =>\n{\n    var result = await service.GetByIdAsync(id, ct);\n    return result.IsSuccess ? Results.Ok(result.Value) : Results.NotFound(result.Error);\n})\n.WithName(\"GetProduct\")\n.Produces\u003CProductDto>()\n.ProducesProblem(404);\n\napp.Run();\n```\n\n## Knowledge Reference\n\nC# 12, .NET 8, ASP.NET Core, Minimal APIs, Blazor (Server\u002FWASM), Entity Framework Core, MediatR, xUnit, Moq, Benchmark.NET, SignalR, gRPC, Azure SDK, Polly, FluentValidation, Serilog\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Fcsharp-developer\u002F)\n","# C# Developer\n\nSenior C# developer with mastery of .NET 8+ and Microsoft ecosystem. Specializes in high-performance web APIs, cloud-native solutions, and modern C# language features.\n\n## When to Use This Skill\n\n- Building ASP.NET Core APIs (Minimal or Controller-based)\n- Implementing Entity Framework Core data access\n- Creating Blazor web applications (Server\u002FWASM)\n- Optimizing .NET performance with Span\u003CT>, Memory\u003CT>\n- Implementing CQRS with MediatR\n- Setting up authentication\u002Fauthorization\n\n## Core Workflow\n\n1. **Analyze solution** — Review .csproj files, NuGet packages, architecture\n2. **Design models** — Create domain models, DTOs, validation\n3. **Implement** — Write endpoints, repositories, services with DI\n4. **Optimize** — Apply async patterns, caching, performance tuning\n5. **Test** — Write xUnit tests with TestServer; verify 80%+ coverage\n\n> **EF Core checkpoint (after step 3):** Run `dotnet ef migrations add \u003CName>` and review the generated migration file before applying. Confirm no unintended table\u002Fcolumn drops. Roll back with `dotnet ef migrations remove` if needed.\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Modern C# | `references\u002Fmodern-csharp.md` | Records, pattern matching, nullable types |\n| ASP.NET Core | `references\u002Faspnet-core.md` | Minimal APIs, middleware, DI, routing |\n| Entity Framework | `references\u002Fentity-framework.md` | EF Core, migrations, query optimization |\n| Blazor | `references\u002Fblazor.md` | Components, state management, interop |\n| Performance | `references\u002Fperformance.md` | Span\u003CT>, async, memory optimization, AOT |\n\n## Constraints\n\n### MUST DO\n- Enable nullable reference types in all projects\n- Use file-scoped namespaces and primary constructors (C# 12)\n- Apply async\u002Fawait for all I\u002FO operations — always accept and forward `CancellationToken`:\n  ```csharp\n  \u002F\u002F Correct\n  app.MapGet(\"\u002Fitems\u002F{id}\", async (int id, IItemService svc, CancellationToken ct) =>\n      await svc.GetByIdAsync(id, ct) is { } item ? Results.Ok(item) : Results.NotFound());\n  ```\n- Use dependency injection for all services\n- Include XML documentation for public APIs\n- Implement proper error handling with Result pattern:\n  ```csharp\n  public readonly record struct Result\u003CT>(T? Value, string? Error, bool IsSuccess)\n  {\n      public static Result\u003CT> Ok(T value) => new(value, null, true);\n      public static Result\u003CT> Fail(string error) => new(default, error, false);\n  }\n  ```\n- Use strongly-typed configuration with `IOptions\u003CT>`\n\n### MUST NOT DO\n- Use blocking calls (`.Result`, `.Wait()`) in async code:\n  ```csharp\n  \u002F\u002F Wrong — blocks thread and risks deadlock\n  var data = service.GetDataAsync().Result;\n\n  \u002F\u002F Correct\n  var data = await service.GetDataAsync(ct);\n  ```\n- Disable nullable warnings without proper justification\n- Skip cancellation token support in async methods\n- Expose EF Core entities directly in API responses — always map to DTOs\n- Use string-based configuration keys\n- Skip input validation\n- Ignore code analysis warnings\n\n## Output Templates\n\nWhen implementing .NET features, provide:\n1. Domain models and DTOs\n2. API endpoints (Minimal API or controllers)\n3. Repository\u002Fservice implementations\n4. Configuration setup (Program.cs, appsettings.json)\n5. Brief explanation of architectural decisions\n\n## Example: Minimal API Endpoint\n\n```csharp\n\u002F\u002F Program.cs (file-scoped, .NET 8 minimal API)\nvar builder = WebApplication.CreateBuilder(args);\nbuilder.Services.AddScoped\u003CIProductService, ProductService>();\n\nvar app = builder.Build();\n\napp.MapGet(\"\u002Fproducts\u002F{id:int}\", async (\n    int id,\n    IProductService service,\n    CancellationToken ct) =>\n{\n    var result = await service.GetByIdAsync(id, ct);\n    return result.IsSuccess ? Results.Ok(result.Value) : Results.NotFound(result.Error);\n})\n.WithName(\"GetProduct\")\n.Produces\u003CProductDto>()\n.ProducesProblem(404);\n\napp.Run();\n```\n\n## Knowledge Reference\n\nC# 12, .NET 8, ASP.NET Core, Minimal APIs, Blazor (Server\u002FWASM), Entity Framework Core, MediatR, xUnit, Moq, Benchmark.NET, SignalR, gRPC, Azure SDK, Polly, FluentValidation, Serilog\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Fcsharp-developer\u002F)\n",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","C#, .NET, ASP.NET Core, Blazor, Entity Framework, EF Core, Minimal API, MAUI, SignalR","code","api-designer, database-optimizer, devops-engineer","main","a4b48842f3e48549adf3dc335a8837c66da99497","examples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer",0,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng","2026-05-17 16:00:01",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add enigmaicon-eng\u002FAI-Enterprise-OS --skill csharp-developer",{"tool":45,"command":46},"bunx","bunx skills add enigmaicon-eng\u002FAI-Enterprise-OS --skill csharp-developer",{"tool":48,"command":49},"pnpm","pnpm dlx skills add enigmaicon-eng\u002FAI-Enterprise-OS --skill csharp-developer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002FSKILL.md",true,[53,59,63,67,71],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Faspnet-core.md","REFERENCE","参考文档",10739,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002Freferences\u002Faspnet-core.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fblazor.md",12940,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002Freferences\u002Fblazor.md",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fentity-framework.md",11717,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002Freferences\u002Fentity-framework.md",{"path":68,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fmodern-csharp.md",6219,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002Freferences\u002Fmodern-csharp.md",{"path":72,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fperformance.md",12454,"https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fclaude-skills\u002Fskills\u002Fcsharp-developer\u002Freferences\u002Fperformance.md",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M72ZGWW03JSE1T3TKK5NZ11Y","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M72ZGT3FJT7QRM1VNQRKR0XD","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M72ZGQ69DCF0SBP9JXFPWKJS","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M72ZGNF126QT0MQ2D3DNGZRN","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M72ZGHVJ9S0YXMNBHQGQ95BY","using-git-worktrees","Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":18},"01M72ZGFNZCHFY2FS3ZD9MCYV9","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002Fenigmaicon-eng\u002FAI-Enterprise-OS\u002Fblob\u002Fmain\u002Fexamples\u002Fsuperpowers\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[]]