searching-text
ripgrep: Powerful, one-shot text search
Always invoke ripgrep skill for text search - do not execute bash commands directly.
Default Strategy
Invoke ripgrep skill for fast text search with one-shot patterns. Use -e 'pattern' -n -C 2 to get files, line numbers, and context in a single call.
This minimizes iterations and context usage. Always prefer getting line numbers and surrounding context over multiple search attempts.
Common workflow: ripgrep skill → other skills (fzf, bat, sd, analyzing-code-structure) for interactive selection, preview, or modification.
Tool Selection
Grep tool (built on ripgrep) - Use for structured searches:
- Basic pattern matching with structured output
- File type filtering with
typeparameter - When special flags like
-F,-v,-w, or pipe composition are not needed - Handles 95% of search needs
More from iota9star/my-skills
querying-json
Extracts specific fields from JSON files efficiently using jq instead of reading entire files, saving 80-95% context. Use this skill when querying JSON files, filtering/transforming data, or getting specific field(s) from large JSON files
27querying-yaml
Extracts specific fields from YAML files efficiently using yq instead of reading entire files, saving 80-95% context. Use this skill when querying YAML files, filtering/transforming configuration data, or getting specific field(s) from large YAML files like docker-compose.yml or GitHub Actions workflows
26finding-files
Performs fast file discovery with parallel search and smart defaults. Use this skill when searching for files by name, pattern, or type, especially when performance matters or when working with large directories
24extracting-code-structure
Extracts file structure (functions, classes, exports) efficiently without reading entire files, using ast-grep, Dart/Flutter analyzer, ctags, or other language-specific tools to get outlines and signatures. Use this skill when listing all methods, functions, or classes in a file, exploring unfamiliar code, getting API overviews, or deciding what to read selectively
24viewing-files
Enhanced cat clone with syntax highlighting, Git integration, and automatic paging for efficient file content viewing. Use this skill when viewing source files, documentation, or when syntax highlighting would improve readability
22replacing-text
Provides intuitive find & replace CLI with JavaScript regex and string-literal mode. Use this skill when performing text replacements, batch transformations, or need JavaScript-style regex syntax
21