batch
Execute a task across multiple files or directories in parallel
معلومات المصدر
- المستودع
- HeshamFS/swarmweaver
- آخر نشاط في المصدر
- ١ أبريل ٢٠٢٦ في ٢٠:١٠
- لغة SKILL.md المكتشفة
- الإنجليزية
- النجوم
- ٣
- التفرعات
- ٠
خيارات التثبيت
يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.
مراجعة ملفات المصدر
اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.
عرض SKILL.md
SKILL.md
تعليمات المصدر · معاينة للقراءة فقط- name
- batch
- description
- Execute a task across multiple files or directories in parallel
- when_to_use
- When the same change needs to be applied to many files
- context
- fork
- allowed-tools
- Read, Edit, Write, Bash, Grep, Glob
- arguments
- pattern, task
# Batch Operation
Apply the following task to all files matching the pattern.
**Pattern**: ${pattern}
**Task**: ${task}
## Steps
1. Find all files matching the pattern using Glob
2. For each file:
a. Read the current content
b. Apply the requested change
c. Write the updated content
3. After all files are processed, run any relevant tests
4. Report: how many files were changed, what was done to each
عرض على GitHub