Back to list
GodSpeedAI

sea-dsl-authoring

by GodSpeedAI

SEA makes your enterprise feel alive, self-aware, and self-documenting.

1🍴 0📅 Jan 24, 2026

SKILL.md


name: sea-dsl-authoring description: Author SEA-DSL specifications with proper CQRS annotations, validation, and namespace conventions. Use when creating .sea files with entities, flows, and policies that require @cqrs, @tx, @outbox, and @idempotency annotations following the Flow-only CQRS tagging pattern.

SEA-DSL Authoring Skill

Guides users through authoring semantically valid SEA-DSL files.

Prerequisites

Before authoring SEA-DSL, understand:

  • SEA-DSL grammar from sea_dsl_language_reference.yml
  • CQRS annotation requirements from flow_lint.py
  • Namespace conventions and bounded context boundaries

Workflow

  1. Draft: Create .sea file with proper namespacing
  2. Annotate: Add required annotations to all Flows
  3. Validate: Run just sea-validate <file>
  4. Parse: Run just sea-parse <file> to generate AST
  5. Lint: Run just flow-lint to verify annotations

Required Annotations

Every Flow MUST have:

@cqrs { "kind": "command" | "query" | "event" }

Commands MUST have:

@tx { "transactional": true | false }

Events MUST have:

@outbox { "mode": "required" | "optional" }

Rules

  • Use nested JSON only (no dotted keys like @cqrs.kind)
  • All JSON must be valid
  • Never claim success without validation passing
  • Follow namespace conventions: system.<context>.<name>

Example

@namespace "system.orders"
@version "1.0.0"

Entity "Order" in system.orders

Flow "CreateOrder" from "Customer" to "OrderAggregate"
  @cqrs { "kind": "command" }
  @tx { "transactional": true }
  @idempotency { "enabled": true, "key": "orderId" }

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon