jfeimster/smb-ai-builder/search-and-replace-safety
Claude Code and agent skill by jfeimster/smb-ai-builder
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install jfeimster/smb-ai-builder/search-and-replace-safetySKILL.md
The same SKILL.md was published earlier as jfeimster/smb-ai-builder/search-and-replace-safety.
search-and-replace-safety
Purpose
Perform multi-file search and replace operations safely without unintended collateral damage.
When to use this skill
When renaming a variable, updating a global URL, or modifying a consistent string across multiple files.
When not to use this skill
When context-dependent semantic changes are required that cannot be captured by a simple string match.
Inputs Cursor should collect
- Exact search string/regex.
- Exact replacement string.
- Scope of files to search.
Files and folders this skill may touch
- Any file matching the search parameters.
Source-of-truth files to read first
README.mdJULES.md
Process
- Define an exact, highly specific search pattern.
- Preview the matches to identify any unintended captures (e.g., matching
userinsideusername). - Refine the pattern if unintended matches are found.
- Execute the replacement.
- Inspect the generated diffs to verify correctness.
Output requirements
Target strings replaced exactly, with zero unintended modifications to surrounding code.
Safety and claims rules
- Ensure replaced text (e.g., URLs) adheres to project requirements and does not point to fake resources.
- Maintain voice and tone if replacing copy.
QA checklist
- [ ] Search pattern was exact.
- [ ] Diffs inspected for unintended replacements.
- [ ] Build/lint still passes (if applicable).
Common mistakes to avoid
- Using broad string matches that accidentally replace parts of unrelated words or variables.
- Failing to inspect diffs before committing the changes.
Final response format
"Search and replace executed safely. Diffs verified."
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtools/cursor/skills/search-and-replace-safety/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/jfeimster/smb-ai-builder/search-and-replace-safety)