Sub-skill of parallel-batch-executor: 1. Always Set a Default (+4).
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill 1-always-set-a-default --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of 1 Always Set A Default?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-1-always-set-a-default)More formats (shields.io, HTML) on the badges page.
---
name: parallel-batch-executor-1-always-set-a-default
description: 'Sub-skill of parallel-batch-executor: 1. Always Set a Default (+4).'
version: 1.0.0
category: _core
type: reference
scripts_exempt: true
---
# 1. Always Set a Default (+4)
## 1. Always Set a Default
```bash
PARALLEL="${PARALLEL:-5}"
```
## 2. Validate Input
```bash
[[ $PARALLEL -gt 0 ]] || die "Parallelism must be positive"
[[ $PARALLEL -le 50 ]] || log_warning "High parallelism may overwhelm system"
```
## 3. Handle Failures Gracefully
```bash
# Don't use set -e with xargs - it will mask failures
# Instead, track failures explicitly
```
## 4. Log Everything
```bash
# Create per-task logs for debugging
log_file="$LOG_DIR/task_$(date +%s)_$$.log"
```
## 5. Clean Up Resources
```bash
trap cleanup EXIT INT TERM
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.