Domain decomposition api design advisor

From JetBrains/skills · View interactive version

Domain decomposition api design advisor is an AI agent skill from the GitHub repository JetBrains/skills. Decompose business scope into bounded contexts, module or service boundaries, workflows, and API contracts before implementation begins. Use when shaping a new feature, service, or major redesign; when requirements are underspecified; when consistency, idempotency, and integration boundaries must be

How to use this skill

Skill file

Domain Decomposition API Design Advisor

Source mapping: Tier 3 specialized skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-25).

Mission

Convert vague product intent into explicit technical boundaries and contracts that can survive implementation and change.

Optimize for clear ownership, explicit invariants, and low coupling rather than premature microservice enthusiasm.

Inputs To Gather

Decomposition Workflow

  1. Break the feature into use cases and state transitions.
  2. Identify the core nouns, aggregates, and decision points.
  3. Identify where consistency must be strong and where eventual consistency is acceptable.
  4. Separate commands from queries when that improves clarity, not by default.
  5. Identify external actors and dependencies.
  6. Decide whether the right boundary is:
  1. Design API and event contracts only after the domain boundary is clear.

Boundary Rules

API Design Rules

Kotlin And Modeling Nuances

Advanced Architecture Traps

Advanced Boundary Nuances

Expert Heuristics

Output Contract

Return these sections:

Guardrails

Quality Bar

A good run of this skill gives the team a boundary model that survives implementation pressure and future change.

A bad run produces a plausible architecture diagram with no ownership, no consistency story, and no contract discipline.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.