← ClaudeAtlas

grepai-search-boostinglisted

Configure search result boosting in GrepAI. Use this skill to prioritize certain paths and penalize others.
NNIIKKKKII/grepai-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill NNIIKKKKII/grepai-skills
# GrepAI Search Boosting This skill covers configuring score boosting to prioritize relevant code paths and deprioritize tests, docs, and vendor code. ## When to Use This Skill - Prioritizing source code over tests - Penalizing vendor/third-party code - Boosting important directories - Customizing result ranking ## What is Boosting? Boosting modifies search scores based on file paths: ``` Original score: 0.85 (src/auth.go) Bonus (+10%): 0.935 Original score: 0.85 (tests/auth_test.go) Penalty (-50%): 0.425 ``` This ensures production code ranks higher than tests with similar content. ## Configuration ### Basic Configuration ```yaml # .grepai/config.yaml search: boost: enabled: true penalties: - pattern: /tests/ factor: 0.5 bonuses: - pattern: /src/ factor: 1.1 ``` ### Full Configuration ```yaml search: boost: enabled: true # Reduce scores (factor < 1.0) penalties: # Test files - pattern: /tests/ factor: 0.5 - pattern: /__tests__/ factor: 0.5 - pattern: _test. factor: 0.5 - pattern: .spec. factor: 0.5 - pattern: .test. factor: 0.5 # Documentation - pattern: /docs/ factor: 0.6 - pattern: /documentation/ factor: 0.6 # Vendor/third-party - pattern: /vendor/ factor: 0.3 - pattern: /node_modules/ factor: 0.3 - pattern: /third_party/ factor: 0.3 # G