with one click
kodus-centralized-config
// Use when the user wants to manage centralized configuration via `kodus config centralized` commands (status, init, sync, disable, and download).
// Use when the user wants to manage centralized configuration via `kodus config centralized` commands (status, init, sync, disable, and download).
Use when the user wants to create, update or view Kody Rules via `kodus rules` command.
Use when the user wants Kodus to review local changes through a local CLI build or non-production API such as `node dist/index.js`, localhost, or QA, including local `--prompt-only` flows.
Use when the user wants Kodus to review local changes, run `kodus review` or `--prompt-only`, fix Kodus review findings, or check commit, push, or merge readiness.
Use when the user wants Kodus to validate local diff changes against task requirements, acceptance criteria, or business rules via `kodus pr business-validation`, especially for implementation-vs-task or merge readiness checks.
Use when the user wants to fetch, triage, or implement Kodus suggestions for an existing remote pull request via `kodus pr suggestions`, `--pr-url`, or `--pr-number`.
| name | kodus-centralized-config |
| description | Use when the user wants to manage centralized configuration via `kodus config centralized` commands (status, init, sync, disable, and download). |
Centralized configuration allows teams to manage their Kodus configuration files in a single repository, providing a single source of truth for their settings. This skill enables users to manage their centralized configuration through Kodus CLI commands, including initializing centralized config, syncing configuration, disabling centralized config, and downloading generated config files.
The configuration files are generated based on the user's current settings, and users have the option to review these changes in a pull request before they are merged into the repository. This approach ensures that teams can maintain control over their configuration while benefiting from the convenience of centralized management.
If the setting is enabled, then any pull request merged to the selected repository will trigger a sync to update the configuration in Kodus. This allows teams to easily manage and update their configuration as needed, without having to manually apply changes in Kodus.
At any time the user can run a manual sync command to pull the latest configuration from the repository, however this is not recommended.
Manage centralized configuration through Kodus CLI commands only.
Use this skill when the request involves enabling centralized config, selecting the source repository, syncing configuration, disabling centralized config, or downloading generated config files.
kodus config centralized status|init|sync|disable|download.Unless specifically stated, YOU must run the Kodus CLI commands on behalf of the user. Do not provide instructions to run commands without also running them yourself.
kodus auth team-key --key <your-key>
kodus config centralized status
kodus config centralized init [owner/repo] --sync-option <pr|manual>
ALWAYS run the command kodus config remote list first to get the list of repositories the user has access to and their current selection. You must provide the repo in the shape owner/repo for example organization/repository-name. If you cannot find the repository in the list, then tell the user about it.
--sync-option defaults to pr. Defines the behaviour of the initial sync after enabling centralized config.
pr creates a pull request with their current config. A link to the PR is provided in the command output. Merging the PR triggers a sync to update the configuration in Kodus.manual simply enables centralized config without creating a PR, the user will need to create a PR themselves with their desired config or run a manual sync after pushing changes to the repository.Prefer providing the repository in the command to avoid interactive prompts, especially in non-interactive contexts. If the repository is not provided and the terminal is interactive, the CLI will prompt the user to select a repository from their accessible repositories. If the terminal is non-interactive and the repository is not provided, the command will fail with an error indicating that the repository is required.
A sync will pull the latest configuration from the repository and override the user's current configuration defined in the Kodus database with the config from the repository. Syncs happen automatically when a PR is merged regardless of the initial sync option selected, but users can also choose to run a manual sync at any time to pull the latest changes from the repository.
kodus config centralized sync
Avoid running sync automatically after init to give users control over when to pull changes, especially if they want to review or customize the generated config before applying it.
Running sync will override the user's current configuration with the config from the repository, so it's best to let users decide when to do this, be sure to warn them of this when they ask to run sync and recommend downloading the config first as a backup before syncing.
kodus config centralized disable
kodus config centralized download --out <path/to/centralized-config.zip>
--out is required.--json to receive structured output.kodus config remote list).