kafka-event-driven-design

kafka-event-driven-design is a skill for Claude Code, Codex from johnqtcg/awesome-skills. It costs 191 tokens per session (7,675 once invoked), scanned A, original, MIT.

A design and review guide for Kafka-based event systems, where services communicate by publishing and consuming messages through shared topics.

In plain words
What is it for?
Use it to design or troubleshoot Kafka topics, partition keys, event schemas, producers, consumers, retries, deduplication, and delivery guarantees.
Why use it?
It helps prevent ordering, duplicate-processing, schema-compatibility, partitioning, and consumer-group problems in production services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design or troubleshoot Kafka topics, partition keys, event schemas, producers, consumers, retries, deduplication, and delivery guarantees.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/johnqtcg/awesome-skills/kafka-event-driven-design
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.

Any agent
npx skills add johnqtcg/awesome-skills --skill kafka-event-driven-design
Clone the repo
git clone --depth 1 https://github.com/johnqtcg/awesome-skills

Made for: Claude Code, Codex.

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 kafka-event-driven-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/kafka-event-driven-design/github.svg)](https://agentmods.dev/skills/johnqtcg/awesome-skills/kafka-event-driven-design)
Your own site
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/kafka-event-driven-design"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/kafka-event-driven-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kafka-event-driven-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/kafka-event-driven-design"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/kafka-event-driven-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,675 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 234
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
  • medium Excessive Agency · line 314
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
How audits are shown
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.1 $0.00191 $0.07675
Opus 5 $0.00096 $0.03837
Sonnet 5 $0.00038 $0.01535
Haiku 4.5 $0.00019 $0.00768

Measured 12d ago against content hash 8a1af37ecaad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kafka-event-driven-design 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 12d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/gen_coverage.py, scripts/lint_kafka_docs.py, scripts/model_eval.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/kafka-event-driven-design/SKILL.md · 425 lines

How it starts

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

Kafka Event-Driven Design Review

Quick Reference

§1 Scope · §2 Mandatory Gates · §3 Depth & Reference Loading · §4 Degradation Modes · §5 Design Checklist · §6 Partition Design · §7 Anti-Examples · §8 Scorecard · §9 Output Contract

Before scoring a version-sensitive configuration item, read references/version-client-matrix.md. Kafka defaults changed materially at 3.0 and again at 4.0, and the four major client libraries disagree with each other. Which items are version-sensitive — and which fact each one needs — is §2's Minimum context per scored item; most of the checklist needs no version at all.


§1 Scope

In scope — Kafka event-driven architecture for production backend services:

  • Topic design (naming, partition count, replication factor, retention)
  • Partition key strategy (ordering guarantees, hot partition avoidance)
  • Event schema design (Avro/Protobuf/JSON Schema, schema evolution, compatibility)
  • Producer configuration (acks, retries, idempotence, transactional producers)
  • Consumer group design (assignment strategy, rebalance handling, commit strategy)
  • Idempotent consumption (deduplication, idempotency keys, exactly-once semantics)
  • Dead letter queue (DLQ) and retry patterns
  • Backpressure and consumer lag management
  • Schema Registry integration and compatibility modes

Out of scope — say so and redirect rather than answering partially:

Out of scope Why it is not this skill
Broker sizing, heap/page-cache tuning, disk layout Cluster operations, not client design
KRaft/ZooKeeper administration, controller config, 3.9→4.x migration Platform runbook territory
Partition reassignment tooling, cruise-control balancing, quotas Operational, though its client-visible consequences (AE-12 key remapping) are in scope
ACL administration and principal management In scope only as a design requirement (§5.5 item 16), not as operator commands
MirrorMaker / cross-cluster replication topology Separate architecture
Kafka Streams / Kafka Connect internals Different programming models with their own semantics
Application code unrelated to Kafka → go-code-reviewer
General REST/gRPC API design → api-design

Read the full file on GitHub · 425 lines

Files

What ships with it

35 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 425 lines · 191 tokens per session scan A 8a1af37ecaad

Subscribe to this mod's changes

kafka-event-driven-design is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed yesterday), licensed MIT. It adds 191 tokens to every session and 7,675 once invoked, about $0.0010 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

security-compliance

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.

sangrokjung/claude-forge · 56 tokens

stride-analysis-patterns

Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.

sangrokjung/claude-forge · 30 tokens

cache-components

Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). PROACTIVE ACTIVATION: Use this skill automatically when working in Next.js projects that have cacheComponents: true in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best…

sangrokjung/claude-forge · 183 tokens

manage-skills

A maintenance workflow for checking whether project verification skills still cover the code and rules that changed during a session.

sangrokjung/claude-forge · 54 tokens

blind-spot-pass

Use before starting work in a domain you don't know well, to surface the "unknown unknowns" — the things you don't even know to ask about — and learn just enough to prompt and decide well. Implements the "blind spot pass" pattern from Anthropic's Fable "finding your unknowns" field guide. Triggers when you say "I'm…

sangrokjung/claude-forge · 221 tokens

skill-factory

A workflow that examines completed session work and turns reusable patterns into Claude Code skills.

sangrokjung/claude-forge · 122 tokens