grepai-ignore-patterns

Configure ignore patterns in .grepai/config.yaml to exclude files from GrepAI indexing.

18|2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-ignore-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grepai-ignore-patterns
Source: https://github.com/yoanbernabeu/grepai-skills/tree/main/skills/configuration/grepai-ignore-patterns
Command: npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-ignore-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps reduce noise and improve search quality by configuring ignore patterns to exclude files and directories from GrepAI indexing.

Core Features & Use Cases

  • Configure ignore rules in .grepai/config.yaml to exclude patterns across directories and files
  • Honor existing .gitignore entries to align with repository-level exclusions
  • Use cases include excluding tests, generated code, caches, and vendor dependencies from indexing

Quick Start

Add patterns to your .grepai/config.yaml under the ignore key and run grepai watch to re-index with the new rules.

Frequently Asked Questions about grepai-ignore-patterns

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

FAQPage Schema
How do I exclude test files and build outputs from code search indexing?

To exclude test files and build outputs from code search indexing, configure ignore patterns in your .grepai/config.yaml file under the ignore key to filter out non-source artifacts from your search results.

Can I use existing .gitignore rules to exclude vendored code from indexing?

Yes, you can use existing .gitignore rules to exclude vendored code from indexing. The system honors existing .gitignore entries to align indexing exclusions with your repository-level configurations automatically.

What is the best way to reduce noise in codebase search results?

The best way to reduce noise in codebase search results is to apply user-defined ignore patterns via configuration, excluding generated code, caches, and vendor dependencies from the indexing process to improve search quality.

How do I configure ignore patterns in .grepai/config.yaml for project indexing?

To configure ignore patterns in .grepai/config.yaml for project indexing, add your target exclusion patterns under the ignore key, then run grepai watch to re-index the codebase with the newly defined rules applied.

Does GrepAI ignore patterns configuration work with any programming language?

Yes, GrepAI ignore patterns configuration works with codebases of any programming language. It universally applies user-defined exclusion rules to filter out tests, vendored code, and build outputs regardless of the project's language stack.

Do I need external tools to set up ignore patterns for code indexing?

No, you do not need external tools to set up ignore patterns for code indexing. The configuration relies solely on standard settings within .grepai/config.yaml and existing .gitignore rules without requiring any additional dependencies.