/protean:protean-overviewfrom protean
Orients a coding agent to a Protean domain before writing code. Explains core building blocks (aggregates, entities, value objects, events, commands, handlers) and cross-element rules. Use when starting a Protean project or choosing the right element.
Ships in protean. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Protean is a domain-driven framework. A domain is a registry of elements you
declare with decorators on a Domain object. Each element below has its own
skill of the same name (aggregate, entity, value-object, event,
command, command-handler, event-handler) with its full rules and examples.
@domain.aggregate): the root entity of a consistency
boundary. It owns its child entities and value objects and enforces the
invariants that must hold whenever it changes.@domain.entity): an object with identity that lives inside an
aggregate and is reached through it.@domain.value_object): an immutable value with no
identity, compared by its attributes.@domain.event): a record of something that happened. An
aggregate raises one with self.raise_(...).@domain.command): an intent to change state, processed by a
command handler.@domain.command_handler, @domain.event_handler): load an
aggregate, invoke a method on it, and persist the result.check and resolve what it reportsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub proteanhq/protean --plugin protean39 skills in this plugin
/add-commandAdd a complete command flow to an existing aggregate. It creates a command class, a FastAPI API endpoint, and a command handler with repository logic. This is the primary workflow for adding write operations to a Protean domain. Use when the user wants to "add a command", "add an action", "add an operation", "expose a write endpoint", "create a command flow", "wire up a POST endpoint", "add a new operation to an aggregate", or describes an action like "I want users to be able to [verb] a [thing]" (e.g., "place an order", "register a user", "cancel a reservation"). This workflow composes the command, command-handler, and api-endpoint element skills./add-domain-service-flowBuild a domain service flow in Protean for business logic that spans two or more aggregates. Domain services are stateless, encapsulate cross-aggregate business rules, and run pre/post invariants for validation. They are used when business logic doesn't naturally belong to a single aggregate. Wire them into command handlers or application services for persistence. Use when the user asks to "add a domain service", "implement cross-aggregate logic", "coordinate multiple aggregates", "add a business operation spanning aggregates", "validate across aggregates", or when they describe scenarios like "placing an order checks inventory and reserves stock", "transferring funds between accounts", "scheduling involves both resource and calendar".Other plugins' skills for the same job