integration-message-construction
Skill4 starsChanged 5 months agoApache-2.0View on GitHub
Defines integration message intent, envelopes, identifiers and lifecycle metadata. Use when creating command, event, document or request-reply message contracts and schemas.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibility-wcagSkill
- agentic-ux-patternsSkill
- ai-model-governanceSkill
- api-design-and-lifecycleSkill
- apply-laws-of-aiSkill
- bdd-practiceSkill
- browser-testing-with-devtoolsSkill
- business-capability-modelingSkill
- business-information-concept-modelingSkill
- capability-maturity-assessmentSkill
- cdc-and-source-to-stream-ingestionSkill
- ci-cd-and-automationSkill
- cloud-platform-architectureSkill
- code-review-and-qualitySkill
- cognitive-bias-reviewSkill
- conceptual-data-modelingSkill
- context-engineeringSkill
- data-contract-designSkill
- data-governance-and-qualitySkill
- data-integration-and-interoperabilitySkill
- data-lifecycle-and-retention-managementSkill
- data-lineage-and-provenanceSkill
- data-product-dashboard-designSkill
- data-product-designSkill
- data-security-and-privacy-architectureSkill
- ddd-practiceSkill
- deprecation-and-migrationSkill
- design-system-practiceSkill
- documentation-and-adrsSkill
- dora-four-keysSkill
- dry-principleSkill
- eip-integration-validationSkill
- evaluation-and-monitoringSkill
- event-driven-architectureSkill
- event-governance-and-lineageSkill
- event-modelingSkill
- event-streaming-platform-designSkill
- exception-handling-and-recoverySkill
- finops-practiceSkill
- frontend-state-and-interaction-designSkill
- git-workflow-and-versioningSkill
- goal-setting-and-monitoringSkill
- guardrails-safety-patternsSkill
- human-in-the-loopSkill
- idea-refinementSkill
- incident-response-and-postmortemsSkill
- incremental-implementationSkill
- infrastructure-as-codeSkill
- inter-agent-communication-a2aSkill
- kiss-principleSkill
- knowledge-graph-ragSkill
- knowledge-retrieval-ragSkill
- krag-evaluation-governanceSkill
- krag-ingestion-graph-constructionSkill
- krag-retrieval-answeringSkill
- krag-system-designSkill
- lakehouse-and-medallion-architectureSkill
- learning-and-adaptationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use when creating message schemas, event contracts, command payloads, request/reply payloads, metadata envelopes or compatibility rules for …
- Distinctive: line 24
Document Message: transfers a data structure for consumption.
- Distinctive: line 45
Use Correlation Identifier to match replies, callbacks or related messages.
- Distinctive: line 46
Use Return Address when replies must be routed dynamically.
- Distinctive: line 47
Use Message Sequence when messages must be assembled or ordered as a set.
- Distinctive: line 48
Use Message Expiration when stale messages must not be processed.
- Distinctive: line 49
Use Format Indicator when multiple payload encodings or schema versions are possible.
- Distinctive: line 50
Use Claim Check when payload data is large, sensitive or better stored out-of-band.
- Distinctive: line 63
Do not model commands as events.
- Distinctive: line 64
Do not place routing-critical data only inside opaque payloads.
- Distinctive: line 65
Do not expose internal database schemas as integration contracts.
- Distinctive: line 66
Do not overload one message type with multiple unrelated meanings.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Integration Message Construction
When to use
Use when creating message schemas, event contracts, command payloads, request/reply payloads, metadata envelopes or compatibility rules for enterprise integrations.
Objective
Define well-formed integration messages with clear intent, stable contracts and sufficient metadata for routing, processing, observability and recovery.
Procedure
- Classify message intent:
- Command Message: instructs a receiver to perform an action.
- Document Message: transfers a data structure for consumption.
- Event Message: states that something happened.
- Request-Reply: asks for a response, usually with Correlation Identifier and Return Address.
- Define envelope and payload separately.
- Include minimum standard metadata:
- message_id
- correlation_id
- causation_id where useful
- producer
- produced_at
- schema_name and schema_version
- message_type
- content_type / format indicator
- expiry where relevant
- traceparent or equivalent trace context
- Define lifecycle semantics: creation, validation, expiry, retry, replay and archival.
- Define compatibility rules: additive changes, deprecation, schema evolution and consumer tolerance.
- Apply privacy and minimisation: include only data required by consumers; use references or Claim Check for large or sensitive payloads.
Pattern selection guide
- Use Correlation Identifier to match replies, callbacks or related messages.
- Use Return Address when replies must be routed dynamically.
- Use Message Sequence when messages must be assembled or ordered as a set.
- Use Message Expiration when stale messages must not be processed.
- Use Format Indicator when multiple payload encodings or schema versions are possible.
- Use Claim Check when payload data is large, sensitive or better stored out-of-band.
Required outputs
- Message type and intent
- Envelope schema
- Payload schema outline
- Validation and compatibility rules
- Privacy, security and retention considerations
- Example message, if requested
Guardrails
- Do not model commands as events; commands request action, events record facts.
- Do not place routing-critical data only inside opaque payloads.
- Do not expose internal database schemas as integration contracts.
- Do not overload one message type with multiple unrelated meanings.
Related skills
message-based-integration-designmessage-channel-designmessage-routing-designmessage-transformation-designschema-registry-and-contractsevent-modelingdata-contract-design
Verification
- Message intent is explicit and not ambiguous.
- Envelope and payload are separated.
- Required metadata fields are defined.
- Compatibility and privacy rules are stated.
- Residual risks and assumptions are recorded.
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

