create-bounded-context

Create bounded contexts with aggregates, ports, contracts, and Go-like architecture examples.

Updated Oct 27, 2025
One-click install
npx skills add https://github.com/mariotoffia/gobridge --skill create-bounded-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-bounded-context
Source: https://github.com/mariotoffia/gobridge/tree/main/.cursor/skills/create-bounded-context
Command: npx skills add https://github.com/mariotoffia/gobridge --skill create-bounded-context

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured blueprint for designing and implementing bounded contexts in Domain-Driven Design, helping teams define explicit boundaries, ubiquitous language, and clear context contracts to avoid a monolithic architecture.

Core Features & Use Cases

  • Define and map bounded contexts to align business capabilities with technical boundaries.
  • Establish aggregates, ports, and contracts to enforce clean interfaces between contexts.
  • Create comprehensive contextual documentation (glossary, contracts, and context map) to guide cross-team collaboration.
  • Use case: decompose a large system into feature-aligned contexts to enable independent deployments and clear ownership.

Quick Start

Begin by drafting a Facility Context example, identify business capabilities, map relationships, create basic aggregates, and define ports; then implement a minimal skeleton repository with entities and a simple cross-context communication example.

Frequently Asked Questions about create-bounded-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define bounded contexts to decompose a large system into independently deployable units?

To define bounded contexts, you map business capabilities to technical boundaries, establish ubiquitous language, and create context maps. This approach decomposes monolithic architectures into feature-aligned contexts, enabling independent deployments and clear team ownership across complex business domains.

What's the best way to establish clear contracts between domain-driven design contexts?

The best way to establish clear contracts between domain-driven design contexts is by defining aggregates and ports. This enforces clean interfaces between contexts, preventing cross-team coupling and ensuring boundary interactions follow a structured, contract-based communication model.

How does context mapping work when aligning technical boundaries with business capabilities?

Context mapping works by visualizing relationships between bounded contexts to align technical boundaries with business capabilities. It generates contextual documentation, including glossaries and relationship maps, which guides cross-team collaboration and prevents overlapping domain responsibilities.

Can I use a Go-like architecture to implement a bounded context skeleton with entities?

Yes, you can implement a bounded context skeleton using a Go-like architecture. The blueprint provides a minimal repository structure containing domain entities, aggregates, ports, and a sample implementation for simple cross-context communication.

When do I need to create explicit context boundaries using domain-driven design?

You need to create explicit context boundaries when dealing with complex business domains that require ubiquitous language and contract-based interactions across multiple teams. Establishing these boundaries prevents monolithic architecture pitfalls and maintains clean feature ownership.