Consolidated guidance on which tools to use for common operations. Prevents permission prompts, ensures consistent results, and enables efficient parallel execution.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Purpose: Standardize tool usage for consistent, efficient, permission-free operations.
git status)npm test)| Use Case | Tool | NOT These |
|---|---|---|
| File discovery | Glob | find, ls |
| Content search | Grep | grep, rg |
| Read files | Read | cat, head, tail |
| Edit files | Edit | sed, awk |
| Write files | Write | echo >, cat <<EOF |
Finding files (**/*.go, **/*.py, **/package.json)
Finding patterns, functions, TODOs
Output modes: files_with_matches, content (with -A/-B/-C), count
Examples:
Grep: "func \w+\(" --glob "*.go" --output_mode content
Grep: "TODO" --glob "*.py" -i --output_mode files_with_matches
Examining specific files
String replacements, renaming variables
Reports, new files
# File counting
find . -type f -name "*.go" | wc -l
# Directory structure
find . -type d -maxdepth 3
# File size analysis
find . -name "*.go" -not -path "*/vendor/*" -exec wc -l {} + | sort -rn | head -20
# Line counting
wc -l /path/to/file
✅ Use Glob for file discovery, run in parallel
Glob: **/*.go
Glob: **/*.py
✅ Use Grep for content search, run in parallel
Grep: "TODO" --glob "*.go" -i
Grep: "FIXME" --glob "*.go" -i
✅ Use Read for files, run in parallel
Read: /path/to/file1.go
Read: /path/to/file2.py
❌ DON'T use find when Glob works
❌ DON'T use bash grep
❌ DON'T use cat/head/tail
❌ DON'T use sed/awk
❌ DON'T use echo/heredoc
❌ DON'T request permission for approved tools
Parallelize:
Don't Parallelize:
Agent: refactor-analyzer - Primary consumerSkill: go-patterns, python-patterns, react-patterns