
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.
A reference/cheat-sheet skill for the 'sd' CLI tool (modern sed alternative). No scripts to run — purely a markdown doc with usage patterns, comparison tables, and tips. Well-organized content but thin on depth; the referenced advanced-patterns.md file is not included. Useful as a quick lookup but not unique or broadly valuable.
Pure reference skill with no executable scripts. No security concerns whatsoever. The skill body is clean markdown with code examples only — nothing is executed or downloaded. Moderate usefulness since sd's own docs cover similar ground.