yoanbernabeu avatar

Grepai Search Tips

If you're used to grep, you already know the problem: semantic search needs a different mindset. This skill teaches you to write queries that describe what code does rather than what it's called. Instead of searching for "getUserById", you'd search for "fetch user from database by ID". The guide covers query length (3-7 words is the sweet spot), iterative refinement when results are weak, and how to interpret similarity scores. There's a useful comparison table showing text search versus semantic search thinking, plus concrete examples across different domains like e-commerce and finance. Honestly, this is the documentation GrepAI should have shipped with. If your semantic searches keep missing obvious code, spend ten minutes here first.

skills.sh installs
807
GitHub stars
20
last updated
Aug 21, 2026

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-search-tips --agent claude-code

Installs into .claude/skills of the current project.

Files

GrepAI Search Tips

This skill provides tips and best practices for writing effective semantic search queries.

When to Use This Skill

  • Improving search result quality
  • Learning semantic search techniques
  • Understanding how to phrase queries
  • Troubleshooting poor search results

Semantic Search Mindset

Think differently from text search:

Text Search (grep)Semantic Search (GrepAI)
Search for exact textSearch for meaning/intent
"getUserById""retrieve user from database by ID"
Literal matchConceptual match

Query Writing Principles

1. Describe Intent, Not Implementation

❌ Bad: getUserById ✅ Good: fetch user record from database using ID

❌ Bad: handleError ✅ Good: error handling and response to client

❌ Bad: validateInput ✅ Good: check if user input is valid and safe

2. Use Descriptive Language

❌ Bad: auth ✅ Good: user authentication and authorization

❌ Bad: db ✅ Good: database connection and queries

❌ Bad: config ✅ Good: application configuration loading

3. Be Specific About Context

Sponsors

Details

Repository
github.com/yoanbernabeu/grepai-skills
Category
Code Review & Quality
First seen
May 16, 2026

More from yoanbernabeu/grepai-skills

All 27
1alirezarezvani avatarisms-audit-expertalirezarezvani/claude-skillsInformation Security Management System (ISMS) audit expert for ISO 27001 compliance verification, security control assessment, and certification support. Use wh806skills.sh installs
2davila7 avatarexcalidrawdavila7/claude-code-templatesUse when working with *.excalidraw or *.excalidraw.json files, user mentions diagrams/flowcharts, or requests architecture visualization - delegates all Excalid804skills.sh installs
3lulu-eva avatarevalulu-eva/eva-skillEva-skill 2.2.8 的极薄路由入口。仅在用户调用 /eva、点名 Eva 子入口,提出 Eva 的思考、人群识别、短视频或非虚构文章、发布前审核、学习、Brief、复盘、Lens、Memory、Link、新手教程,或在 Eva 上下文中询问“下一步怎么走、先用哪个功能、入口排序、给我一个工作流”时使用;也处799skills.sh installs
4eachlabs avatareachlabs-image-editeachlabs/skillsEdit, transform, upscale, and enhance images using EachLabs AI models. Supports image editing, style transfer, background removal, upscaling, inpainting, face s792skills.sh installs
5lyndonkl avatarevaluation-rubricslyndonkl/claudeDesigns structured scoring tools with explicit criteria, performance scales, and descriptors for consistent, transparent quality assessment. Use when need quali790skills.sh installs
6mohitmishra786 avatarclangmohitmishra786/low-level-dev-skillsClang/LLVM compiler skill for C/C++ projects. Use when working with clang or clang++ for diagnostics, sanitizer instrumentation, optimization remarks, static an789skills.sh installs