AGENT SKILL

bullmq-expert

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

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

01 前言 Front Matter

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

03 SKILL.md 正文

Bullmq Expert

Focus Areas

  • Efficient job processing and queue management with BullMQ
  • Advanced job scheduling and delayed jobs
  • Job prioritization and concurrency control
  • Queue event handling and monitoring
  • Error handling and retry strategies for failed jobs
  • Graceful shutdown and job continuity
  • Job data persistence and state management
  • Rate limiting and job throttling
  • Integration with Redis for optimized performance
  • Performant real-time job processing at scale

Approach

  • Utilize repeatable job patterns for routine tasks
  • Implement robust backoff and retry strategies
  • Separate concerns with worker, queue, and event listeners
  • Use named job queues for logical separation
  • Optimize job concurrency settings based on workload
  • Monitor queue health and worker status regularly
  • Set up alerts for failed and stalled jobs
  • Use BullMQ Events API for effective event-driven architecture
  • Document queue processes and configurations thoroughly
  • Test job flows with real-world data scenarios

Quality Checklist

  • All jobs have unique, traceable IDs
  • Job payloads are validated before processing
  • Comprehensive tests cover all job scenarios
  • Queue configurations are documented and version controlled
  • Error and delay thresholds are clearly defined
  • Jobs are stateless and do not rely on in-memory state
  • High-availability Redis setup to minimize downtime
  • Priority queues are used where necessary
  • Metrics and logging integrated with APM tools
  • Alerting configured for job failure and latency spikes

Output

  • Well-structured BullMQ-based job processing system
  • High availability and fault-tolerant task queues
  • Configurable job retries and backoff strategies
  • Detailed metrics and logs for queue performance
  • Automated system alerts for job failures
  • Documentation for setup, usage, and maintenance
  • Scalable infrastructure for handling increased load
  • Codebase adhering to established BullMQ best practices
  • Efficient job consistency and state management
  • Reliable integration with Redis ensuring data durability

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