hatch3r-cli-fd

Find files and directories by pattern with gitignore-aware fd CLI matching.

26|4|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/hatch3r/hatch3r --skill hatch3r-cli-fd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hatch3r-cli-fd
Source: https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-fd
Command: npx skills add https://github.com/hatch3r/hatch3r --skill hatch3r-cli-fd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the hassle of writing long, fragile search commands by giving you a friendlier, gitignore-aware way to locate files and directories by path patterns.

Core Features & Use Cases

  • Gitignore-aware, parallel-friendly path matching: Efficiently find matching filenames or directories without traversing ignored trees.
  • Regex and extension filtering for targeted discovery: Narrow results using patterns against path tails, or by file extensions for common workflows.
  • Composable pipeline output: Produce newline-separated hit records that are easy to feed into other tools or follow-up processing steps.

Quick Start

Run this to find all TypeScript files under src: fd '.test.ts$' src/

Frequently Asked Questions about hatch3r-cli-fd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find files by pattern while respecting gitignore rules?

File search by pattern while respecting gitignore rules is handled by invoking the fd CLI with include/exclude flags. It skips ignored directories during parallel traversal, returning matching paths without searching restricted trees.

What is the best way to locate test files using regex in a code repository?

Locating test files using regex in a code repository is done by applying extension and pattern constraints against path tails. The command matches filenames like test files under specified source directories for targeted discovery.

Can I use regex to filter file search results by specific extensions?

Regex filtering for file search results by specific extensions is fully supported. You apply regex patterns against path tails or constrain searches by file extension to narrow results for common coding and maintenance workflows.

Does the fd CLI support parallel directory walks for repository indexing?

Parallel directory walks for repository indexing are supported by the fd CLI. It performs gitignore-aware, parallel-friendly path matching to efficiently discover matching filenames or directories without traversing ignored trees.

How do I format file search output for downstream command line tools?

Formatting file search output for downstream command line tools is achieved through composable pipeline output. The search produces newline-separated hit records that are easy to feed into other tools or follow-up processing steps.

How to scan configuration files in a repository without searching ignored paths?

Scanning configuration files in a repository without searching ignored paths requires invoking the fd CLI with appropriate include/exclude flags. It respects ignore rules during parallel traversal to speed up repository navigation and locate configs.