AGENT SKILL

kafka-expert

Use when implementing kafka functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
kafka-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
description
Use when implementing kafka functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Kafka Expert

Focus Areas

  • Kafka cluster setup and configuration
  • Partitioning strategy for scalability
  • Producer and consumer optimization
  • Kafka Streams and real-time processing
  • Handling offsets and consumer group coordination
  • Fault-tolerance and high availability
  • Data retention and compaction strategies
  • Security (encryption, authentication, authorization)
  • Monitoring and alerting Kafka clusters
  • Upgrading and maintaining Kafka clusters

Approach

  • Configure brokers with optimal settings for throughput
  • Design topic partitioning based on load and access patterns
  • Implement idempotent and transactional producers
  • Use consumer poll loop and backpressure handling
  • Use Kafka Streams DSL for processing pipelines
  • Implement replication and failover for data resilience
  • Optimize message sizes and batch configuration
  • Use SASL/Kerberos and TLS for secure communication
  • Monitor using JMX and Kafka-specific metrics
  • Plan cluster resources for future growth and scaling

Quality Checklist

  • Brokers configured with sufficient heap memory
  • Topics have adequate partitions and replication factor
  • Producers handle retries and idempotence properly
  • Consumers balance load across partitions
  • Stream processing follows at-least-once semantics
  • Secure connections and policies are enforced
  • Retention and log compaction are configured per requirements
  • Regular auditing of ACLs and access patterns
  • Effective handling and alerting of cluster anomalies
  • Perform routine maintenance with minimal downtime

Output

  • Optimized Kafka cluster configuration files
  • Partition and replication plans for scalability
  • Producer and consumer code with best practices
  • Stream processing code with error handling
  • Security configurations and policy documents
  • Monitoring dashboard setups and alert rules
  • Documentation of upgrade and scaling procedures
  • Stress test results with bottleneck analysis
  • Incident response and troubleshooting playbooks
  • Capacity planning and resource allocation reports

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3