CLI

Use the CLI to add workflows to your project.

init

Use the init command to create a new workflowkit.json file.

npx workflowkit init

Options

OptionDescription
-y, --yesSkip prompts and use defaults.

add

Use the add command to add workflows and steps to your project.

npx workflowkit add [items...]

You will be presented with a list of items to choose from:

Which items would you like to add? › - Space to select. Return to submit.
◯ code-review
◯ fetch-pr-diff
◯ ai-review
◯ post-github-comment

Options

OptionDescription
-y, --yesSkip confirmation prompts.
-o, --overwriteOverwrite existing files.
-a, --allAdd all available items.
-r, --registry <url>Custom registry URL.

Examples

# Add a single workflow
npx workflowkit add code-review

# Add multiple items
npx workflowkit add code-review fetch-pr-diff

# Add from custom registry
npx workflowkit add my-workflow -r https://my-company.com/r

list

Use the list command to list all available workflows and steps.

npx workflowkit list

Options

OptionDescription
-r, --registry <url>Custom registry URL.