Repository navigation
feat(autoindex): add Gemini and Antigravity skill roots (#2644) - #2926
Conversation
|
Thanks for this contribution — we'd like to merge it. Before we can, we need a signed Contributor License Agreement from: @napattan It is a one-time thing per contributor, not per pull request. Read CLA.md, then open a small pull request adding your GitHub username to Once it is merged, comment |
|
@cla-bot check |
|
Re-checking the CLA status for every commit author on this pull request… |
skills::candidates() in engine/crates/xerj-autoindex/src/skills.rs
only scanned ~/.claude/skills, ~/.codex/skills, ~/.agents/skills, and
project-local .claude/skills, missing SKILL.md definitions installed
under ~/.gemini/skills (Gemini CLI) and ~/.gemini/config/skills
(Google Antigravity IDE).
Add ('gemini', '.gemini/skills') and ('antigravity', '.gemini/config/skills')
to skills::candidates() and update the_four_folders_the_issue_names_in_order
to assert all 6 candidate folders (5 home roots + 1 project root) in
stable order (cargo test -p xerj-autoindex --lib skills::tests:: -> 9 passed).
Written by an AI coding agent (Google Antigravity), run and reviewed by @napattan.
bcabe55 to
36b76bf
Compare
|
Re-checking the CLA status for every commit author on this pull request… |
|
Merged, thank you @napattan! |
Written by an AI coding agent (Google Antigravity), run by @napattan, who has reviewed this change.
What this changes, and why
xerj_autoindex::skills::candidates()inengine/crates/xerj-autoindex/src/skills.rscurrently discoversSKILL.mddirectories only under~/.claude/skills,~/.codex/skills,~/.agents/skills, and project-local.claude/skills. Users of Gemini CLI (~/.gemini/skills) and Google Antigravity IDE (~/.gemini/config/skills) storeSKILL.mddefinitions in those two roots, soxerj autoindex --skillsmissed them unless paths were passed manually.This PR adds
("gemini", ".gemini/skills")and("antigravity", ".gemini/config/skills")toskills::candidates()and updatesthe_four_folders_the_issue_names_in_orderinskills.rsto assert all 6 candidate entries (5 home roots + 1 project root) in stable order (Refs #2644).Dependencies / Merge order: This branch is independent against
main(and compiles/passes on Linux/macOS CI standalone), but compiling and runningcargo test -p xerj-autoindex --libnatively on Windows (x86_64-pc-windows-msvc) requires the#[cfg(unix)]test-import guards in branchfix/autoindex-windows-unit-tests(recommended merge order:fix/autoindex-windows-unit-testsfirst).Evidence
Checks
cargo fmt --all(rancargo fmt -p xerj-autoindex -- --check; workspace-wide--allon Windows hitsos error 206command-line length limit)cargo build --release -j 32 -p <crate>cargo test -p <crate>passes (cargo test -p xerj-autoindex --lib skills::tests::8000 — 9 passed, 0 failed)cargo run --release -p es-yaml-runner -- --dir tests/es-compat-yaml/yaml), or: not applicable because this change is docs/landing-onlyengine/tests/es-compat-yaml/yaml/docs/CONTRIBUTION_REVIEW.mdN/A— does not modify any operational document or runnable shell recipe).Not run:
cargo build --release -j 32 -p xerj-autoindex: verified via debug/test build (cargo test -p xerj-autoindex --lib).xerj-autoindex's local--skillspath list and does not touch Elasticsearch wire/query semantics.cli.rshelp text: kept this diff scoped solely toskills.rs; happy to updatecli.rs/docs/recipes/find-a-skill.mdif desired.Provenance
cargo test -p xerj-autoindex --lib skills::tests::(withfix/autoindex-windows-unit-testsapplied on Windows 11x86_64-pc-windows-msvc) ->9 passed; 0 failed(0.01s)cargo fmt -p xerj-autoindex -- --check->exit 0~/.gemini/skillsand~/.gemini/config/skillsare the standard global skill locations across macOS/Linux/Windows for Gemini CLI and Google Antigravity IDE (falsified if a platform release relocates global skills outside~/.gemini).