Serpl

Use this skill when the user wants to search and replace text across files interactively in the terminal — refactor code, rename symbols, or batch-edit with ripgrep-powered preview.

javimosch a097cdb 1.2 KB Updated

File contents

serpl Plugin

Terminal UI for search and replace across files, powered by ripgrep. A TUI alternative to VS Code's find-and-replace with per-match preview before applying changes.

Prerequisites

Requires ripgrep (rg) installed and on PATH.

Installation

cargo install serpl

Download binaries from GitHub Releases.

Basic Usage

# Launch interactive search/replace in current directory
serpl

# Limit to a path or glob
serpl ./src

Features

  • Regex, case-sensitive, and whole-word matching
  • Per-match preview before replace
  • Ripgrep-speed file scanning
  • Interactive confirmation for each replacement

Usage Examples

  • "Find and replace this function name across the repo"
  • "Rename this import in all TypeScript files"
  • "Search for a regex pattern and preview matches before replacing"

SuperCLI

sc serpl _ _
sc plugins learn serpl

javimosch/supercli/tree/main/plugins/serpl/skills/quickstart commit a097cdb0cb

Frequently asked questions

npx skillmds@latest add javimosch/serpl