home/productivity/batch-operations-prompt

Batch Operations Prompt

GPTClaudeDeepSeek··526 copies·updated 2026-07-14
batch-operations-prompt.prompt
# Batch Operations Prompt

Optimize prompts for multiple file operations, parallel processing, and efficient bulk changes across a codebase. This helps Claude Code work more efficiently with TodoWrite patterns.

## Usage Examples

### Basic Usage
"Convert to batch: Update all test files to use new API"
"Batch prompt for: Rename variable across multiple files"
"Optimize for parallel: Add logging to all service files"

### With File Input
`/batch-operations-prompt @path/to/operation-request.md`
`/batch-operations-prompt @../refactoring-plan.txt`

### Complex Operations
"Batch refactor: Convert callbacks to async/await in all files"
"Parallel update: Add TypeScript types to all components"
"Bulk operation: Update import statements across the project"

## Instructions for Claude

When creating batch operation prompts:

### Input Handling
- If `$ARGUMENTS` is provided, read the file at that path to get the operation request to optimize
- If no `$ARGUMENTS`, use the user's direct input as the operation to optimize
- Support relative and absolute file paths

1. **Identify Parallelizable Tasks**: Determine what can be done simultaneously
2. **Group Related Operations**: Organize tasks by type and dependency
3. **Create Efficient Sequences**: Order operations to minimize conflicts
4. **Use TodoWrite Format**: Structure for Claude's task management
5. **Include Validation Steps**: Add checks between batch operations

### Batch Prompt Structure

#### 1. Overview
- Scope of changes
- Files/patterns affected
- Expected outcome

#### 2. Prerequisite Checks
- Required tools/dependencies
- Initial validation commands
- Backup recommendations

#### 3. Parallel Operations
- Independent tasks that can run simultaneously
- File groups that don't conflict
- Read operations for gathering information

#### 4. Sequential Operations
- Tasks with dependencies
- Operations that modify same files
- Final validation steps

### Optimization Strategies

#### File Grouping

when to use it

Community prompt sourced from the open-source GitHub repo fintasportscorp-rgb/Finta_AI-config (no explicit license). A "Batch Operations Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

fintasportscorp-rgb/Finta_AI-config · no explicit license