mass-remediate-pattern

Installation
SKILL.md

Mass Remediate Pattern

Safe, project-wide remediation of a dangerous or incorrect code pattern using structured search and replace (grep + sed/replace).

Input

  • Target Pattern: The dangerous code pattern to find (e.g., jsonify({'error': str(e)})).
  • Replacement Pattern: The safe replacement (e.g., jsonify({'error': 'Internal Server Error'})).
  • Scope: Directories or file types to target.

Process

Phase 1: Discovery

  1. Use grep_search to identify all occurrences of the pattern across the codebase.
  2. Log the total count and list of unique files affected.
  3. Present a sample of the matches to the user to confirm the pattern is correctly identified.
Installs
2
GitHub Stars
2
First Seen
Apr 5, 2026
mass-remediate-pattern — geman220/ecs-discord-bot