---
name: CLI Guide and Skill
slug: cli-guide-and-skill
category: Writing
description: CLI Guide and Skill keeps the bb CLI guide templates, built-in bb-cli skill, and configuration documentation in sync whenever a CLI command, flag, or config knob changes.
github: "https://github.com/get-bb/bb/tree/main/docs/cli-guide-and-skill.md"
language: TypeScript
stars: 2274
forks: 253
install: "npx degit https://github.com/get-bb/bb/tree/main/docs ~/.claude/skills/docs"
installs_to: ~/.claude/skills/docs
source_path: docs/cli-guide-and-skill.md
collection_size: 14
category_size: 1012
collection_url: "https://dirskills.com/collections/get-bb/bb"
added: 2026-08-18T06:58:20.330Z
last_synced: 2026-08-18T06:58:20.330Z
canonical_url: "https://dirskills.com/skills/cli-guide-and-skill"
---

# CLI Guide and Skill

CLI Guide and Skill keeps the bb CLI guide templates, built-in bb-cli skill, and configuration documentation in sync whenever a CLI command, flag, or config knob changes.

**Install:**

```bash
npx degit https://github.com/get-bb/bb/tree/main/docs ~/.claude/skills/docs
```

## README

# CLI, Guide, And Skill

Keep the discoverable surfaces in sync whenever you add or change a `bb` CLI command, flag, or a user-facing configuration knob (env var, `.bb/` workspace file, settings field):

- Update the in-CLI guide templates under `packages/templates/src/templates/bb-guide-*.md`, then regenerate with `node packages/templates/scripts/generate-templates.mjs` (the `@bb/templates` typecheck/test tasks also run it).
- Update the bb-cli skill at `apps/server/src/services/skills/builtin-skills/bb-cli/SKILL.md`. Configuration knobs also belong in `docs/configuration.md`.
- Match the existing chapter/section style; keep entries concise and accurate against the implementation.
