Loading...
Loading...
Search Sourcegraph-indexed codebases for patterns, examples, and system understanding. Triggers on implementation questions, debugging, or "how does X work" queries.
npx skill4agent add sourcegraph-community/sourcegraph-skill searching-sourcegraphsg_keyword_searchsg_nls_searchsg_deepsearch_readsg_find_referencessg_go_to_definitionsg_read_file| Goal | Tool |
|---|---|
| Concepts/semantic search | |
| Exact code patterns | |
| Trace usage | |
| See implementation | |
| Understand systems | |
| Read files | |
| Browse structure | |
| Find repos | |
| Search commits | |
| Track changes | |
| Compare versions | |
repo:^github.com/ORG/REPO$ # Exact repo (preferred)
repo:github.com/ORG/ # All repos in org
file:.*\.ts$ # TypeScript only
file:src/api/ # Specific directory
file:.*\.test\.ts$ -file:__mocks__ # Tests, exclude mocksrepo:^github.com/myorg/backend$ file:src/handlers lang:typescriptsg_deepsearch_readsg_read_filesg_diff_searchworkflows/implementing-feature.mdworkflows/understanding-code.mdworkflows/debugging-issue.mdsg_keyword_searchsg_nls_searchsg_deepsearch_readsg_deepsearch_read| Intent | Query |
|---|---|
| React hooks | |
| API routes | |
| Error handling | |
| Type definitions | |
| Test setup | |
| Config files | |
| CI/CD | |
query-patterns.md| Mistake | Fix |
|---|---|
| Searching all repos | Add |
| Too many results | Add |
| Missing relevant code | Try |
| Not understanding context | Use |
| Guessing patterns | Read implementations with |