Back to skills
extension
Category: Development & EngineeringNo API key required

sea-flow-annotations

Enforce Flow-only CQRS tagging and recommended metadata.

personAuthor: jakexiaohubgithub

SEA™ Flow annotation contract

Mandatory

Every Flow includes:

@cqrs { "kind": "command" }

Recommended templates

Command:

@cqrs { "kind": "command" }
@tx { "transactional": true }
@idempotency { "enabled": true, "key": "header:X-Idempotency-Key" }

Event:

@cqrs { "kind": "event" }
@outbox { "mode": "required" }

Query:

@cqrs { "kind": "query" }
@read_model { "name": "CustomerSummary" }

Rules

  • JSON must be valid
  • Use nested JSON only