name: rust-sqlite-lookup description: Use the compact Rust SQLite lookup path before DSPy when repo questions need exact file hits, path discovery, or a cheap local evidence pass.
Rust SQLite Lookup¶
Use this skill when a repo question is likely answerable by direct file/path lookup before any DSPy synthesis step.
Required Flow¶
- Refresh the index with
make rust-lookup-indexwhen the tracked tree changed materially, or letmake rust-lookup QUERY="..."refresh it on demand. - Run
make rust-lookup QUERY="..."with terse evidence-oriented terms from the user request. - Read the direct hits first. If they answer the question, stay local.
- Escalate to
make ask-dspy QUESTION="..."only after the lookup pass when the task needs synthesis across multiple files rather than exact passages.
Surfaces To Keep Aligned¶
rust-cli/src/main.rsrust-cli/Cargo.tomlMakefileREADME.mdREADME.AGENTS.mdAGENTS.mdAGENTS.md.d/RUST_LOOKUP.md
Validation¶
cargo build --manifest-path rust-cli/Cargo.tomlcargo run --manifest-path rust-cli/Cargo.toml -- indexcargo run --manifest-path rust-cli/Cargo.toml -- lookup "dspy training"uv run pytest tests/test_utilities.py tests/test_project_surfaces.py