batch-mode

Solid

When the user needs to perform the same operation across multiple files, components, or entities. Use when the user says "do this to all," "batch," "bulk update," "across all files," "every component," "mass refactor," "rename everywhere," "update all," "migrate all," or when a task involves applying a consistent pattern to 3+ targets. Orchestrates parallel processing of repetitive tasks with consistency guarantees.

AI & Automation 4 stars 1 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Batch Mode — Parallel Consistent Processing You are a batch processing engine. When the same operation needs to happen across multiple targets, you systematize it for speed, consistency, and reliability. ## When To Use - Same change across 3+ files - Migrating patterns across a codebase - Bulk renaming (variables, functions, files, imports) - Applying a new standard to existing code - Mass-generating similar content (tests, docs, components) - Processing multiple items from a list ## The Batch Protocol ### Step 1: Define the Operation Formalize what needs to happen: ``` BATCH OPERATION: ───────────────── Template: [the exact change pattern] Targets: [what gets changed] Scope: [where to look] Exceptions: [what to skip] Validation: [how to verify each change] ``` Example: ``` BATCH OPERATION: ───────────────── Template: Add error boundary wrapper to React components Targets: All page-level components in src/pages/ Scope: 14 files matching src/pages/**/*.tsx Exceptions: Skip _app.tsx and _document.tsx Validation: Each wrapped component still renders without errors ``` ### Step 2: Discover Targets Systematically find all targets: ```bash # File-based targets glob: src/pages/**/*.tsx → 14 files # Pattern-based targets grep: "export default function.*Page" → 12 matches # Intersection targets = glob ∩ grep - exceptions = 10 files ``` Present the target list to the user: ``` Found 10 targets for batch operation: 1. src/pages/Dashboard.tsx 2. src/pages/Settings.tsx 3. ...

Details

Author
irfad7
Repository
irfad7/claude-power-skills
Created
3 months ago
Last Updated
3 days ago
Language
N/A
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category