Agent skill
find
Fast file and code search using `fd` and `rg`. Use when the user asks to locate files or search code patterns.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/find
SKILL.md
Use fd for file search, rg for content search.
Common Patterns
Find files by name:
fd "pattern" [path]
fd -H "pattern" [path] # include hidden files
fd -e md -e txt "README" [path]
Search file contents:
rg -n "pattern" [path]
rg -i "pattern" # case-insensitive
rg -S "pattern" # smart case
rg --files-with-matches "pattern" # list files only
rg -n "pattern" --glob '!node_modules/*'
Find definitions:
rg -n "^(class|interface|function|def)\\s+Name\\b"
rg -n "^class\\s+ClassName\\b" --type python
Search with context:
rg -n "pattern" -A 2 -B 2
Combine searches:
fd -0 "Controller" -t f | xargs -0 rg -n "handleRequest"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?