init / deinit¶
init¶
ai-rizz init [<source_repo>] [-d <target_dir>] [--local|-l|--commit|-c|--global|-g] [-f|--manifest|-s|--skibidi <file>] [--git-exclude-ignore] [--hook-based-ignore] [--rule-path <path>] [--ruleset-path <path>]
Sets up one mode in your repository:
| Option / Argument | Required? | Description |
|---|---|---|
<source_repo> |
✅ | URL of the source git repository |
-d <target_dir> |
Target directory (default: .cursor/rules) |
|
--local -l |
Set up local mode (git-ignored rules) | |
--commit -c |
Set up commit mode (git-tracked rules) | |
--global -g |
Set up global mode (rules shared across all repos) | |
-f <file> --manifest <file> |
Use custom manifest filename instead of default ai-rizz.skbd |
|
-s <file> --skibidi <file> |
Alias for --manifest |
|
--git-exclude-ignore |
Local mode: use .git/info/exclude ignore behavior (legacy mode) |
|
--rule-path <path> |
Path in source repository for standalone rules | |
--ruleset-path <path> |
Path in source repository for rulesets |
If you don't specify a mode, ai-rizz will ask which you want.
Examples¶
Local-only setup (git-ignored rules):
Local mode with hook-based ignore:
Note: This leaves files untracked (visible ingit status) but prevents them from being committed.
Commit-only setup (git-tracked rules):
Custom manifest filename:
deinit¶
| Option / Flag | Description |
|---|---|
--local, -l |
Remove only local rules/setup |
--commit, -c |
Remove only committed rules/setup |
--global, -g |
Remove only global rules/setup |
--all, -a |
Remove everything |
-y |
Automatically confirm without prompting |