hashiiiii-localelisted
Install: claude install-skill hashiiiii/rules-for-ai
# Locale Setup
Set locale preferences at the scope that the user selects. Do not use the plugin installation scope to select the locale scope.
## Scope Selection
Accept `user`, `project`, or `local` as a bare argument. Also accept `scope=<scope>`.
If the request has no scope, ask for the scope first. Then ask for the locale values.
Do not infer the scope from the current directory or plugin installation.
Before each write, state the selected scope, exact target path, and sharing behavior.
| Scope | Target | Sharing behavior |
| --- | --- | --- |
| `user` | `${XDG_CONFIG_HOME:-${HOME:-}/.config}/rules-for-ai/LOCALE.md` | Use the locale in all projects for this user. |
| `project` | `<repo>/.rules-for-ai/LOCALE.md` | Commit the locale for team use. |
| `local` | `<absolute-git-dir>/rules-for-ai/LOCALE.md` | Use the locale in this Git worktree, outside `git status`. |
For `project` or `local`, use `git rev-parse --show-toplevel` to find the repository.
If the command fails, stop without a write.
For `local`, get `<absolute-git-dir>` from `git rev-parse --absolute-git-dir`. This path keeps linked worktree preferences separate.
Do not commit a project file automatically. Do not add a local file to `.gitignore` or `.git/info/exclude`.
## Resolution Order
The first existing file wins as a whole:
1. `<absolute-git-dir>/rules-for-ai/LOCALE.md`
2. `<repo>/.rules-for-ai/LOCALE.md`
3. `${XDG_CONFIG_HOME:-${HOME:-}/.config}/rules-for-ai/LOCALE.md`
4. Bundled `LOCALE.default.