capabilities-layer

Installation
SKILL.md

Capabilities Layer

Intent

Deliver independent capabilities as bounded contexts that interact only via events and the workspace context.

Structure Rules

  • Keep each capability cohesive: UI + application orchestration + domain model (if needed).
  • Do not create cross-capability imports for business logic; communicate via events.

State Management

  • Use @ngrx/signals stores as the source of truth for capability state.
  • Derive view state via computed signals; avoid mutable arrays/objects and avoid .push().
  • Async side effects run through rxMethod + tapResponse with explicit operator choice.

Event-Driven Interactions

  • Publish domain/application events after persistence (append-before-publish).
  • Subscribe to events in application stores/effects, not in presentation components.
Related skills

More from 7spade/black-tortoise

Installs
5
First Seen
Feb 5, 2026