[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EVMFX3R5RNTQ6QNJVTYCHT":3,"skill-same:01M7EVMFX3R5RNTQ6QNJVTYCHT":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EVMFX3R5RNTQ6QNJVTYCHT","rabbitmq-pro",null,"RabbitMQ guidance — exchanges, queues, routing, acknowledgments, dead-lettering, clustering, and operations.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-rabbitmq-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rabbitmq-pro\ndescription: RabbitMQ guidance — exchanges, queues, routing, acknowledgments, dead-lettering, clustering, and operations.\ncategory: development\n---\n\n## Overview\n\nRabbitMQ is the classic AMQP message broker: producers publish to exchanges, exchanges route to queues by binding rules, and consumers process with explicit acknowledgments. Where Kafka is a replayable log, RabbitMQ is a smart router with per-message acknowledgment — ideal for task distribution, RPC patterns, and complex routing.\n\nIts model has more moving parts (exchanges, bindings, queues, prefetch, acks, dead-lettering), and each part has failure modes. This skill covers designing RabbitMQ topologies, consuming correctly (acks, prefetch, redelivery), and operating clusters reliably.\n\n## When to use\n\n- Building task queues, work distribution, or RPC over messaging.\n- Choosing between RabbitMQ, Kafka, NATS, SQS, or Redis Streams.\n- Designing exchanges, routing keys, and queue topologies.\n- Implementing reliable consumers (acks, prefetch, redelivery, DLX).\n- Setting up dead-letter exchanges and retry strategies.\n- Clustering RabbitMQ for high availability.\n- Debugging slow consumers, growing queues, or redelivered messages.\n\n## Core concepts\n\n- **Exchanges, queues, bindings.** Producers publish to exchanges; exchanges route to queues via bindings. Direct (exact routing key), topic (pattern matching), fanout (broadcast), headers (attribute matching) — pick the exchange type that matches your routing need.\n- **Queues hold, consumers ack.** Messages sit in queues until consumed and acknowledged. `ack` removes, `nack`\u002F`reject` with requeue returns to the queue, without requeue routes to the dead-letter exchange. Unacked messages block queue progress — ack deliberately.\n- **Prefetch (QoS).** `basic.qos(prefetch_count)` limits unacked messages per consumer — the fairness and backpressure knob. Too high: one slow consumer hoards messages; too low: throughput suffers. Tune per workload (start ~10-50 for typical tasks).\n- **Durability.** Durable exchanges\u002Fqueues + persistent messages survive broker restarts — but durability is opt-in at every level (exchange, queue, message). Miss one and messages vanish on restart.\n- **Dead-letter exchanges (DLX).** Rejected\u002Fexpired\u002Foverflowed messages route to a DLX for inspection and retry. Every production queue needs one — otherwise poison messages either loop forever or disappear silently.\n- **TTL and max length.** Per-message and per-queue TTLs expire stale work; `max-length` with overflow behavior (`reject-publish`, `drop-head`) bounds queue growth. Unbounded queues are an outage waiting for a consumer slowdown.\n- **Publisher confirms.** Async acknowledgment that the broker accepted a message — the producer-side reliability guarantee. Without confirms, published messages can be lost silently.\n- **Consumer acknowledgment modes.** Manual ack (control, required for reliability), auto-ack (fire-and-forget, lossy). Manual ack with careful error handling is the production default.\n- **Redelivery and idempotency.** Redelivered messages (the `redelivered` flag) are normal — after crashes, requeues, and timeouts. Consumers must be idempotent; count redeliveries and dead-letter after a threshold.\n- **Clustering and mirrored queues.** Classic mirrored queues (being phased out) vs quorum queues (Raft-based, the modern HA choice). Quorum queues for anything needing HA; understand their throughput characteristics.\n- **Shovels and federation.** Moving messages between brokers\u002Fclusters — for multi-datacenter or migration scenarios. Adds operational complexity; prefer it over stretching one cluster across regions.\n- **Management UI and HTTP API.** The management plugin exposes queues, rates, and consumer counts — your primary debugging surface. Protect it (auth, network policy) — it can also purge queues.\n- **Virtual hosts.** Namespaced environments (exchanges, queues, users) within one broker — isolate teams or environments without running more brokers.\n- **Delayed messaging.** No native delay; use TTL + DLX dead-lettering or the delayed-message plugin — know the tradeoffs (ordering, scale).\n- **Connection vs channel.** Connections are TCP (expensive); channels are multiplexed (cheap). One connection per process, channels per thread — never a connection per message.\n- **Lazy queues.** Messages stored on disk from the start — for queues that may grow large, trading latency for memory safety.\n\n## Practical workflow\n\n1. **Design the topology.** Name exchanges, queues, routing keys, and DLX wiring before coding. Keep routing keys hierarchical (`order.created`, `order.paid`) so topic exchanges stay flexible.\n   ```\n   orders.exchange (topic)\n     -> orders.created -> q.orders.created -> consumer: order-service\n     -> orders.*       -> q.orders.audit   -> consumer: audit-service\n     DLX: orders.dlx  -> q.orders.dead     -> consumer: dlq-inspector\n   ```\n2. **Declare everything as code.** Durable exchanges\u002Fqueues, bindings, DLX arguments — declared by the app at startup (idempotent declares), versioned in git, never hand-created in the UI for production paths.\n3. **Publish with confirms.** Enable publisher confirms; persist important messages; include message IDs, timestamps, and correlation IDs in headers.\n4. **Consume carefully.** Manual acks, sensible prefetch, ack after successful processing, `nack(requeue=false)` to DLX on permanent failure.\n   - Structure: receive → process → ack; on transient error, retry with backoff then DLX; on permanent error, DLX immediately.\n5. **Make consumers idempotent.** Track processed message IDs (or design upserts); handle the `redelivered` flag by checking before reprocessing.\n6. **Bound every queue.** TTLs for stale work, max-length with defined overflow, DLX on everything — queues must not grow without limit.\n7. **Use quorum queues for HA.** For clustered deployments needing durability; test failover; monitor Raft quorum health.\n8. **Operate.** Monitor queue depth, consumer count, unacked counts, publish\u002Fack rates, and node resource use; alert on growing queues (consumer death) and unacked buildup (consumer stuck).\n\n   ```python\n   ch.exchange_declare(\"orders.exchange\", exchange_type=\"topic\", durable=True)\n   ch.queue_declare(\"q.orders.created\", durable=True,\n                    arguments={\"x-dead-letter-exchange\": \"orders.dlx\"})\n   ch.queue_bind(\"q.orders.created\", \"orders.exchange\", routing_key=\"order.created\")\n   ```\n\n## Common pitfalls\n\n- **Auto-ack in production** — messages lost when consumers crash mid-processing; manual ack always for important work.\n- **No dead-letter exchange** — poison messages looping or vanishing; DLX on every queue.\n- **Prefetch too high** — one slow consumer starving others; tune prefetch per workload.\n- **Non-durable everything** — broker restart wiping queues and messages; durable exchanges\u002Fqueues + persistent messages.\n- **Forgetting publisher confirms** — published-into-the-void losses; enable confirms for critical publishes.\n- **Unbounded queues** — consumer slowdown → memory exhaustion; TTL + max-length + overflow policy.\n- **Non-idempotent consumers** — redeliveries causing double-processing; idempotency keys or upserts.\n- **Classic mirrored queues for new HA** — deprecated path; use quorum queues.\n- **Management UI exposed** — unauthenticated access to purge queues; lock it down.\n- **Single connection per message** — connection churn killing throughput; long-lived connections, channels per thread.\n- **Ignoring the `redelivered` flag** — treating redeliveries as new work; check before reprocessing.\n- **Cross-region single cluster** — latency and partition risk; use federation\u002Fshovel instead.\n- **Requeueing poison messages** — `requeue=true` on permanent failures looping forever; DLX after N attempts.\n- **No consumer timeout** — stuck consumers holding unacked messages; set consumer timeouts so wedged consumers get reaped.\n","## Overview\n\nRabbitMQ is the classic AMQP message broker: producers publish to exchanges, exchanges route to queues by binding rules, and consumers process with explicit acknowledgments. Where Kafka is a replayable log, RabbitMQ is a smart router with per-message acknowledgment — ideal for task distribution, RPC patterns, and complex routing.\n\nIts model has more moving parts (exchanges, bindings, queues, prefetch, acks, dead-lettering), and each part has failure modes. This skill covers designing RabbitMQ topologies, consuming correctly (acks, prefetch, redelivery), and operating clusters reliably.\n\n## When to use\n\n- Building task queues, work distribution, or RPC over messaging.\n- Choosing between RabbitMQ, Kafka, NATS, SQS, or Redis Streams.\n- Designing exchanges, routing keys, and queue topologies.\n- Implementing reliable consumers (acks, prefetch, redelivery, DLX).\n- Setting up dead-letter exchanges and retry strategies.\n- Clustering RabbitMQ for high availability.\n- Debugging slow consumers, growing queues, or redelivered messages.\n\n## Core concepts\n\n- **Exchanges, queues, bindings.** Producers publish to exchanges; exchanges route to queues via bindings. Direct (exact routing key), topic (pattern matching), fanout (broadcast), headers (attribute matching) — pick the exchange type that matches your routing need.\n- **Queues hold, consumers ack.** Messages sit in queues until consumed and acknowledged. `ack` removes, `nack`\u002F`reject` with requeue returns to the queue, without requeue routes to the dead-letter exchange. Unacked messages block queue progress — ack deliberately.\n- **Prefetch (QoS).** `basic.qos(prefetch_count)` limits unacked messages per consumer — the fairness and backpressure knob. Too high: one slow consumer hoards messages; too low: throughput suffers. Tune per workload (start ~10-50 for typical tasks).\n- **Durability.** Durable exchanges\u002Fqueues + persistent messages survive broker restarts — but durability is opt-in at every level (exchange, queue, message). Miss one and messages vanish on restart.\n- **Dead-letter exchanges (DLX).** Rejected\u002Fexpired\u002Foverflowed messages route to a DLX for inspection and retry. Every production queue needs one — otherwise poison messages either loop forever or disappear silently.\n- **TTL and max length.** Per-message and per-queue TTLs expire stale work; `max-length` with overflow behavior (`reject-publish`, `drop-head`) bounds queue growth. Unbounded queues are an outage waiting for a consumer slowdown.\n- **Publisher confirms.** Async acknowledgment that the broker accepted a message — the producer-side reliability guarantee. Without confirms, published messages can be lost silently.\n- **Consumer acknowledgment modes.** Manual ack (control, required for reliability), auto-ack (fire-and-forget, lossy). Manual ack with careful error handling is the production default.\n- **Redelivery and idempotency.** Redelivered messages (the `redelivered` flag) are normal — after crashes, requeues, and timeouts. Consumers must be idempotent; count redeliveries and dead-letter after a threshold.\n- **Clustering and mirrored queues.** Classic mirrored queues (being phased out) vs quorum queues (Raft-based, the modern HA choice). Quorum queues for anything needing HA; understand their throughput characteristics.\n- **Shovels and federation.** Moving messages between brokers\u002Fclusters — for multi-datacenter or migration scenarios. Adds operational complexity; prefer it over stretching one cluster across regions.\n- **Management UI and HTTP API.** The management plugin exposes queues, rates, and consumer counts — your primary debugging surface. Protect it (auth, network policy) — it can also purge queues.\n- **Virtual hosts.** Namespaced environments (exchanges, queues, users) within one broker — isolate teams or environments without running more brokers.\n- **Delayed messaging.** No native delay; use TTL + DLX dead-lettering or the delayed-message plugin — know the tradeoffs (ordering, scale).\n- **Connection vs channel.** Connections are TCP (expensive); channels are multiplexed (cheap). One connection per process, channels per thread — never a connection per message.\n- **Lazy queues.** Messages stored on disk from the start — for queues that may grow large, trading latency for memory safety.\n\n## Practical workflow\n\n1. **Design the topology.** Name exchanges, queues, routing keys, and DLX wiring before coding. Keep routing keys hierarchical (`order.created`, `order.paid`) so topic exchanges stay flexible.\n   ```\n   orders.exchange (topic)\n     -> orders.created -> q.orders.created -> consumer: order-service\n     -> orders.*       -> q.orders.audit   -> consumer: audit-service\n     DLX: orders.dlx  -> q.orders.dead     -> consumer: dlq-inspector\n   ```\n2. **Declare everything as code.** Durable exchanges\u002Fqueues, bindings, DLX arguments — declared by the app at startup (idempotent declares), versioned in git, never hand-created in the UI for production paths.\n3. **Publish with confirms.** Enable publisher confirms; persist important messages; include message IDs, timestamps, and correlation IDs in headers.\n4. **Consume carefully.** Manual acks, sensible prefetch, ack after successful processing, `nack(requeue=false)` to DLX on permanent failure.\n   - Structure: receive → process → ack; on transient error, retry with backoff then DLX; on permanent error, DLX immediately.\n5. **Make consumers idempotent.** Track processed message IDs (or design upserts); handle the `redelivered` flag by checking before reprocessing.\n6. **Bound every queue.** TTLs for stale work, max-length with defined overflow, DLX on everything — queues must not grow without limit.\n7. **Use quorum queues for HA.** For clustered deployments needing durability; test failover; monitor Raft quorum health.\n8. **Operate.** Monitor queue depth, consumer count, unacked counts, publish\u002Fack rates, and node resource use; alert on growing queues (consumer death) and unacked buildup (consumer stuck).\n\n   ```python\n   ch.exchange_declare(\"orders.exchange\", exchange_type=\"topic\", durable=True)\n   ch.queue_declare(\"q.orders.created\", durable=True,\n                    arguments={\"x-dead-letter-exchange\": \"orders.dlx\"})\n   ch.queue_bind(\"q.orders.created\", \"orders.exchange\", routing_key=\"order.created\")\n   ```\n\n## Common pitfalls\n\n- **Auto-ack in production** — messages lost when consumers crash mid-processing; manual ack always for important work.\n- **No dead-letter exchange** — poison messages looping or vanishing; DLX on every queue.\n- **Prefetch too high** — one slow consumer starving others; tune prefetch per workload.\n- **Non-durable everything** — broker restart wiping queues and messages; durable exchanges\u002Fqueues + persistent messages.\n- **Forgetting publisher confirms** — published-into-the-void losses; enable confirms for critical publishes.\n- **Unbounded queues** — consumer slowdown → memory exhaustion; TTL + max-length + overflow policy.\n- **Non-idempotent consumers** — redeliveries causing double-processing; idempotency keys or upserts.\n- **Classic mirrored queues for new HA** — deprecated path; use quorum queues.\n- **Management UI exposed** — unauthenticated access to purge queues; lock it down.\n- **Single connection per message** — connection churn killing throughput; long-lived connections, channels per thread.\n- **Ignoring the `redelivered` flag** — treating redeliveries as new work; check before reprocessing.\n- **Cross-region single cluster** — latency and partition risk; use federation\u002Fshovel instead.\n- **Requeueing poison messages** — `requeue=true` on permanent failures looping forever; DLX after N attempts.\n- **No consumer timeout** — stuck consumers holding unacked messages; set consumer timeouts so wedged consumers get reaped.\n",{"name":5,"category":24,"description":7},"development","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-rabbitmq-pro",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill rabbitmq-pro",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill rabbitmq-pro",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill rabbitmq-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-rabbitmq-pro\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]