CtrlK
BlogDocsLog inGet started
Tessl Logo

developing-kafka-java-client

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 Cloud, local Docker, or WarpStream. Covers the Apache Kafka Java clients (KafkaProducer/KafkaConsumer/KafkaShareConsumer) with Avro, JSON Schema, or Protobuf serializers. Also use when the user wants to optimize Java Kafka client configuration for WarpStream. Do NOT trigger for Kafka Streams apps (use kafka-streams-programming), Flink, connectors, or Kafka Python client (use developing-kafka-python-client).

77

Quality

97%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a well-structured, highly actionable guide with clear sequencing, validation checkpoints, and clean one-level-deep reference navigation; its only weakness is repetition of the confirmation-gate and core-principle material across several sections.

Suggestions

Consolidate the confirmation gate: keep one authoritative statement (the HARD-GATE block or Step 1b) and have the other mentions reference it rather than restating the full procedure, trimming ~15-20 lines.

Merge the Common Agent Mistakes table with the Core Principles list so each gotcha ('one producer instance', 'auto.register.schemas=false', 'wire-format schema ID') appears once instead of being explained in two places.

Fold the per-pattern Producer Patterns / Consumer Pattern key-points bullets into the Core Principles items they duplicate (reuse instance, graceful shutdown, explicit schema registration) to remove the remaining overlap.

DimensionReasoningScore

Conciseness

The body is dense but purposeful for a multi-environment/multi-build/multi-schema skill and assumes Claude's competence (no 'what is Kafka' primer); it loses a point to redundancy — the confirmation gate is restated across the HARD-GATE block, the Step 1 intro, the 'Mandatory confirmation gate' paragraph, and Step 1b, and Core Principles overlaps the Common Agent Mistakes table and Producer/Consumer Pattern sections.

4 / 5

Actionability

Fully executable guidance: an explicit file-structure tree, complete per-environment .properties.example blocks, exact mvn exec:java / ./gradlew run and kafka-features / kafka-configs commands, precise docker listener names, and pointed references to template files covering the common cases.

5 / 5

Workflow Clarity

A clear 3-step sequence (Gather Requirements -> Generate -> Guide User) with a HARD-GATE confirmation checkpoint before generation, a decision flowchart, connectivity verification, and a build-test-fix feedback loop ('run mvn test ... if any test fails, fix the generated code not the tests until they pass').

5 / 5

Progressive Disclosure

SKILL.md is an overview with clearly signaled, one-level-deep references ('Use references/AvroProducer.java', 'Read references/consumer.md'); all 18 referenced files exist, and the only further .md mentions inside references are external documentation URLs, not nested internal hops.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific, complete, and highly distinctive: it states concrete actions, explicit 'Use when' triggers, and names the sibling skills to avoid, leaving little ambiguity about when it should fire.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'integrate a Kafka client into an existing application', 'scaffold a Java Kafka client project (Maven or Gradle based)', 'optimize Java Kafka client configuration' — plus specific classes (KafkaProducer/KafkaConsumer/KafkaShareConsumer), serializers (Avro/JSON Schema/Protobuf), and three target environments, giving comprehensive coverage.

5 / 5

Completeness

Explicitly answers both 'what' (integrate/scaffold/optimize Java Kafka clients with Schema Registry serializers across environments) and 'when' (two 'Use when the user wants to...' clauses), with concrete trigger phrases.

5 / 5

Trigger Term Quality

Natural user-facing phrases ('integrate a Kafka client', 'scaffold a Java Kafka client project', 'Confluent Cloud', 'local Docker', 'WarpStream', 'Maven or Gradle') are paired with explicit negative triggers ('Kafka Streams', 'Flink', 'connectors', 'Kafka Python client'), covering common synonyms and exclusions.

5 / 5

Distinctiveness Conflict Risk

A clear Java-Kafka-clients niche plus named-sibling-skill exclusion ('Do NOT trigger for ... use kafka-streams-programming ... use developing-kafka-python-client') makes overlap with related skills minimal.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
confluentinc/agent-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.