backend-domain-model-architect

Models backend domains into bounded contexts, aggregates, and use cases using Effect-TS.

1|Updated Sep 3, 2026
One-click install
npx skills add https://github.com/sabiscore/the-yap-engine --skill backend-domain-model-architect-sabiscore
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: backend-domain-model-architect
Source: https://github.com/sabiscore/the-yap-engine/tree/main/.ai/skills/backend-domain-model-architect
Command: npx skills add https://github.com/sabiscore/the-yap-engine --skill backend-domain-model-architect-sabiscore

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires effect.

What problem does it solve? Business logic often ends up scattered across fat controllers and procedural scripts, making invariants hard to enforce and code hard to reason about. This Skill translates messy product requirements into durable server-side domain designs with explicit bounded contexts, aggregates, and use cases. ## Core Features & Use Cases - Bounded Context Extraction: Define language boundaries and write a domain glossary before any schema or code. - Effect-TS Type Modeling: Build value objects, aggregates, and domain services with Schema.Class, Data.Class, and Effect.Service Layers so invalid states become unrepresentable. - Domain Events & Application Services: Publish past-tense domain events via a BullMQ outbox and keep route handlers as thin orchestrators. - Use Case: Extracting a fat Fastify controller for a VAT filing feature into a TaxComputationService with enforced invariants, idempotent commands, and VATReturnFiled events. ## Quick Start Ask the AI to model your backend feature's domain with bounded contexts, aggregates, and Effect-TS services before writing any route handler.

Frequently Asked Questions about backend-domain-model-architect

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

FAQPage Schema
Does this approach work with Fastify and Prisma?▼

Yes. Fastify route handlers run the Effect program with provided Layers and stay free of logic, while the domain model is designed first and the Prisma persistence schema is derived from it rather than dictating the model.