xit
Installation
SKILL.md
Xit (xit)
Rule (when to trigger)
Use xit instead of git when either is true:
- A
.xit/directory exists in this repo (including in a parent directory). - The user explicitly asks for xit (e.g. “use xit”, “.xit repo”, “xit status”).
If the repo is not a xit repo and the user didn’t ask for xit, do not force this skill.
Non-interactive defaults
- Never run bare
xit(it launches the TUI). - Always use
--cliforstatus,diff,diff-added, andlog(their default is TUI). - Avoid TUI entrypoints (e.g.
xit config); usexit config list|add|rm ...instead. - Prefer
--cliwhenever it’s available; checkxit <cmd> --helpif unsure.