LogoClawIndex
CasesSkillsAbout
LogoClawIndex

add-bc-contract - Add Contract for inter-BC communication

Creates Contract interface, Provider implementation, and configuration when one Bounded Context needs to read data from another BC.

Tags

Updated: 2026-09-14
bounded-contextprovider-patterncontractdeptracphp

Capabilities

Create Contract interfaceCreate Provider implementationUpdate service configurationUpdate Deptrac configuration

Typical Inputs

Provider BC nameConsumer BC nameContract name

Typical Outputs

ProviderBC/Contracts/ContractName.phpProviderBC/Adapters/Contracts/ProviderBCContractName.phpProviderBC/Frameworks/config/services.yaml

What this skill does

  • Create Contract interface
  • Create Provider implementation
  • Update service configuration
  • Update Deptrac configuration
  • Run quality validation checks

Inputs

  • Provider BC name
  • Consumer BC name
  • Contract name
  • Methods list

Outputs

  • ProviderBC/Contracts/ContractName.php
  • ProviderBC/Adapters/Contracts/ProviderBCContractName.php
  • ProviderBC/Frameworks/config/services.yaml
  • ConsumerBC/Frameworks/deptrac.yaml

Requirements

  • Deptrac and Make CLI tools
  • Contract and Provider code templates

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.