skills/development/fd-find/SKILL.md
A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore.
npx skillsauth add thimslugga/agent-skills fd-findInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
User-friendly alternative to find with smart defaults.
# Find files by name
fd pattern
# Find in specific directory
fd pattern /path/to/dir
# Case-insensitive
fd -i pattern
# Find all Python files
fd -e py
# Find multiple extensions
fd -e py -e js -e ts
# Find directories only
fd -t d pattern
# Find files only
fd -t f pattern
# Find symlinks
fd -t l
# Exclude patterns
fd pattern -E "node_modules" -E "*.min.js"
# Include hidden files
fd -H pattern
# Include ignored files (.gitignore)
fd -I pattern
# Search all (hidden + ignored)
fd -H -I pattern
# Maximum depth
fd pattern -d 3
# Execute command on results
fd -e jpg -x convert {} {.}.png
# Parallel execution
fd -e md -x wc -l
# Use with xargs
fd -e log -0 | xargs -0 rm
# Full regex search
fd '^test.*\.js$'
# Match full path
fd --full-path 'src/.*/test'
# Glob pattern
fd -g "*.{js,ts}"
# Modified within last day
fd --changed-within 1d
# Modified before specific date
fd --changed-before 2024-01-01
# Created recently
fd --changed-within 1h
# Files larger than 10MB
fd --size +10m
# Files smaller than 1KB
fd --size -1k
# Specific size range
fd --size +100k --size -10m
# Absolute paths
fd --absolute-path
# List format (like ls -l)
fd --list-details
# Null separator (for xargs)
fd -0 pattern
# Color always/never/auto
fd --color always pattern
Find and delete old files:
fd --changed-before 30d -t f -x rm {}
Find large files:
fd --size +100m --list-details
Copy all PDFs to directory:
fd -e pdf -x cp {} /target/dir/
Count lines in all Python files:
fd -e py -x wc -l | awk '{sum+=$1} END {print sum}'
Find broken symlinks:
fd -t l -x test -e {} \; -print
Search in specific time window:
fd --changed-within 2d --changed-before 1d
With ripgrep:
fd -e js | xargs rg "pattern"
With fzf (fuzzy finder):
vim $(fd -t f | fzf)
With bat (cat alternative):
With ripgrep:
fd -e js | xargs rg "pattern"
With fzf (fuzzy finder):
vim $(fd -t f | fzf)
With bat (cat alternative):
fd -e md | xargs bat
fd is typically much faster than find.gitignore by default (disable with -I)-t for type filtering (f=file, d=directory, l=symlink, x=executable)-e for extension is simpler than -g "*.ext"{} in -x commands represents the found path{.} strips the extension{/} gets basename, {//} gets directoryGitHub: https://github.com/sharkdp/fd
Man page: man fd
development
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
development
Documentation templates and structure guidelines. README, API docs, code comments, and AI-friendly documentation.
development
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
documentation
Create a README.md file for the project