libutilslisted
Install: claude install-skill TsukiNi22/ai-utils
# libutils reference
**Version of this reference: read `reference/VERSION.md` first** (version, commit hash, date).
Everything below `reference/` is generated by `scripts/gen_api.py` from that exact commit.
`SKILL_DIR` = the directory of this file, `LIBUTILS` = `~/personal_delivery/cpp/libutils`.
## Freshness check (first, once per conversation)
Before relying on the reference, here and in every skill that requires libutils (`libutils-exception`,
`libutils-setup`, `libutils-install`, `cpp-class`, `cpp-project`, `audit-bugs`), run
`bash SKILL_DIR/scripts/check.sh` (local, fast; `--fetch` also compares with `origin/main`; same as
`xstyle --libutils-check`). Last line:
- `status: up to date` -> go on;
- `status: unknown` (no repository, nothing installed) -> go on, say it once;
- `status: outdated` -> **if the user already answered this question earlier in the conversation, apply that answer
again without asking**; otherwise ask once (AskUserQuestion, French, `multiSelect: true`), then remember the answer
for the whole conversation. The updates are done **by the matching skill**, never by hand:
| Choice | Done by |
|---|---|
| `Continuer avec la référence actuelle` (alone) | nothing; say once that the newer APIs / renames may be missing |
| `Mettre à jour libutils installé` | the **`libutils-install`** skill (`libutils.sh update`, root asked by that skill, then `status`) |
| `Mettre à jour la version requise par le projet` (only in a project using libutils) | the