This repository contains the Metalama plugin for Claude Code, providing comprehensive documentation for aspect-oriented programming with Metalama.
-
Add this marketplace to Claude Code:
/plugin marketplace add https://github.com/metalama/Metalama.AI.Skills -
Install the Metalama plugin:
/plugin install metalama
The plugin provides Claude Code with access to:
- Conceptual documentation: Complete guides on aspects, templates, fabrics, validation, and configuration.
- API reference: Full documentation for all Metalama namespaces and types.
- Sample code: Working examples demonstrating common patterns and techniques.
- Pattern libraries: Documentation for Metalama.Patterns.Contracts, Caching, Observability, and more.
Once installed, Claude Code automatically uses Metalama knowledge when you ask questions about:
- Creating or modifying aspects
- Writing T# templates
- Using fabrics to apply aspects in bulk
- Working with the Metalama code model
- Implementing patterns like caching, contracts, or observability
- "Create a logging aspect that logs method entry and exit"
- "How do I introduce a property to a class using Metalama?"
- "Write a contract that validates a string parameter is not empty"
- "How do I apply an aspect to all public methods in a namespace?"
To update to the latest version:
/plugin update metalama
Note: This repository is entirely generated from the Metalama.Documentation repository. Do not edit files here directly.