← ClaudeAtlas

completionslisted

Install shell tab-completion for make targets, so `make <TAB>` lists a project's targets. Writes to the user's data directory, not to the repo. Works in any make project.
Jebel-Quant/rhiza-claude · ★ 4 · Data & Documents · score 70
Install: claude install-skill Jebel-Quant/rhiza-claude
You are running `/completions`. Goal: install the bundled make tab-completion for the user's shell, so `make <TAB>` lists the targets of whatever project their shell is sitting in. **Two things make this command unlike every other one here.** Read both before you run anything. 1. **It writes outside the repo.** The destinations are under `${XDG_DATA_HOME:-$HOME/.local/share}` — the user's home, not the working tree. There is nothing to review in a PR afterwards and nothing a `git checkout` undoes. That is why the user has to name this command: it is not model-invocable. 2. **It is not repo-scoped at all.** The completion is generic make completion — it discovers targets by parsing the make database in the current directory — so it works in every make project on the machine, rhiza-managed or not. **Install it once per machine**, not once per repo. If the user asks you to run it "for this repo", say that and install it once anyway; a second run is a no-op that reports `already up to date`. This replaces the `make install-completions` target the rhiza template used to sync into every managed repo, where N repos each carried an identical copy of a script that installs to one shared path. If the user's repo still has that target, either one works today and they do the same thing — prefer this one, and say why. Argument (optional): `$ARGUMENTS` — `bash`, `zsh` or `both`. Default `both`. ## 1. Work out which shell **Do not guess from `$SHELL` and install o