[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79WHPSKQ8HFETCTETW1KDZJ":3,"skill-same:01M79WHPSKQ8HFETCTETW1KDZJ":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79WHPSKQ8HFETCTETW1KDZJ","akka-net-testing-patterns",null,"Write unit and integration tests for Akka.NET actors using modern Akka.Hosting.TestKit patterns. Covers dependency injection, TestProbes, persistence testing, and actor interaction verification. Includes guidance on when to use traditional TestKit.","Blind-Striker\u002Fagent-skills-and-plugins","Blind-Striker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1965259?v=4","01M79WFXTE5PH0C1VB7B54ANMN","Deniz İrgin","01M79WFXV5KZ5GST1K8G035DM5",1,"MIT","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-akka\u002Fskills\u002Fakka-net-testing-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: akka-net-testing-patterns\ndescription: Write unit and integration tests for Akka.NET actors using modern\n  Akka.Hosting.TestKit patterns. Covers dependency injection, TestProbes,\n  persistence testing, and actor interaction verification. Includes guidance on\n  when to use traditional TestKit.\n---\n\n# Akka.NET Testing Patterns\n\n## When to Use This Skill\n\nUse this skill when:\n- Writing unit tests for Akka.NET actors\n- Testing persistent actors with event sourcing\n- Verifying actor interactions and message flows\n- Testing actor supervision and lifecycle\n- Mocking external dependencies in actor tests\n- Testing cluster sharding behavior locally\n- Verifying actor state recovery and persistence\n\n## Reference Files\n\n- [examples.md](examples.md): Complete code samples for all testing patterns (Patterns 1-8 plus Reminders)\n- [anti-patterns-and-reference.md](anti-patterns-and-reference.md): Anti-patterns, traditional TestKit, CI\u002FCD integration\n\n## Choosing Your Testing Approach\n\n### Use Akka.Hosting.TestKit (Recommended for 95% of Use Cases)\n\n**When:**\n- Building modern .NET applications with `Microsoft.Extensions.DependencyInjection`\n- Using Akka.Hosting for actor configuration in production\n- Need to inject services into actors (`IOptions`, `DbContext`, `ILogger`, HTTP clients, etc.)\n- Testing applications that use ASP.NET Core, Worker Services, or .NET Aspire\n- Working with modern Akka.NET projects (Akka.NET v1.5+)\n\n**Advantages:**\n- Native dependency injection support - override services with fakes in tests\n- Configuration parity with production (same extension methods work in tests)\n- Clean separation between actor logic and infrastructure\n- Type-safe actor registry for retrieving actors\n\n### Use Traditional Akka.TestKit\n\n**When:**\n- Contributing to Akka.NET core library development\n- Working in environments without `Microsoft.Extensions` (console apps, legacy systems)\n- Legacy codebases using manual `Props` creation without DI\n\nSee [anti-patterns-and-reference.md](anti-patterns-and-reference.md) for traditional TestKit patterns.\n\n---\n\n## Core Principles (Akka.Hosting.TestKit)\n\n1. **Inherit from `Akka.Hosting.TestKit.TestKit`** - This is a framework base class, not a user-defined one\n2. **Override `ConfigureServices()`** - Replace real services with fakes\u002Fmocks\n3. **Override `ConfigureAkka()`** - Configure actors using the same extension methods as production\n4. **Use `ActorRegistry`** - Type-safe retrieval of actor references\n5. **Composition over Inheritance** - Fake services as fields, not base classes\n6. **No Custom Base Classes** - Use method overrides, not inheritance hierarchies\n7. **Test One Actor at a Time** - Use TestProbes for dependencies\n8. **Match Production Patterns** - Same extension methods, different `AkkaExecutionMode`\n\n---\n\n## Required NuGet Packages\n\nIn a TUnit project, add none of the xUnit packages below and no `Microsoft.NET.Test.Sdk`: xUnit is a second test framework, and the VSTest SDK breaks TUnit's test discovery. `Akka.Hosting.TestKit`'s base class is xUnit-based, so ask the user before you introduce it there.\n\n```xml\n\u003CItemGroup>\n  \u003C!-- Core testing framework -->\n  \u003CPackageReference Include=\"Akka.Hosting.TestKit\" Version=\"*\" \u002F>\n\n  \u003C!-- xUnit (or your preferred test framework) -->\n  \u003CPackageReference Include=\"xunit\" Version=\"*\" \u002F>\n  \u003CPackageReference Include=\"xunit.runner.visualstudio\" Version=\"*\" \u002F>\n  \u003CPackageReference Include=\"Microsoft.NET.Test.Sdk\" Version=\"*\" \u002F>\n\n  \u003C!-- Assertions (recommended) -->\n  \u003CPackageReference Include=\"FluentAssertions\" Version=\"*\" \u002F>\n\n  \u003C!-- In-memory persistence for testing -->\n  \u003CPackageReference Include=\"Akka.Persistence.Hosting\" Version=\"*\" \u002F>\n\n  \u003C!-- If testing cluster sharding -->\n  \u003CPackageReference Include=\"Akka.Cluster.Hosting\" Version=\"*\" \u002F>\n\u003C\u002FItemGroup>\n```\n\n---\n\n## CRITICAL: File Watcher Fix for Test Projects\n\nAkka.Hosting.TestKit spins up real `IHost` instances, which by default enable file watchers for configuration reload. When running many tests, this exhausts file descriptor limits on Linux (inotify watch limit).\n\n**Add this to your test project - it runs before any tests execute:**\n\n```csharp\n\u002F\u002F TestEnvironmentInitializer.cs\nusing System.Runtime.CompilerServices;\n\nnamespace YourApp.Tests;\n\ninternal static class TestEnvironmentInitializer\n{\n    [ModuleInitializer]\n    internal static void Initialize()\n    {\n        \u002F\u002F Disable config file watching in test hosts\n        \u002F\u002F Prevents file descriptor exhaustion (inotify watch limit) on Linux\n        Environment.SetEnvironmentVariable(\"DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE\", \"false\");\n    }\n}\n```\n\n**Why this matters:**\n- `[ModuleInitializer]` runs automatically before any test code\n- Sets the environment variable globally for all `IHost` instances\n- Prevents cryptic `inotify` errors when running 100+ tests\n- Also applies to Aspire integration tests that use `IHost`\n\n---\n\n## Testing Patterns Overview\n\nEach pattern below has a condensed description. See [examples.md](examples.md) for complete code samples.\n\n### Pattern 1: Basic Actor Test\n\nThe foundation pattern. Override `ConfigureServices()` to inject fakes, override `ConfigureAkka()` to register actors with the same extension methods as production.\n\n```csharp\npublic class OrderActorTests : TestKit\n{\n    private readonly FakeOrderRepository _fakeRepository = new();\n\n    protected override void ConfigureServices(HostBuilderContext context, IServiceCollection services)\n    {\n        services.AddSingleton\u003CIOrderRepository>(_fakeRepository);\n    }\n\n    protected override void ConfigureAkka(AkkaConfigurationBuilder builder, IServiceProvider provider)\n    {\n        builder.WithInMemoryJournal().WithInMemorySnapshotStore();\n        builder.WithActors((system, registry, resolver) =>\n        {\n            registry.Register\u003COrderActor>(system.ActorOf(resolver.Props\u003COrderActor>(), \"order-actor\"));\n        });\n    }\n\n    [Fact]\n    public async Task CreateOrder_Success_SavesToRepository()\n    {\n        var orderActor = ActorRegistry.Get\u003COrderActor>();\n        var response = await orderActor.Ask\u003COrderCommandResult>(\n            new CreateOrder(\"ORDER-123\", \"CUST-456\", 99.99m), RemainingOrDefault);\n        response.Status.Should().Be(CommandStatus.Success);\n        _fakeRepository.SaveCallCount.Should().Be(1);\n    }\n}\n```\n\n### Pattern 2: TestProbe for Actor Interactions\n\nRegister a `TestProbe` in the `ActorRegistry` as a stand-in for a dependency actor. Use `ExpectMsgAsync\u003CT>()` to verify messages were sent.\n\n### Pattern 3: Auto-Responding TestProbe\n\nWhen the actor under test uses `Ask` to communicate with dependencies, create an auto-responder actor that forwards messages to a probe AND replies to avoid timeouts.\n\n### Pattern 4: Testing Persistent Actors\n\nUse `WithInMemoryJournal()` and `WithInMemorySnapshotStore()`. Test recovery by killing the actor with `PoisonPill` and querying to force recovery from journal.\n\n### Pattern 5: Reuse Production Configuration\n\n**Always reuse production extension methods** in tests instead of duplicating HOCON config. This ensures tests use the exact same configuration as production.\n\n```csharp\nprotected override void ConfigureAkka(AkkaConfigurationBuilder builder, IServiceProvider provider)\n{\n    builder\n        .AddDraftSerializer()                                    \u002F\u002F Same as production\n        .AddOrderDomainActors(AkkaExecutionMode.LocalTest)      \u002F\u002F Same, but local mode\n        .WithInMemoryJournal().WithInMemorySnapshotStore();      \u002F\u002F Test-specific overrides\n}\n```\n\n### Pattern 6: Cluster Sharding Locally\n\nUse `AkkaExecutionMode.LocalTest` with `GenericChildPerEntityParent` to test sharding behavior without an actual cluster. Same extension methods, different mode.\n\n### Pattern 7: AwaitAssertAsync for Async Operations\n\nUse `AwaitAssertAsync` when actors perform async operations. It retries assertions until they pass or timeout, preventing flaky tests.\n\n```csharp\nawait AwaitAssertAsync(() =>\n{\n    _fakeReadModelService.SyncCallCount.Should().BeGreaterOrEqualTo(1);\n}, TimeSpan.FromSeconds(3));\n```\n\n### Pattern 8: Scenario-Based Integration Tests\n\nTest complete business workflows end-to-end with multiple actors and state transitions. Register all domain actors, verify state at each step.\n\n---\n\n## Common Patterns Summary\n\n| Pattern | Use Case |\n|---------|----------|\n| Basic Actor Test | Single actor with injected services |\n| TestProbe | Verify actor sends messages to dependencies |\n| Auto-Responder | Avoid `Ask` timeouts when testing |\n| Persistent Actor | Test event sourcing and recovery |\n| Cluster Sharding | Test sharding behavior locally |\n| AwaitAssertAsync | Handle async operations in actors |\n| Scenario Tests | End-to-end business workflows |\n\n---\n\n## Best Practices\n\n1. **One test class per actor** - Keep tests focused\n2. **Override ConfigureServices\u002FConfigureAkka** - Don't create base classes\n3. **Use fakes, not mocks** - Simpler, more maintainable\n4. **Test one actor at a time** - Use TestProbes for dependencies\n5. **Match production patterns** - Same extension methods, different `AkkaExecutionMode`\n6. **Use AwaitAssertAsync for async** - Prevents flaky tests\n7. **Test recovery** - Kill and restart actors to verify persistence\n8. **Scenario tests for workflows** - Test complete business flows end-to-end\n9. **Keep tests fast** - In-memory persistence, no real databases\n10. **Use meaningful names** - `Scenario_FirstTimePurchase_SuccessfulPayment`\n\n---\n\n## Debugging Tips\n\n1. **Enable debug logging** - Pass `LogLevel.Debug` to TestKit constructor\n2. **Use ITestOutputHelper** - See actor system logs in test output\n3. **Inspect TestProbe** - Check `probe.Messages` to see what was sent\n4. **Query actor state** - Add state query messages for debugging\n5. **Use AwaitAssertAsync with logging** - See why assertions fail\n6. **Check ActorRegistry** - Verify actors are registered correctly\n\n```csharp\n\u002F\u002F Constructor with debug logging\npublic OrderActorTests(ITestOutputHelper output)\n    : base(output: output, logLevel: LogLevel.Debug)\n{\n}\n```\n","# Akka.NET Testing Patterns\n\n## When to Use This Skill\n\nUse this skill when:\n- Writing unit tests for Akka.NET actors\n- Testing persistent actors with event sourcing\n- Verifying actor interactions and message flows\n- Testing actor supervision and lifecycle\n- Mocking external dependencies in actor tests\n- Testing cluster sharding behavior locally\n- Verifying actor state recovery and persistence\n\n## Reference Files\n\n- [examples.md](examples.md): Complete code samples for all testing patterns (Patterns 1-8 plus Reminders)\n- [anti-patterns-and-reference.md](anti-patterns-and-reference.md): Anti-patterns, traditional TestKit, CI\u002FCD integration\n\n## Choosing Your Testing Approach\n\n### Use Akka.Hosting.TestKit (Recommended for 95% of Use Cases)\n\n**When:**\n- Building modern .NET applications with `Microsoft.Extensions.DependencyInjection`\n- Using Akka.Hosting for actor configuration in production\n- Need to inject services into actors (`IOptions`, `DbContext`, `ILogger`, HTTP clients, etc.)\n- Testing applications that use ASP.NET Core, Worker Services, or .NET Aspire\n- Working with modern Akka.NET projects (Akka.NET v1.5+)\n\n**Advantages:**\n- Native dependency injection support - override services with fakes in tests\n- Configuration parity with production (same extension methods work in tests)\n- Clean separation between actor logic and infrastructure\n- Type-safe actor registry for retrieving actors\n\n### Use Traditional Akka.TestKit\n\n**When:**\n- Contributing to Akka.NET core library development\n- Working in environments without `Microsoft.Extensions` (console apps, legacy systems)\n- Legacy codebases using manual `Props` creation without DI\n\nSee [anti-patterns-and-reference.md](anti-patterns-and-reference.md) for traditional TestKit patterns.\n\n---\n\n## Core Principles (Akka.Hosting.TestKit)\n\n1. **Inherit from `Akka.Hosting.TestKit.TestKit`** - This is a framework base class, not a user-defined one\n2. **Override `ConfigureServices()`** - Replace real services with fakes\u002Fmocks\n3. **Override `ConfigureAkka()`** - Configure actors using the same extension methods as production\n4. **Use `ActorRegistry`** - Type-safe retrieval of actor references\n5. **Composition over Inheritance** - Fake services as fields, not base classes\n6. **No Custom Base Classes** - Use method overrides, not inheritance hierarchies\n7. **Test One Actor at a Time** - Use TestProbes for dependencies\n8. **Match Production Patterns** - Same extension methods, different `AkkaExecutionMode`\n\n---\n\n## Required NuGet Packages\n\nIn a TUnit project, add none of the xUnit packages below and no `Microsoft.NET.Test.Sdk`: xUnit is a second test framework, and the VSTest SDK breaks TUnit's test discovery. `Akka.Hosting.TestKit`'s base class is xUnit-based, so ask the user before you introduce it there.\n\n```xml\n\u003CItemGroup>\n  \u003C!-- Core testing framework -->\n  \u003CPackageReference Include=\"Akka.Hosting.TestKit\" Version=\"*\" \u002F>\n\n  \u003C!-- xUnit (or your preferred test framework) -->\n  \u003CPackageReference Include=\"xunit\" Version=\"*\" \u002F>\n  \u003CPackageReference Include=\"xunit.runner.visualstudio\" Version=\"*\" \u002F>\n  \u003CPackageReference Include=\"Microsoft.NET.Test.Sdk\" Version=\"*\" \u002F>\n\n  \u003C!-- Assertions (recommended) -->\n  \u003CPackageReference Include=\"FluentAssertions\" Version=\"*\" \u002F>\n\n  \u003C!-- In-memory persistence for testing -->\n  \u003CPackageReference Include=\"Akka.Persistence.Hosting\" Version=\"*\" \u002F>\n\n  \u003C!-- If testing cluster sharding -->\n  \u003CPackageReference Include=\"Akka.Cluster.Hosting\" Version=\"*\" \u002F>\n\u003C\u002FItemGroup>\n```\n\n---\n\n## CRITICAL: File Watcher Fix for Test Projects\n\nAkka.Hosting.TestKit spins up real `IHost` instances, which by default enable file watchers for configuration reload. When running many tests, this exhausts file descriptor limits on Linux (inotify watch limit).\n\n**Add this to your test project - it runs before any tests execute:**\n\n```csharp\n\u002F\u002F TestEnvironmentInitializer.cs\nusing System.Runtime.CompilerServices;\n\nnamespace YourApp.Tests;\n\ninternal static class TestEnvironmentInitializer\n{\n    [ModuleInitializer]\n    internal static void Initialize()\n    {\n        \u002F\u002F Disable config file watching in test hosts\n        \u002F\u002F Prevents file descriptor exhaustion (inotify watch limit) on Linux\n        Environment.SetEnvironmentVariable(\"DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE\", \"false\");\n    }\n}\n```\n\n**Why this matters:**\n- `[ModuleInitializer]` runs automatically before any test code\n- Sets the environment variable globally for all `IHost` instances\n- Prevents cryptic `inotify` errors when running 100+ tests\n- Also applies to Aspire integration tests that use `IHost`\n\n---\n\n## Testing Patterns Overview\n\nEach pattern below has a condensed description. See [examples.md](examples.md) for complete code samples.\n\n### Pattern 1: Basic Actor Test\n\nThe foundation pattern. Override `ConfigureServices()` to inject fakes, override `ConfigureAkka()` to register actors with the same extension methods as production.\n\n```csharp\npublic class OrderActorTests : TestKit\n{\n    private readonly FakeOrderRepository _fakeRepository = new();\n\n    protected override void ConfigureServices(HostBuilderContext context, IServiceCollection services)\n    {\n        services.AddSingleton\u003CIOrderRepository>(_fakeRepository);\n    }\n\n    protected override void ConfigureAkka(AkkaConfigurationBuilder builder, IServiceProvider provider)\n    {\n        builder.WithInMemoryJournal().WithInMemorySnapshotStore();\n        builder.WithActors((system, registry, resolver) =>\n        {\n            registry.Register\u003COrderActor>(system.ActorOf(resolver.Props\u003COrderActor>(), \"order-actor\"));\n        });\n    }\n\n    [Fact]\n    public async Task CreateOrder_Success_SavesToRepository()\n    {\n        var orderActor = ActorRegistry.Get\u003COrderActor>();\n        var response = await orderActor.Ask\u003COrderCommandResult>(\n            new CreateOrder(\"ORDER-123\", \"CUST-456\", 99.99m), RemainingOrDefault);\n        response.Status.Should().Be(CommandStatus.Success);\n        _fakeRepository.SaveCallCount.Should().Be(1);\n    }\n}\n```\n\n### Pattern 2: TestProbe for Actor Interactions\n\nRegister a `TestProbe` in the `ActorRegistry` as a stand-in for a dependency actor. Use `ExpectMsgAsync\u003CT>()` to verify messages were sent.\n\n### Pattern 3: Auto-Responding TestProbe\n\nWhen the actor under test uses `Ask` to communicate with dependencies, create an auto-responder actor that forwards messages to a probe AND replies to avoid timeouts.\n\n### Pattern 4: Testing Persistent Actors\n\nUse `WithInMemoryJournal()` and `WithInMemorySnapshotStore()`. Test recovery by killing the actor with `PoisonPill` and querying to force recovery from journal.\n\n### Pattern 5: Reuse Production Configuration\n\n**Always reuse production extension methods** in tests instead of duplicating HOCON config. This ensures tests use the exact same configuration as production.\n\n```csharp\nprotected override void ConfigureAkka(AkkaConfigurationBuilder builder, IServiceProvider provider)\n{\n    builder\n        .AddDraftSerializer()                                    \u002F\u002F Same as production\n        .AddOrderDomainActors(AkkaExecutionMode.LocalTest)      \u002F\u002F Same, but local mode\n        .WithInMemoryJournal().WithInMemorySnapshotStore();      \u002F\u002F Test-specific overrides\n}\n```\n\n### Pattern 6: Cluster Sharding Locally\n\nUse `AkkaExecutionMode.LocalTest` with `GenericChildPerEntityParent` to test sharding behavior without an actual cluster. Same extension methods, different mode.\n\n### Pattern 7: AwaitAssertAsync for Async Operations\n\nUse `AwaitAssertAsync` when actors perform async operations. It retries assertions until they pass or timeout, preventing flaky tests.\n\n```csharp\nawait AwaitAssertAsync(() =>\n{\n    _fakeReadModelService.SyncCallCount.Should().BeGreaterOrEqualTo(1);\n}, TimeSpan.FromSeconds(3));\n```\n\n### Pattern 8: Scenario-Based Integration Tests\n\nTest complete business workflows end-to-end with multiple actors and state transitions. Register all domain actors, verify state at each step.\n\n---\n\n## Common Patterns Summary\n\n| Pattern | Use Case |\n|---------|----------|\n| Basic Actor Test | Single actor with injected services |\n| TestProbe | Verify actor sends messages to dependencies |\n| Auto-Responder | Avoid `Ask` timeouts when testing |\n| Persistent Actor | Test event sourcing and recovery |\n| Cluster Sharding | Test sharding behavior locally |\n| AwaitAssertAsync | Handle async operations in actors |\n| Scenario Tests | End-to-end business workflows |\n\n---\n\n## Best Practices\n\n1. **One test class per actor** - Keep tests focused\n2. **Override ConfigureServices\u002FConfigureAkka** - Don't create base classes\n3. **Use fakes, not mocks** - Simpler, more maintainable\n4. **Test one actor at a time** - Use TestProbes for dependencies\n5. **Match production patterns** - Same extension methods, different `AkkaExecutionMode`\n6. **Use AwaitAssertAsync for async** - Prevents flaky tests\n7. **Test recovery** - Kill and restart actors to verify persistence\n8. **Scenario tests for workflows** - Test complete business flows end-to-end\n9. **Keep tests fast** - In-memory persistence, no real databases\n10. **Use meaningful names** - `Scenario_FirstTimePurchase_SuccessfulPayment`\n\n---\n\n## Debugging Tips\n\n1. **Enable debug logging** - Pass `LogLevel.Debug` to TestKit constructor\n2. **Use ITestOutputHelper** - See actor system logs in test output\n3. **Inspect TestProbe** - Check `probe.Messages` to see what was sent\n4. **Query actor state** - Add state query messages for debugging\n5. **Use AwaitAssertAsync with logging** - See why assertions fail\n6. **Check ActorRegistry** - Verify actors are registered correctly\n\n```csharp\n\u002F\u002F Constructor with debug logging\npublic OrderActorTests(ITestOutputHelper output)\n    : base(output: output, logLevel: LogLevel.Debug)\n{\n}\n```\n",{"name":5,"description":7},"master","b30b1c1908dbc56a8184128f18803053d762ccb5","codex\u002Fdeniz-dotnet-akka\u002Fskills\u002Fakka-net-testing-patterns",0,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins","https:\u002F\u002Fgithub.com\u002FBlind-Striker","denizirgin.com","VP of Engineering - \r\n@armutcom @homeruntech @prontopro\r\n |  Speaker \r\n@CodeFiction\r\n, http:\u002F\u002Fcodefiction.tech | Developer, gamer, blogger, maiden iron fan","2026-11-13 00:23:18",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill akka-net-testing-patterns",{"tool":39,"command":40},"bunx","bunx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill akka-net-testing-patterns",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Blind-Striker\u002Fagent-skills-and-plugins --skill akka-net-testing-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-akka\u002Fskills\u002Fakka-net-testing-patterns\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"anti-patterns-and-reference.md","REFERENCE","参考文档",5367,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-akka\u002Fskills\u002Fakka-net-testing-patterns\u002Fanti-patterns-and-reference.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"examples.md",29185,"https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fcodex\u002Fdeniz-dotnet-akka\u002Fskills\u002Fakka-net-testing-patterns\u002Fexamples.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79YGWBJ52PHMSTKJ3RJ3AWR","writing-tunit-tests","Write tests in TUnit — the attributes, the async assertion model, data-driven cases, lifecycle hooks, and the parallelism rules. USE FOR writing or fixing a test in a TUnit project, translating a test idea into TUnit syntax, or reviewing TUnit test code for API mistakes. DO NOT USE FOR deciding what to test, judging whether a test is any good, or running tests.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fwriting-tunit-tests\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79YGR3Y9RCRS6TD71D0KKP8","dotnet-walls","Walls for a .NET change in a repository without its own quality gates — pinned, ephemeral analyzer, format, clone and scanner commands for the verify step, their identity ratchet, and the build traps. Use during a walls preflight, or when a worker's verify step needs .NET quality gates.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fdotnet-walls\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M79YGFNJBST7D803NQW3SBYM","csharp-15","Write, review and modernize C# 15 (.NET 11) code correctly. Covers every C# 15 feature - collection expression arguments (`[with(...), ...]`), union types (`union`, `[Union]`, `IUnion`, custom unions), closed class hierarchies (`closed`), extension indexers, labeled `break`\u002F`continue`, non-virtual static interface members on runtimes without default interface methods, and the preview memory-safety model (`unsafe(expr)`, `safe`, requires-unsafe members). Use when code targets net11.0 or LangVersion 15\u002Fpreview, when the user mentions any of these features, when replacing marker interfaces, OneOf-style results, `goto`\u002Fflag loop exits or capacity\u002Fcomparer boilerplate, or when the build reports CS8121, CS8509, CS8655, CS8510, CS0121\u002FCS0411 on a `with(...)` element, CS9370, CS9380 or CS9363.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-dotnet-general\u002Fcsharp-15\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79YGAV031473HSX6FN87ENH","verified-waves","Run one task as verified multi-agent waves. Plans the fan-out, sends findings to fresh skeptics, keeps a ledger, and reports N of M done; small tasks stay solo.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fverified-waves\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79YG6QXNND4WRPP3GATSY8J","harness","The bundled dispatch harness, which runs a task file on worker models through OpenCode or Codex, fences their writes, escalates their asks to the operator, settles each result from git and its verify commands, and records every step in a ledger. Its commands, task file, modes and write fence, configuration, runs and their recovery, ledger and exit codes.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fharness\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79YG2P5S91SDTA5912XJ4FV","delegating-to-worker-models","Use when you hand off implementation, a plan, research a decision will rely on, or a review, and you brief the worker and check what comes back. A subagent that searches, reads in parallel, or keeps your context small is ordinary tool use. Covers what stays with you, the mechanism, assigning work by strength, the walls preflight, prompts without contradictions, the worker contract and model profiles, evidence from your own run, review, and the fix-up loop.","https:\u002F\u002Fgithub.com\u002FBlind-Striker\u002Fagent-skills-and-plugins\u002Fblob\u002Fmaster\u002Fskills\u002Fdeniz-coordination\u002Fdelegating-to-worker-models\u002FSKILL.md",[],[]]