plugins/formal-specification/skills/asyncapi-design/SKILL.md
Event-driven API specification with AsyncAPI 3.0 for message-based architectures
npx skillsauth add melodic-software/claude-code-plugins asyncapi-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when:
Before creating AsyncAPI specifications:
docs-management skill for event-driven patterns| Aspect | OpenAPI | AsyncAPI | |--------|---------|----------| | Communication | Request/Response | Event-Driven | | Protocol | HTTP/HTTPS | Kafka, RabbitMQ, MQTT, WebSocket | | Initiator | Client requests | Publisher emits | | Pattern | Synchronous | Asynchronous | | Use Case | REST APIs | Message queues, streaming, IoT |
asyncapi: 3.0.0
info:
title: API Title
version: 1.0.0
servers:
production:
host: kafka.example.com:9092
protocol: kafka
channels:
orderCreated:
address: orders.created
messages:
orderCreatedMessage:
$ref: '#/components/messages/OrderCreated'
operations:
publishOrderCreated:
action: send
channel:
$ref: '#/channels/orderCreated'
components:
messages: { }
schemas: { }
securitySchemes: { }
For complete template: See basic-template.md
| Protocol | Use Case | Binding Version | |----------|----------|-----------------| | Kafka | High-throughput streaming | 0.5.0 | | AMQP (RabbitMQ) | Message queuing | 0.3.0 | | MQTT | IoT, lightweight messaging | 0.2.0 | | WebSocket | Real-time browser comms | - |
For protocol-specific patterns: See protocol-patterns.md
{domain}.{entity}.{action}.{version}
Example: orders.order.created.v1
Load on-demand based on need:
| Reference | Load When | |-----------|-----------| | basic-template.md | Creating a new AsyncAPI spec from scratch | | protocol-patterns.md | Configuring Kafka, RabbitMQ, MQTT, WebSocket | | csharp-implementation.md | Implementing in .NET/C# with MassTransit or Confluent | | event-design-patterns.md | Event envelopes, versioning, best practices |
| Phase | Skill | Plugin | Purpose |
| ----- | ----- | ------ | ------- |
| DESIGN | asyncapi-design (this skill) | formal-specification | Architecture research, pattern selection |
| AUTHORING | asyncapi-authoring | spec-driven-development | Concrete YAML file creation |
Workflow: Design (research event patterns) → Author (create YAML) → Implement (generate code)
For current AsyncAPI patterns and tools:
perplexity: "AsyncAPI 3.0 specification" "event-driven API design patterns"
context7: "asyncapi" (for official documentation)
ref: "AsyncAPI spec examples" "Kafka binding patterns"
Last Updated: 2026-01-17
development
Search Milan Jovanovic's .NET blog for Clean Architecture, DDD, CQRS, EF Core, and ASP.NET Core patterns. Use for finding applicable patterns, code examples, and architecture guidance. Invoke when working with .NET projects that could benefit from proven architectural patterns.
tools
Install and configure Data API Builder (DAB) for production SQL Server MCP access with RBAC
tools
Manage MssqlMcp servers - status, rebuild, and upstream updates
tools
Developer environment setup guides for Windows, macOS, Linux, and WSL. Use when setting up development machines, installing tools, configuring environments, or following platform-specific setup guides. Covers package management, shell/terminal, code editors, AI tooling, containerization, databases, and more.