
from claude-mods17
Provides modern find-and-replace patterns and safe batch workflows using the 'sd' CLI, with tips for previews, regex patterns, and git-backed verification.
This skill teaches modern find-and-replace workflows using the sd CLI as a simpler, safer alternative to sed. It includes examples for single-file and multi-file replacements, capture groups, word-boundary patterns, and safe batch application using ripgrep (rg) to preview and list affected files before changes. The emphasis is on predictable, reviewable bulk edits with git-friendly verification.
Use this skill when you need to rename variables or functions across a codebase, update import paths, apply consistent text transformations, or perform safe bulk replacements during refactors. It is not for interactive text editing or large structural rewrites that require semantic code understanding.
Works well with developer-focused agents that can run shell commands, or any automation that can execute CLI tools like sd and rg for repository-wide text transformations.
This skill has not been reviewed by our automated audit pipeline yet.