hummbl-io/agent-skills/bulk-edit

Claude Code and agent skill by hummbl-io/agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Apply the same edit across many files safely -- find, preview, apply, verify.

Install

npx vskill@latest install hummbl-io/agent-skills/bulk-edit

SKILL.md

The same SKILL.md was published earlier as hummbl-io/agent-skills/bulk-edit.

Bulk Edit

Apply a consistent change across multiple files with preview and verification.

Execution

1. Find affected files
bash
grep -rl "PATTERN" DIRECTORY --include="*.py" | head -20
echo "---"
grep -rc "PATTERN" DIRECTORY --include="*.py" | grep -v ":0$" | sort
2. Preview the change

Show what will change WITHOUT modifying:

bash
grep -rn "PATTERN" DIRECTORY --include="*.py" | head -20
3. Show the user the plan
Bulk Edit Plan
══════════════
Pattern: "OLD"
Replacement: "NEW"
Files affected: N
Total occurrences: M
Preview (first 5):
file1.py:42: <before> -> <after>
file2.py:17: <before> -> <after>
...
Proceed? [Y/n]
4. Apply (after approval)
bash
# macOS sed (BSD):
find DIRECTORY -name "*.py" -exec sed -i '' 's/OLD/NEW/g' {} +
# Or Python for complex replacements:
python3 -c "
from pathlib import Path
for f in Path('DIRECTORY').rglob('*.py'):
text = f.read_text()
if 'OLD' in text:
f.write_text(text.replace('OLD', 'NEW'))
print(f' Updated: {f}')
"
5. Verify
bash
# Check no OLD pattern remains
grep -r "OLD" DIRECTORY --include="*.py" | head -5
# Should return nothing
# Run affected tests
python -m pytest DIRECTORY -q --tb=short

Rules

  • ALWAYS preview before applying
  • ALWAYS get user approval for >5 files
  • ALWAYS run tests after applying
  • Never bulk-edit files you haven't grepped first
  • For regex replacements, test the regex on ONE file first
  • Keep a record of what was changed for git commit message

Common Patterns

TaskPatternReplacement
Rename functionold_name(new_name(
Update importfrom old.modulefrom new.module
Change permission mode0o6000o660
Fix version stringversion: 0.1.0---version: 0.1.0\n---

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hummbl-io/agent-skills/bulk-edit/badge)](https://verified-skill.com/skills/hummbl-io/agent-skills/bulk-edit)

Something wrong with this skill or its page? Tell us.