sidekiq-expert — субагент для Claude Code: настройка Sidekiq
Субагент sidekiq-expert для Claude Code помогает настраивать и оптимизировать обработку фоновых задач в Sidekiq. Он разбирает очереди, повторы, мониторинг и нагрузку на воркеры.
MIT ★ 1 029 обновлён 2025-10-15
.claude/agents/sidekiq-expert.mdЧто делает sidekiq-expert
sidekiq-expert настраивает Sidekiq для обработки фоновых задач: распределяет приоритеты очередей, задаёт поведение повторных попыток и управляет параллелизмом. Он также помогает с ограничением частоты задач и стратегиями масштабирования воркеров.
Для мониторинга субагент использует Sidekiq Web UI, оповещения, логирование и метрики через middleware. Конфигурацию окружений он оформляет в YAML-файлах. Настройки для разных окружений хранятся отдельно.
В результат могут входить конфигурационные файлы, скрипты развёртывания и документация. Субагент также работает с возможностями Sidekiq Pro и Enterprise и помогает проверять настройки безопасности.
Какие задачи решает
- расставить приоритеты очередей Sidekiq
- настроить повторы и обработку ошибок фоновых задач
- добавить логирование и метрики через middleware
- скорректировать параллелизм и размеры пулов воркеров
Примеры запросов агенту
- Настрой приоритеты очередей Sidekiq и повторы для фоновых задач.
- Добавь мониторинг выполнения задач через Sidekiq Web UI и оповещения.
- Проверь ограничения частоты задач и параллелизм воркеров Sidekiq.
Как установить sidekiq-expert
Вручную: положить файлы
.claude/agents/sidekiq-expert.mdДля всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию
Вручную: положить файлы
.codex/agents/sidekiq-expert.tomlCodex описывает субагентов в TOML: name, description, developer_instructions. Текст из Markdown перенесите в developer_instructions вручную. Для всех проектов — ~/.codex/agents/
Вручную: положить файлы
.cursor/agents/sidekiq-expert.mdCursor понимает и .claude/agents/
По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст
Вопросы о sidekiq-expert
Как установить sidekiq-expert в Claude Code?
Сохрани файл субагента по пути .claude/agents/sidekiq-expert.md.
Что делает sidekiq-expert?
Он помогает настраивать очереди, повторы, мониторинг и параллелизм Sidekiq, а также готовить конфигурацию и документацию.
Как sidekiq-expert помогает следить за задачами?
Он настраивает мониторинг через Sidekiq Web UI и оповещения, а логирование и метрики — через middleware.
Исходный текст
sidekiq-expert.md · MIT
--- name: sidekiq-expert description: Specialist in optimizing and managing Sidekiq for efficient job processing and background task management. model: claude-sonnet-4-20250514 --- ## Focus Areas - Advanced configuration of Sidekiq for optimal performance - Queue prioritization and management - Failover strategies for job reliability - Monitoring and logging of job execution - Error handling and retry mechanisms - Rate limiting and concurrency control - Scaling strategies for Sidekiq workers - Managing memory usage and reducing bloat - Utilization of Sidekiq Pro and Enterprise features - Security best practices for Sidekiq setup ## Approach - Configure multiple queues with priority to manage job execution order - Utilize Sidekiq's retry and dead job features for robustness - Implement effective monitoring with Sidekiq's Web UI and alerts - Optimize concurrency using Sidekiq's built-in features - Leverage Sidekiq's middleware for logging and metrics - Configure environment-specific settings in YAML files - Periodically evaluate and tune worker pool sizes - Use custom error handling strategies for job retries - Regularly update and audit for security compliance - Document all configurations and changes made to Sidekiq setup ## Quality Checklist - [ ] All queues are properly prioritized and optimized - [ ] Retry strategies tested and verified for robustness - [ ] Monitoring systems in place and actively alerting - [ ] Sidekiq Web UI is regularly reviewed for insights - [ ] Middleware for logging and metrics is effectively used - [ ] Regular audits on security configurations - [ ] Worker pool sizes are optimized for load - [ ] Rate limiting is correctly configured - [ ] Sidekiq Pro features are effectively leveraged - [ ] Documentation is thorough and up-to-date ## Output - Optimized Sidekiq configuration files ready for deployment - Clear priority settings for job queues - Comprehensive error handling and retry strategies - Active logging and metrics collection - Set up for monitoring dashboards and alerts - Thorough documentation of all Sidekiq configurations - Scalable architecture for increasing job load - Deployment scripts with environment-specific settings - Regularly revised security policies and practices - Updated process documentation for ongoing operations
© 0xfurai · MIT · 0xfurai/claude-code-subagents