sekirosevillans-sys/awesome-ai-agent-skills/surgical-bundle-patcher
- community
Checking that the SKILL.md file is still in the repository.
Use when applying minimal, targeted patches to JavaScript bundles during authorized local debugging or migration, especially when preserving bundle structure and avoiding broad rewrites is required.
Install
npx vskill@latest install sekirosevillans-sys/awesome-ai-agent-skills/surgical-bundle-patcherSKILL.md
Skill: Surgical Bundle Patcher
Propósito
Automatizar la modificación precisa y repetible de archivos "bundles" masivos del frontend (Webpack, minified JS/CSS) utilizando scripts de Python (Regex/String replace), para inyectar payloads, evadir domain-locking, o deshabilitar bloques anti-debugging sin corromper la sintaxis general.
Cuándo usar
- Cuando estás clonando un sitio localmente y el script
main.jsrestringe la ejecución alocation.hostname == 'misitio.com'. - Cuando necesitas remover
debugger;loops del ofuscador en miles de líneas. - Cuando quieres convertir esto en un proceso de un solo click, en lugar de buscar y reemplazar manualmente cada vez que actualizas los archivos del clon original.
Implementación
Estructura Base de Patcher (Python)
Crea un script que reciba el input original limpio, aplique expresiones regulares sucesivas, y produzca el .min.js final a servir.
Beneficios
- Reproducibilidad: Si el objetivo se actualiza, simplemente descargas su nuevo JS y corres el script; las reglas siguen aplicando.
- Auditoría: Es más fácil depurar qué causó un
SyntaxErrorsi los cambios están secuenciados programáticamente. - Evita el uso inestable de Sed/Awk en entornos Windows.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsurgical-bundle-patcher/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 8
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/sekirosevillans-sys/awesome-ai-agent-skills/surgical-bundle-patcher)