markusbengtsson.dev
  • Writing
  • Skills
  • About
  • Projects

Skills

Practical Codex skills distilled from the ideas in the blog. Each one turns an article into a reusable workflow.

$create-value-objects

Create Value Objects

Design and implement immutable value objects for a new domain model. Use when defining domain concepts represented by identifiers, names, money, quantities, measurements, date ranges, addresses, or other values that need explicit meaning, validation, normalization, equality, or cohesive behaviour from the outset.

$design-domain-events

Design Domain Events

Discover and design domain events for a new event-driven or event-sourced workflow. Use when defining business processes, commands, decisions, aggregate lifecycles, event payloads, downstream reactions, or a domain event vocabulary before implementation.

$model-behavioural-event-streams

Model Behavioural Event Streams

Design new event-sourced aggregates and event streams around business intentions, decisions, and lifecycle facts. Use when defining an aggregate from scratch, choosing stream boundaries, designing commands and events, deciding what state an aggregate needs, or planning how events rebuild that state.

$model-domain-behaviour

Model Domain Behaviour

Discover and design a new domain model around business decisions, rules, and outcomes before defining entities, APIs, or database structures. Use when starting a feature, service, bounded context, aggregate, or workflow from scratch and turning business requirements into executable domain behaviour.

© 2026 Markus Bengtsson. All rights reserved.

GitHubLinkedIn