[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74NFVCXP6R2QWZVZFP9B2ZV":3,"skill-same:01M74NFVCXP6R2QWZVZFP9B2ZV":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M74NFVCXP6R2QWZVZFP9B2ZV","stack-kafka",null,"Apache Kafka messaging — idempotence, error handling, manual offset committing, schema registry, partition ordering","Snakeblack\u002Fospec-workflow","Snakeblack","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F49766621?v=4","01M74NA5A4XHJYFRMG9JHM2R4K","Michael Snake","01M74NA5ASKTH7DG1P6DKC8WTX",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-kafka\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: stack-kafka\ndescription: \"Apache Kafka messaging — idempotence, error handling, manual offset committing, schema registry, partition ordering\"\nlicense: Apache-2.0\nmetadata:\n  author: manuel-retamozo-garcia\n  version: \"1.0\"\ncapabilities: [kafka]\n---\n\n## Critical Rules\n\n- **Idempotence**: Always enable producer idempotence (`enable.idempotence=true`) to guarantee exactly-once delivery semantics per partition and prevent duplicate messages.\n- **Manual Offset Commit**: Disable auto-committing offsets (`enable.auto.commit=false`) in consumers. Commit offsets manually only after the message has been successfully processed.\n- **DLQ and Error Handling**: Implement structured retry policies. When a message fails validation or processing repeatedly, route it to a Dead Letter Queue (DLQ) topic to avoid blocking the partition.\n- **Schema Contracts**: Define schemas using Avro or JSON Schema and register them with a central Schema Registry to enforce backwards\u002Fforward compatibility contract rules.\n- **Partition Ordering**: Ensure message keys are defined appropriately. Messages with the same key are guaranteed to be routed to the same partition and processed in order.\n\n## Producer Guidelines\n\n1. **Idempotence**: Ensuring `enable.idempotence=true` automatically configures `acks=all`, retries to maximum, and max in-flight requests per connection to $\\le 5$, avoiding message duplication and reordering.\n2. **Partition Keys**: Assign explicit, meaningful keys (e.g., `order_id`, `customer_id`) rather than leaving them null. A null key will round-robin messages, breaking sequential message ordering requirements.\n3. **Schema Registry**: Ensure schema serialization uses Registry-aware serializers (e.g., `KafkaAvroSerializer`). Never send raw strings or arbitrary JSON unless explicitly designed.\n\n## Consumer Guidelines\n\n1. **Manual Commit**: Commit offsets after processing (e.g., `commitSync()` or `commitAsync()`) to avoid losing messages due to application crashes during auto-commits.\n2. **Error Handling & DLQ**:\n   - Parse or deserialize exceptions should route to an invalid-payload DLQ immediately.\n   - Transient operational errors should trigger a backoff retry mechanism (e.g., Spring Kafka container-level retries or custom retry topics).\n   - Poison pill messages must be forwarded to the DLQ after a maximum number of failed attempts to keep the consumer group moving.\n","## Critical Rules\n\n- **Idempotence**: Always enable producer idempotence (`enable.idempotence=true`) to guarantee exactly-once delivery semantics per partition and prevent duplicate messages.\n- **Manual Offset Commit**: Disable auto-committing offsets (`enable.auto.commit=false`) in consumers. Commit offsets manually only after the message has been successfully processed.\n- **DLQ and Error Handling**: Implement structured retry policies. When a message fails validation or processing repeatedly, route it to a Dead Letter Queue (DLQ) topic to avoid blocking the partition.\n- **Schema Contracts**: Define schemas using Avro or JSON Schema and register them with a central Schema Registry to enforce backwards\u002Fforward compatibility contract rules.\n- **Partition Ordering**: Ensure message keys are defined appropriately. Messages with the same key are guaranteed to be routed to the same partition and processed in order.\n\n## Producer Guidelines\n\n1. **Idempotence**: Ensuring `enable.idempotence=true` automatically configures `acks=all`, retries to maximum, and max in-flight requests per connection to $\\le 5$, avoiding message duplication and reordering.\n2. **Partition Keys**: Assign explicit, meaningful keys (e.g., `order_id`, `customer_id`) rather than leaving them null. A null key will round-robin messages, breaking sequential message ordering requirements.\n3. **Schema Registry**: Ensure schema serialization uses Registry-aware serializers (e.g., `KafkaAvroSerializer`). Never send raw strings or arbitrary JSON unless explicitly designed.\n\n## Consumer Guidelines\n\n1. **Manual Commit**: Commit offsets after processing (e.g., `commitSync()` or `commitAsync()`) to avoid losing messages due to application crashes during auto-commits.\n2. **Error Handling & DLQ**:\n   - Parse or deserialize exceptions should route to an invalid-payload DLQ immediately.\n   - Transient operational errors should trigger a backoff retry mechanism (e.g., Spring Kafka container-level retries or custom retry topics).\n   - Poison pill messages must be forwarded to the DLQ after a maximum number of failed attempts to keep the consumer group moving.\n",{"name":5,"license":15,"metadata":24,"description":7,"capabilities":27},{"author":25,"version":26},"manuel-retamozo-garcia","1.0",[28],"kafka","main","e5fa11517ba3d433260f3077a2b8fadfad290896","skills\u002Fstack-kafka",0,"https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow","https:\u002F\u002Fospec-workflow.mretamozo.com","https:\u002F\u002Fgithub.com\u002FSnakeblack","mretamozo.com","Full Stack Developer | Lifelong learner","2026-11-15 04:24:36",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add Snakeblack\u002Fospec-workflow --skill stack-kafka",{"tool":45,"command":46},"bunx","bunx skills add Snakeblack\u002Fospec-workflow --skill stack-kafka",{"tool":48,"command":49},"pnpm","pnpm dlx skills add Snakeblack\u002Fospec-workflow --skill stack-kafka","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-kafka\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M74NGTKSC65ZZZMZH9SVP86D","work-unit-commits","Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fwork-unit-commits\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M74NGQBZ2BPFSNGREJJ2RKHG","stack-webmcp","Trigger: WebMCP, document.modelContext, web tools, AI browser agent. Web Model Context Protocol client-side tool standard.","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-webmcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M74NGM8GVVSMC8T2CHGR8DFZ","stack-vite","Vite frontend build tool — configuration, plugins, asset loading","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-vite\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M74NGHF902XYK25R6AZ1XK2T","stack-starlight","Astro Starlight documentation framework — setup, sidebar navigation, frontmatter, built-in components, asides, theming, i18n, search","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-starlight\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74NGFD2Q6GKDA7C233756X8","stack-sqlserver","Microsoft SQL Server database — indexing, RCSI, set-based operations, SARGable queries, transaction scopes","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-sqlserver\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M74NGACCR2QG9EE5HPN51QBD","stack-springboot","Spring Boot architecture patterns — REST API design, layered services, JPA, caching, Spring Security, TDD with MockMvc and Testcontainers, and pre-release verification","https:\u002F\u002Fgithub.com\u002FSnakeblack\u002Fospec-workflow\u002Fblob\u002Fmain\u002Fskills\u002Fstack-springboot\u002FSKILL.md",[],[]]