Rechercher

PythonReactSEOPDF
GitHub Skill

find

Fast file and code search using `fd` and `rg`. Use when the user asks to locate files or search code patterns.

kaushikgopal☆ 63 Étoiles du dépôt6 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

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"

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-02-04
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!