feat: Generate AsyncAPI spec for Event Driven Architecture #946
+53
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #944
Summary
This PR adds generation of AsyncAPI specification support to spec-kit templates, enabling the toolkit to detect, document, and generate a standardised spec for event-driven and asynchronous communication patterns alongside traditional synchronous REST/GraphQL APIs.
Key Changes
Communication Patterns Detection
clarify
command (templates/commands/clarify.md
)AsyncAPI Specification Generation
plan
command (templates/commands/plan.md
) to generate AsyncAPI specificationsasyncapi.yaml
orevents-api.yaml
alongside OpenAPI specsTemplate Enhancements
templates/plan-template.md
) with new fields:Files Modified
templates/commands/clarify.md
(+8 lines)templates/commands/plan.md
(+38 lines, -3 lines)templates/plan-template.md
(+7 lines, -7 lines)Benefits
Manual Testing Details
Click here to expand
Spec Kit interactions
Generated AsyncAPI Spec
AI Assistance Disclosure
This PR was created with assistance from Claude Code (Anthropic). The solution was discussed, implemented, and tested with AI assistance for code generation and documentation. All changes have been reviewed and validated.
🤖 Generated with Claude Code