MCP HubMCP Hub
Вернуться к навыкам

parallel-batch-executor-1-always-set-a-default

vamseeachanta
Обновлено Yesterday
11 просмотров
3
2
3
Посмотреть на GitHub
Другоеgeneral

О программе

Этот навык предоставляет лучшие практики для реализации параллельного пакетного выполнения в shell-скриптах, начиная с установки безопасных значений по умолчанию для параллелизма. Он включает шаблоны валидации, обработки сбоев, логирования и очистки ресурсов для обеспечения надежного выполнения. Используйте его при создании пакетных обработчиков, которые должны стабильно работать с параллельными задачами.

Быстрая установка

Claude Code

Рекомендуется
Основной
npx skills add vamseeachanta/workspace-hub
Команда плагинаАльтернативный
/plugin add https://github.com/vamseeachanta/workspace-hub
Git клонированиеАльтернативный
git clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/parallel-batch-executor-1-always-set-a-default

Скопируйте и вставьте эту команду в Claude Code для установки этого навыка

Документация

1. Always Set a Default (+4)

1. Always Set a Default

PARALLEL="${PARALLEL:-5}"

2. Validate Input

[[ $PARALLEL -gt 0 ]] || die "Parallelism must be positive"
[[ $PARALLEL -le 50 ]] || log_warning "High parallelism may overwhelm system"

3. Handle Failures Gracefully

# Don't use set -e with xargs - it will mask failures
# Instead, track failures explicitly

4. Log Everything

# Create per-task logs for debugging
log_file="$LOG_DIR/task_$(date +%s)_$$.log"

5. Clean Up Resources

trap cleanup EXIT INT TERM

GitHub репозиторий

vamseeachanta/workspace-hub
Путь: .claude/skills/_core/bash/parallel-batch-executor/1-always-set-a-default

Похожие навыки

algorithmic-art

Мета

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

Просмотреть навык

subagent-driven-development

Разработка

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

Просмотреть навык

executing-plans

Дизайн

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

Просмотреть навык

cost-optimization

Другое

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

Просмотреть навык