feat(skills): reworked skills and rules
CI / CI configuration security checks (push) Successful in 3s
CI / Capabilities and shell quality (push) Successful in 14s
CI / Python tests and compilation (push) Successful in 26s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 14s
CI / PowerShell tests on Ubuntu (push) Successful in 1m4s
CI / Installed client configuration smoke tests (push) Successful in 33s
CI / Bash integration and installation guards (push) Successful in 1m1s

This commit is contained in:
Julian Lechner committed 2026-11-18 14:17:49 +01:00
1 parent 29632ff0ce
commit f5d8f6f11b
124 files changed
+1250 -8138

No files matched your search

@@ -1,11 +1,11 @@
---
name: semantic-search
description: MUST apply before open repository searches - run semantic retrieval first for unknown identifiers and behavior questions. Not needed for known paths, symbols, or exact strings, which use direct reads or rg.
description: Use from the repository route of `research` to run semantic retrieval first for unknown identifiers and behavior questions. Not needed for known paths, symbols, or exact strings, which use direct reads or rg.
---
# Semantic Search
Search the current Git repository, plus the user's registered QMD collections, by meaning. QMD runs locally with Qwen3-Embedding-4B, Qwen3-Reranker-4B, and QMD Query Expansion 1.7B; a background daemon keeps them loaded.
Search the current Git repository, plus the user's registered QMD collections, by meaning. QMD runs its embedding, reranking, and query expansion models locally; a background daemon keeps them loaded.
## When
@@ -32,7 +32,7 @@ Output: JSON list of `{path, line, score, snippet}`, best first. Repository path
## Coverage
The index skips git-ignored files, npm and pnpm lockfiles, minified `*.min.js` bundles, and file types outside its mask (for example images, binaries, and `.txt`). An empty or irrelevant result is not proof of absence; confirm absence with `rg`.
The index skips git-ignored files, npm and pnpm lockfiles, minified `*.min.js` bundles, and file types outside its mask (for example images, binaries, and `.txt`). An empty or irrelevant result is not proof of absence. Confirm absence with `rg -uu` (or `rg --no-ignore`): default `rg` also skips ignored files, so it misses the same files as the index.
## Failure
@@ -41,12 +41,12 @@
},
{
"id": 4,
"prompt": "Where does this script decide the output file name? (Note: semantic search returned one hit, qmd://notes/naming.md, and the repository has only three files: README.md, convert.py, and config.yml.)",
"expected_output": "The repository is small and its file listing already shows the candidate, so convert.py can be read directly. If the qmd:// hit is relevant, it is read with the documented --get command rather than as a local path. Answers from the verified current file.",
"prompt": "Where does this script decide the output file name? (Note: the repository has only three files: README.md, convert.py, and config.yml.)",
"expected_output": "No search has run yet. The repository is small and its file listing already shows the candidate files, so semantic search is skipped and convert.py (and config.yml if needed) is read directly. Answers from the verified current file.",
"assertions": [
"Reads convert.py directly instead of relying on another semantic search",
"Does not try to open qmd://notes/naming.md as a local file path",
"Uses qmd-search.mjs --get if it reads the qmd:// hit",
"Does not run the qmd-search command",
"Reads convert.py directly",
"Checks config.yml if convert.py reads the name from configuration",
"Cites the verified file and line"
],
"files": []