From metalama-dev
Metalama framework development. Use when working on Metalama itself - aspect testing, test directives, code model, templates, diagnostics.
npx claudepluginhub postsharp/postsharp.engineering.aiskills --plugin metalama-devThis skill uses the workspace's default tool permissions.
Guide for developing the Metalama framework itself.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
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 articles