kafka-schema-registry
Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry…
Skill by confluentincOfficial
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/confluentinc-kafka-schema-registry
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, devops, data, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/kafka-schema-registry
What's inside
- Skill name
kafka-schema-registry- Description
- Scan a project to identify Kafka applications, extract schemas from data models, tag PII fields, generate Terraform for Confluent Schema Registry registration, and produce a migration report with rollout ordering. Use this skill when a user asks to analyze a folder or repo for Kafka usage, extract schemas, audit producer/consumer configurations, or generate Terraform for Schema Registry.
- License
- Apache-2.0
- Metadata
- version: 1.0.0
- Instructions
- 241 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (50)
- SKILL.md
- evals.json · evals/
- pom.xml · evals/mock-repos/acme-services/billing-service/
- Invoice.java · evals/mock-repos/acme-services/billing-service/src/main/java/com/acme/billing/
- requirements.txt · evals/mock-repos/acme-services/inventory-service/
- producer.py · evals/mock-repos/acme-services/inventory-service/src/
- consumer.py · evals/mock-repos/acme-services/reporting-service/src/
- pom.xml · evals/mock-repos/acme-services/user-service/
- UserEvent.java · evals/mock-repos/acme-services/user-service/src/main/java/com/acme/users/
- .env.example · evals/mock-repos/api-gateway/
- package.json · evals/mock-repos/api-gateway/
- middleware.js · evals/mock-repos/api-gateway/src/
- server.js · evals/mock-repos/api-gateway/src/
- requirements.txt · evals/mock-repos/ecommerce-platform/analytics-service/
- analytics_producer.py · evals/mock-repos/ecommerce-platform/analytics-service/src/
- package.json · evals/mock-repos/ecommerce-platform/notification-service/
- notification-producer.js · evals/mock-repos/ecommerce-platform/notification-service/src/
- pom.xml · evals/mock-repos/ecommerce-platform/order-service/
- OrderEvent.java · evals/mock-repos/ecommerce-platform/order-service/src/main/java/com/ecommerce/orders/
- OrderProducer.java · evals/mock-repos/ecommerce-platform/order-service/src/main/java/com/ecommerce/orders/
- go.mod · evals/mock-repos/go-kafka-producer/
- producer.go · evals/mock-repos/go-kafka-producer/
- requirements.txt · evals/mock-repos/legacy-event-publisher/
- event_publisher.py · evals/mock-repos/legacy-event-publisher/src/
- UserNotification.cs · evals/mock-repos/notification-service/Models/
- NotificationProducer.cs · evals/mock-repos/notification-service/
- NotificationService.csproj · evals/mock-repos/notification-service/
- config.yaml · evals/mock-repos/order-processor/
- requirements.txt · evals/mock-repos/order-processor/
- models.py · evals/mock-repos/order-processor/src/
- producer.py · evals/mock-repos/order-processor/src/
- pom.xml · evals/mock-repos/payment-service/
- PaymentEvent.java · evals/mock-repos/payment-service/src/main/java/com/example/payment/model/
- PaymentProducer.java · evals/mock-repos/payment-service/src/main/java/com/example/payment/producer/
- application.properties · evals/mock-repos/payment-service/src/main/resources/
- pom.xml · evals/mock-repos/streams-processor/
- StreamsApp.java · evals/mock-repos/streams-processor/src/main/java/com/example/streams/
- application.properties · evals/mock-repos/streams-processor/src/main/resources/
- pom.xml · evals/mock-repos/transaction-system/order-service/
- OrderCreatedEvent.java · evals/mock-repos/transaction-system/order-service/src/main/java/com/tx/orders/
- OrderProducer.java · evals/mock-repos/transaction-system/order-service/src/main/java/com/tx/orders/
- pom.xml · evals/mock-repos/transaction-system/payment-service/
- PaymentProcessedEvent.java · evals/mock-repos/transaction-system/payment-service/src/main/java/com/tx/payments/
- PaymentProducer.java · evals/mock-repos/transaction-system/payment-service/src/main/java/com/tx/payments/
- categorization.md · references/
- code-migration.md · references/
- detection-patterns.md · references/
- report-template.md · references/
- schema-inference.md · references/
- terraform-templates.md · references/
SKILL.md (first lines)
# Kafka Schema Registry Skill
Scan a project to identify Kafka applications, extract schemas, generate Terraform for Schema Registry registration, and produce a comprehensive analysis report.
## When to Use
Invoke this skill when:
- A user asks to analyze a project for Kafka usage in order to add event schemas or integrate Schema Registry
- A user wants to extract schemas from Kafka producers
- A user wants Terraform to register schemas to Schema Registry
- A user wants to audit Kafka producer/consumer configurations
## Deliverables
This skill produces 3 outputs in the target project:
1. **`schema-report.md`** — Full analysis report with findings, risks, and upgrade recommendations
2. **`schemas/`** — Extracted schema files (Avro, JSON Schema, Protobuf) with PII tagging
3. **`terraform/`** — Terraform configs using Confluent provider to register schemas
### Optional: Code Migration Assistance
If the user asks for their application code to be updated to integrate Schema Registry, use the [Code Migration Reference](references/code-migration.md) to update the code with proper Schema Registry integration patterns.
---
## High-Level Workflow
### Phase 0: Initialize
- Check for existing `schema.yaml` and `schemas/` directory manually
- Note any existing schema infrastructure in the report
### Phase 1: Project Scan & Kafka Detection
1. **Find build files** — Search for `pom.xml`, `build.gradle`, `requirements.txt`, `package.json`, etc.
2. **Detect Kafka dependencies** — Look for `spring-kafka`, `confluent-kafka`, `kafkajs`, etc.
3. **Find producers & consumers** — Grep for `KafkaTemplate`, `Producer(`, `producer.send`, etc.
4. **Extract topic names** — From string literals, config properties, YAML files
5. **Identify serializers** — Find `value.serializer`, `KafkaAvroSerializer`, custom serializers
6. **Build app catalog** — Compile findings: app name, language, role, topics, serializer, category
**Detailed patterns:** [Detection Patterns Reference](references/detection-patterns.md)
**App catalog structure:**
```yaml
app_name: module name
language: Java | Python | .NET | Go | Node/TS
role: producer | consumer | both
topics: [list of topics]
serializer_class: value.serializer used
custom_serializer: true | false
schema_format: AVRO | JSON | PROTOBUF | UNKNOWN
sr_integrated: true | false
category: A | B | C | D | E # REQUIRED
```
**Multi-schema topic detection:**
- If multiple data models produce to the same topic, create a wrapper schema with `oneOf`/union/`oneof`
- Generate Terraform with `schema_reference` blocks
- Flag prominently in report
### Phase 2: Risk Detection
Search for:
- **`auto.register.schemas=true`** — Uncontrolled schema evolution (Category C)
- **`use.latest.version`** — Eases migration when set
- **Custom serializers** — Bypass SR entirely (Category E)
Record file path, line number, and affected topics for each occurrence.
**Patterns:** [Detection Patterns Reference](references/detection-patterns.md#risk-detection)
### Phase 3: Schema Inference
For each producer:
1. **Check for existing schema files** — `**/*.avsc`, `**/*.proto`, `**/*.schema.json`
2. **Infer from data models** — Java classes, Pydantic models, TypeScript interfaces, Go structs
3. **Infer from inline data** — HashMap, dict literals, map[string]any, plain objects, JSON strings
4. **Convert to schemas** — Map language types to JSON Schema / Avro / Protobuf
5. **Tag PII fields** — Scan field names for `email`, `ssn`, `phone`, `address`, etc.
**PII tagging:** Add `confluent:tags` (`PII`, `PRIVATE`, `SENSITIVE`, `PHI`) to detected fields.
**Detailed inference patterns:** [Schema Inference Reference](references/schema-inference.md)
### Phase 4: Categorize Producers
Classify each producer:
| Category | Criteria |
|----------|----------|
| **A: Compliant** | Confluent serializer + SR + no auto.register |
| **A→Header** | Already on SR, migrating to headers |
| **B: Schema in code, no SR** | Data models exist, but no SR integration |
| **C: Auto-register** | `auto.register.schemas=true` |
| **D: No schema** | Raw strings/bytes, no data model |
| **E: Custom serializer** | Custom `Serializer<T>` or inline serialization without SR |
**CRITICAL:** Use exact phrase "Category X" in:
- App catalog field
- Applications Discovered table
- Report section headers
- Terraform comments
- Risk sections
**Details:** [Categorization Reference](references/categorization.md)
### Phase 5: Create Schema Files
**Directory structure:**
```
schemas/
├── avro/
│ └── {topic}-value.avsc
├── json/
│ └── {topic}-value.json
└── proto/
└── {topic}-value.protoFrom confluentinc/agent-skills, Apache-2.0.
More from confluentinc/agent-skills
- 0.725score
msk-migration
confluentincOfficial
Use this skill to assess and plan a migration from AWS MSK (Managed Streaming for Apache Kafka) to Confluent Cloud.
SkillBFreshness: B★ 59Claude Code +9 - 0.725score
confluent-cloud-flink-sql
confluentOfficial
Write and debug Flink SQL that runs on Confluent Cloud, enforcing the CC-vs-Apache-Flink (OSS) dialect boundary.
SkillBFreshness: B★ 59Claude Code +9 - 0.725score
confluent-tuning-advisor
confluentOfficial
Advisory-only Kafka tuning for Confluent Cloud or Confluent Platform by priority: latency, throughput, availability, or durability.
SkillBFreshness: B★ 59Claude Code +9 - 0.725score
kafka-streams-programming
confluentincOfficial
Architect, build, and debug Kafka Streams apps (JVM-embedded stream processing).
SkillBFreshness: B★ 59Claude Code +9 - 0.725score
flink-udf
confluentincOfficial
Build and deploy Apache Flink user-defined functions (UDFs) in Java for stream processing over Kafka.
SkillBFreshness: B★ 59Claude Code +9 - 0.721score
confluent-skill-creator
confluentOfficial
Create Confluent-specific skills for external users.
SkillBFreshness: B★ 59Claude Code +9 - 0.721score
confluent-skill-reviewer
confluentOfficial
Review a Confluent agent skill in this repo against the Agent Skills spec (agentskills.io), Confluent conventions in CLAUDE.md, the PR template gates, and the…
SkillBFreshness: B★ 59Claude Code +9 - 0.715score
confluent-cloud-cdc-tableflow
confluentincOfficial
Set up end-to-end Change Data Capture (CDC) pipelines on Confluent Cloud using Debezium source connectors, Flink for transformation, and Tableflow for data…
SkillBFreshness: B★ 59Claude Code +9 - 0.697score
developing-kafka-java-client
confluentincOfficial
Use when the user wants to integrate a Kafka client into an existing application or scaffold a Java Kafka client project (Maven or Gradle based) for Confluent…
SkillBFreshness: B★ 59Claude Code +9 - 0.697score
developing-kafka-python-client
confluentincOfficial
Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed…
SkillBFreshness: B★ 59Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 59
- Forks
- 11
- Open issues
- 1
- Last commit (this folder)
- Jul 6, 2026 (3 months ago)
- Last release
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- Apache-2.0
- Repository
- github.com/confluentinc/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from confluentinc
- 0.725score
kafka-streams-programming
confluentincOfficial
Architect, build, and debug Kafka Streams apps (JVM-embedded stream processing).
SkillBFreshness: B★ 59Claude Code +9 - 0.725score
flink-udf
confluentincOfficial
Build and deploy Apache Flink user-defined functions (UDFs) in Java for stream processing over Kafka.
SkillBFreshness: B★ 59Claude Code +9 - 0.725score
msk-migration
confluentincOfficial
Use this skill to assess and plan a migration from AWS MSK (Managed Streaming for Apache Kafka) to Confluent Cloud.
SkillBFreshness: B★ 59Claude Code +9 - 0.715score
confluent-cloud-cdc-tableflow
confluentincOfficial
Set up end-to-end Change Data Capture (CDC) pipelines on Confluent Cloud using Debezium source connectors, Flink for transformation, and Tableflow for data…
SkillBFreshness: B★ 59Claude Code +9 - 0.697score
developing-kafka-java-client
confluentincOfficial
Use when the user wants to integrate a Kafka client into an existing application or scaffold a Java Kafka client project (Maven or Gradle based) for Confluent…
SkillBFreshness: B★ 59Claude Code +9 - 0.697score
developing-kafka-python-client
confluentincOfficial
Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed…
SkillBFreshness: B★ 59Claude Code +9
Cite this page
kafka-schema-registry skill. Agent Mart. https://agentmart.dev/skills/confluentinc-kafka-schema-registry (last updated 2026-10-24)