integration-architecture

integration-architecture is a skill for Claude Code, Codex from t1/tdder. It costs 102 tokens per session (2,906 once invoked), scanned A, original, Apache-2.0.

Guidance for designing communication between separate software components, including direct commands, events, message delivery, retries, and failure handling.

In plain words
What is it for?
Use it when designing message brokers, event-driven systems, commands, events, push or pull flows, retries, idempotency, transactional outboxes, or sagas.
Why use it?
It helps teams choose how components should exchange information and deal with lost, repeated, or failed messages.

Skill for Claude CodeCodex

Part of the tdder plugin — 14 skills, 2 commands, 7 agents, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/t1/tdder/integration-architecture
Any agent
npx skills add t1/tdder --skill integration-architecture
Clone the repo
git clone --depth 1 https://github.com/t1/tdder

Made for: Claude Code, Codex.

Or install tdder, the plugin that ships this one along with the rest of its 14 skills, 2 commands, 7 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for integration-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/t1/tdder/integration-architecture.svg)](https://agentmods.dev/skills/t1/tdder/integration-architecture)
Your own site
<a href="https://agentmods.dev/skills/t1/tdder/integration-architecture"><img src="https://agentmods.dev/badge/skills/t1/tdder/integration-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,906 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00102 $0.02906
Opus 5 $0.00051 $0.01453
Sonnet 5 $0.00020 $0.00581
Haiku 4.5 $0.00010 $0.00291

Measured 5d ago against content hash cd4b4ebcb3ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

integration-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/integration-architecture/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Integration Architecture

How components communicate across boundaries: message style, data flow direction, and failure handling.

This skill complements Unfolding Architecture, which covers the decision of whether to use messaging at all (Communication dimension, Levels 0→1→2). Once you've decided to communicate across boundaries, this skill guides how.

Tradeoff: Command vs. Event Messages

Commands couple sender to receiver: the sender knows who to call and what to ask for. Events invert the dependency: receivers must know the sender's domain to interpret what happened. In more complex messaging patters, when several, interdependent messages are sent, the dependency is even stricter: the sender of commands must know about the state of the receiver; with events it's the other way around. Neither is strictly better.

Prefer Commands when:

  • There is exactly one receiver
  • Sender needs confirmation the action was performed
  • Traceability and explicit flow matter
  • The operation is imperative ("do this")

Prefer Events when:

  • Multiple independent consumers react to the same thing
  • Adding consumers should not require changing the sender
  • Sender should not know about side effects
  • The message describes something that happened ("this occurred")

Key insight: Events don't remove coupling, they move it. The receiver now needs to understand the sender's context to react. This is worthwhile when senders change less often than the set of receivers.

When introducing cross-boundary communication, use AskUserQuestion with a code-based recommendation:

  • Question: "Should this be a command or an event?"
  • Options: Put the recommended option first with "(Recommended)". Use the option description to explain why based on the code — e.g., "The method name orderCompleted and the lack of a return value suggest a notification, not a directive" or "There is exactly one receiver (PaymentService) that needs to confirm the action."
  • "Let's discuss" — elaborate on the trade-offs before deciding
  • If the code signals are ambiguous, don't recommend — present all options neutrally.

Read the full file on GitHub · 289 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 289 lines · 102 tokens per session scan A cd4b4ebcb3ed

Subscribe to this mod's changes

integration-architecture is a skill published in the GitHub repository t1/tdder (14 stars, last pushed today), licensed Apache-2.0. It adds 102 tokens to every session and 2,906 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

tdd-arrange-act-assert

This skill should be used when the user asks to "structure tests", "organize test code", mentions "arrange act assert", "AAA pattern", "given when then", discusses test readability, or wants to improve test structure.

helmedeiros/clean-code-skills · 55 tokens

tdd-red-green-refactor

This skill should be used when the user asks to "do TDD", "write tests first", mentions "red-green-refactor", discusses test-driven development cycles, or wants to build features incrementally with tests.

helmedeiros/clean-code-skills · 50 tokens

tdd-test-first

This skill should be used when the user asks to "write tests first", "start with a test", mentions "test-first development", discusses writing tests before implementation, or wants to ensure code is testable by design.

helmedeiros/clean-code-skills · 49 tokens

testing-principles

Language-agnostic testing principles including TDD, test quality, coverage standards, and test design patterns. Use when writing tests, designing test strategies, or reviewing test quality.

shinpr/claude-code-workflows · 40 tokens

develop-tdd

Test-driven development with red-green-refactor loop using vertical slices. Use for features (epic tasks) or bugs (specs/bugs/BUG-.md).

danielvm-git/bigpowers · 38 tokens

validate-fix

Prove a fix works before declaring done — re-run the failing test, run the full suite, typecheck, lint, and harden against recurrence. Use after implementing a bug fix, when user says "is this fixed?", or before closing an investigation.

danielvm-git/bigpowers · 56 tokens