.claude/skills/semantic-search/SKILL.md
Use when exploring the codebase conceptually — semantic search via claude-context MCP for queries like "how does X work", "find implementation of Y pattern", "where is the architecture for Z", understanding unfamiliar code, finding code by description rather than exact identifier
npx skillsauth add ahrav/gossip-rs semantic-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the mcp__claude-context__search_code tool for conceptual, exploratory,
and description-based code search. It searches against an indexed embedding
store built from the codebase, so it finds code by meaning rather than
exact text matching.
Grep(pattern="ShardRecord", type="rust")Glob(pattern="**/coordination/**/*.rs")Grep(pattern="SHARD_LIMIT")subagent_type=Explore| Signal in query | Tool | Example |
|-----------------|------|---------|
| Exact function/struct/const name | Grep | "find PreallocShardBuilder" |
| File name or glob pattern | Glob | "find all test files in coordination/" |
| "How does X work" | Semantic search | "how does shard checkpoint restoration work" |
| "Find code that does Y" | Semantic search | "find code that validates range boundaries" |
| "Where is the Z pattern" | Semantic search | "where is the builder pattern for bulk operations" |
| Known regex pattern | Grep | fn acquire.*restore |
| Concept or behavior | Semantic search | "claim expiry and reclamation logic" |
mcp__claude-context__search_code(
path="/Users/ahrav/Projects/Gossip-rs",
query="<descriptive natural language query>",
limit=10
)
Parameters:
path — Must be absolute. Use /Users/ahrav/Projects/Gossip-rs.query — Natural language description of what you are looking for. Be specific.limit — Number of results (default 10, max 50). Start with 10, increase if needed.extensionFilter — Optional file extension filter, e.g. [".rs"] for Rust only.| Weak query | Strong query | |------------|-------------| | "shard" | "shard allocation and registration in the coordination engine" | | "error" | "error handling for resource exhaustion during shard registration" | | "test" | "simulation test invariant checking for shard consistency" | | "split" | "split planning and range boundary calculation for bulk operations" | | "pool" | "byte slab pool allocation and slot lifecycle management" |
Use domain language from the project: shards, claims, cursors, checkpoints, boundaries, coordination, gossip, lineage, manifests, splits, epoch, quorum.
For thorough investigation, chain tools:
If the index is stale or search returns no results for queries that should match:
mcp__claude-context__index_codebase(
path="/Users/ahrav/Projects/Gossip-rs",
force=true
)
Check indexing status with mcp__claude-context__get_indexing_status.
development
Deep first-principles code explanation that builds real understanding through phased walkthroughs with diagrams. Covers algorithms, data structures, memory layout, concurrency patterns, and performance tricks — especially for systems code in Rust. Use whenever the user asks to explain, walk through, break down, deep dive into, or understand code. Trigger on "how does this work", "what's happening here", "teach me about this", "why is it done this way", or when the user references a file with @ and wants to understand it. Proactively use when examining code involving lock-free algorithms, atomics/CAS, memory ordering,
development
Use when creating implementation-ready beads tasks that need testing strategy, optimal implementation approach, and documentation requirements baked in — composes /create-task with parallel enrichment agents that analyze the codebase and produce concrete test specifications, algorithm/data-structure guidance, and doc quality standards so implementing agents don't need to re-research
development
--- name: autoresearch description: Autonomous Goal-directed Iteration. Apply Karpathy's autoresearch principles to ANY task. Loops autonomously — modify, verify, keep/discard, repeat. Supports bounded iteration via Iterations: N inline config. version: 1.9.11 --- # Claude Autoresearch — Autonomous Goal-directed Iteration Inspired by [Karpathy's autoresearch](https://github.com/karpathy/autoresearch). Applies constraint-driven autonomous iteration to ANY work — not just ML research. **Core id
development
Use when implementing a new feature and assessing coverage gaps, during periodic test hygiene, when test suites feel bloated, or before merging code that changes coordination or hot paths. Two-phase assess-then-improve testing pipeline.