From metalama-dev
Metalama framework development. Use when working on Metalama itself - aspect testing, test directives, code model, templates, diagnostics.
How this skill is triggered — by the user, by Claude, or both
Slash command
/metalama-dev:metalama-devThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide for developing the Metalama framework itself.
Guide for developing the Metalama framework itself.
Note: For writing aspects, templates, and using Metalama APIs, use the metalama skill (installed separately). This skill is specifically for developing the Metalama framework code.
| Type | Description | Project suffix | Output |
|---|---|---|---|
| Aspect tests | Snapshot-based, runs through Metalama pipeline | *AspectTests | Foo.t.cs |
| Unit tests | Classic xUnit | *UnitTests | - |
| Standalone tests | Self-contained projects | - | Optional test.json |
Aspect tests support: code transformations, diagnostics, code fixes, live templates, design-time code generation, diff preview. Can execute Program.Main and compare output.
Docs: Aspect testing
For test directive documentation, use the metalama skill which has complete reference for all @ directives and metalamaTests.json options.
Quick reference: Metalama.Testing.AspectTesting/TestOptions.cs contains all options with XML documentation.
| Path | Contents |
|---|---|
%TEMP%\Metalama\CompileTimeTroubleshooting\ | Build error details |
Metalama.Testing.AspectTesting/TestOptions.cs | Test options documentation |
../Metalama.Documentation/content | Conceptual documentation |
%TEMP%\Metalama\CompileTimeTroubleshooting\...\errors.txt for actual errors.csproj → .targets → Engine code../Metalama.Documentation/content for affected articlesnpx claudepluginhub postsharp/postsharp.engineering.aiskills --plugin metalama-devGenerating or modifying .NET code. Common agent mistakes: async, NuGet, deprecated APIs, DI.
Develops modern C# and .NET applications using records, pattern matching, async/await, and enterprise patterns. Includes testing with xUnit/NUnit, performance optimization, and NuGet configuration.
Guides .NET Core/ASP.NET patterns and best practices in architecture (Clean, MediatR, DI), EF Core databases, security (JWT, Identity), FluentValidation, error handling, xUnit testing, caching, and async. Activates on .csproj, .sln, or AspNetCore projects.