← ClaudeAtlas

iw-batch-executelisted

Create and approve a batch for parallel execution of multiple work items. Analyzes dependencies, generates execution plan with diagram, requires explicit user approval. Use when running multiple work items, batch processing, or user says "batch execute", "run all", "execute batch", "/iw-batch-execute".
innovation-ways/iw-ai-core · ★ 0 · AI & Automation · score 70
Install: claude install-skill innovation-ways/iw-ai-core
# Batch Execute Work Items Create a batch for parallel execution of work items with full dependency analysis, execution plan, and visual diagram. **Input**: $ARGUMENTS ## Parse Input Parse the arguments to determine: 1. **Work items**: Either a space-separated list of IDs (e.g., `I070 I071 I072`) or the keyword `all` 2. **Max parallel**: If `--max=N` is present, use N. Otherwise use project default (4). Examples: - `/iw-batch-execute I070 I071 I072` → items=[I070, I071, I072] - `/iw-batch-execute all --max=4` → all approved items, max=4 ## Phase 1: Discover Work Items **If specific IDs provided**: Verify each item is registered and approved: ```bash iw item-status {ID} --json ``` Include only items with status `approved`. **If `all`**: Get all approved items from the platform: ```bash iw projects list --json ``` Then check each item. Include only `approved` items. ## Phase 2: Create Batch (generates plan + diagram) Create the batch — this automatically generates the execution plan with dependency analysis, draw.io diagram, and PNG visualization: ```bash iw batch-create {ITEM_ID_1} {ITEM_ID_2} ... [--max-parallel N] ``` This outputs the batch ID (e.g., `BATCH-00001`) and shows execution groups. ## Phase 3: Show Execution Plan and Diagram After batch creation, show the generated execution plan to the user. The plan is stored in the database and visible at the batch detail page. Get the full batch status: ```bash iw batch-status {BATCH_ID} ``` Present to the us