Initializing a Repository
Quick start
Section titled “Quick start”Run bucky inside a git repo to auto-detect the owner/repo from the origin remote:
buckyOr pass an explicit repository:
bucky fetch-rewards/my-serviceWhat happens
Section titled “What happens”The CLI will:
- Create a branch in the target repo (default:
chore/add-bucky-code-review) - Add the code review workflow to
.github/workflows/bucky-code-review.yml— a thin caller that delegates to the shared reusable workflow in buck-bronson - Add a repo config file to
.bucky/config.yaml— a starter config for customizing session pods (see Repo Configuration) - Open a PR with everything configured
CLI options
Section titled “CLI options”bucky [REPO] [OPTIONS]| Flag | Default | Description |
|---|---|---|
[REPO] | Detected from git remote | Target repository in owner/repo format |
--branch <name> | chore/add-bucky-code-review | Branch name for the PR |
--dry-run | — | Preview changes without writing to the remote |
Examples
Section titled “Examples”# Preview what would happenbucky --dry-run
# Use a custom branch namebucky fetch-rewards/my-service --branch feat/add-claude-workflowsAuto-detection
Section titled “Auto-detection”When run without a [REPO] argument, the CLI parses the local git origin remote URL (SSH or HTTPS) to resolve owner/repo. Both formats are supported:
git@github.com:fetch-rewards/my-service.githttps://github.com/fetch-rewards/my-service.git