# Commandkit Queue

> Build queue-based messaging workflows with @commandkit/queue. Use for driver bootstrap, topic/payload contracts, send/receive patterns, and resilient consumer handling.

- Skill: `neplexlabs/commandkit-queue` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add neplexlabs/commandkit-queue`
- Raw SKILL.md: https://api.skillmd.com/api/skills/neplexlabs/commandkit-queue/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: neplexlabs (https://skillmd.com/u/neplexlabs)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/neplexlabs/commandkit-queue

---


# CommandKit Queue Plugin

## Activation guidance

Use for decoupled async communication between bot components/services.

## Required filesystem expectations

- queue bootstrap module (for example `src/bootstrap/queue.ts`)
- producers/consumers in command/event/service layers
- shared payload type module for typed contracts

## Execution workflow

1. Register queue driver once at startup.
2. Define topic naming and payload contracts.
3. Implement send/receive handlers with error strategy.
4. Ensure idempotent consumption behavior.

## Guardrails

- Avoid unstructured payloads.
- Avoid side-effect-heavy consumers without retry/idempotency
  planning.

## Reference index

| Name                                    | Description                                                |
| --------------------------------------- | ---------------------------------------------------------- |
| `references/00-filesystem-structure.md` | Queue bootstrap placement and typed contract organization. |
| `references/01-driver-setup.md`         | Driver setup with Redis PubSub integration.                |
| `references/02-send-and-receive.md`     | Publish/subscribe usage patterns.                          |
| `references/03-typed-events.md`         | Typed message contract approach.                           |

## Tool index

| Name  | Description                                      |
| ----- | ------------------------------------------------ |
| `N/A` | This skill currently has no helper tool scripts. |

