← ClaudeAtlas

grepai-ignore-patternslisted

Configure ignore patterns in GrepAI. Use this skill when excluding files and directories from indexing.
NNIIKKKKII/grepai-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill NNIIKKKKII/grepai-skills
# GrepAI Ignore Patterns This skill covers how to configure ignore patterns to exclude files and directories from GrepAI indexing. ## When to Use This Skill - Excluding test files from search results - Ignoring generated or vendored code - Reducing index size by excluding unnecessary files - Customizing which files GrepAI indexes ## How Ignore Patterns Work GrepAI uses two sources for ignore patterns: 1. **`.grepai/config.yaml`** - Custom patterns you define 2. **`.gitignore`** - Automatically respected ## Configuration Location ```yaml # .grepai/config.yaml ignore: - pattern1 - pattern2 ``` ## Pattern Syntax ### Directory Patterns ```yaml ignore: # Exact directory name (matches anywhere) - node_modules - vendor - __pycache__ # With trailing slash (explicit directory) - dist/ - build/ - coverage/ ``` ### File Patterns ```yaml ignore: # Exact filename - package-lock.json - yarn.lock # Wildcard patterns - "*.min.js" - "*.min.css" - "*.map" - "*.lock" ``` ### Path Patterns ```yaml ignore: # Paths containing substring - /tests/ - /spec/ - /__tests__/ # Specific paths - src/generated/ - api/swagger/ ``` ### Glob Patterns ```yaml ignore: # Double star (recursive) - "**/test/**" - "**/mock/**" # Single star (single level) - "*.test.js" - "*.spec.ts" - "*_test.go" ``` ## Default Ignore Patterns GrepAI's default configuration includes: ```yaml ignore: # Version control - .git - .svn - .hg