# BuildBetter Skills **AI coding skills enriched with BuildBetter customer evidence.** --- ## What is this? BuildBetter Skills is a collection of AI coding skills you can install into your favorite AI coding agent. Pick the skills you need -- install only the packs that matter for your workflow. BuildBetter Skills works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, and Amazon Q. ## Quick start ### Option A: npx (fastest, no install) ```bash npx skills add buildbetter-app/skills ``` Or install a specific skill: ```bash npx skills add buildbetter-app/skills --skill trust-but-verify ``` ### Option B: bb-skills CLI (pack-based install) ```bash pip install bb-skills bb-skills install spec-workflow # spec-driven development skills bb-skills install testing # browser testing skills bb-skills install all # everything ``` ### Option C: Codex plugin package This repo also includes a Codex plugin package at `plugins/skills/` plus a repo-local marketplace entry at `.agents/plugins/marketplace.json`. The plugin bundles the same BuildBetter Skills prompts for Codex and includes Playwright MCP wiring for the browser-testing skills. ```bash codex plugin marketplace add buildbetter-app/skills --ref main --sparse .agents/plugins --sparse plugins/skills --sparse plugins/buildbetter-codex codex plugin add skills@buildbetter ``` ### Option D: BuildBetter MCP/CLI plugins This repo includes separate BuildBetter MCP/CLI plugins for Codex and Claude Code under `plugins/buildbetter-codex/` and `plugins/buildbetter-claude/`. They include BuildBetter-specific skills for MCP routing, customer voice, synthetic research, native surveys, Smart Tags, project triage, and knowledge gaps. They are separate packages because Codex and Claude Code use different plugin manifest directories and remote MCP config schemas. Codex: ```bash codex plugin marketplace add buildbetter-app/skills --ref main --sparse .agents/plugins --sparse plugins/skills --sparse plugins/buildbetter-codex codex plugin add buildbetter@buildbetter ``` Claude Code: ```bash claude plugin marketplace add buildbetter-app/skills --sparse .claude-plugin plugins/buildbetter-claude claude plugin install buildbetter@buildbetter ``` ### Option E: Grok, Cursor and MCP marketplaces The existing [Grok/Cursor plugin](plugins/buildbetter-grok/) uses BuildBetter's production MCP and nine public research workflows. For the MCP Registry, Google Connected Apps, Meta, Microsoft 365, Salesforce and AWS preparation, see the [distribution guide](distribution/README.md). Build a reproducible kit with `python3 scripts/build_mcp_distribution.py`. Provider registration, native-host QA and marketplace approval are separate from building the package. ### 3. Use them Skills are installed into your AI coding agent. On platforms with slash commands (Claude Code, Codex, Gemini): ``` /bb-specify Build a user dashboard with activity feed /bb-plan /trust-but-verify ``` On passive platforms (Cursor, Copilot, Windsurf, Amazon Q), skills are injected as context automatically. ## How it works You run `bb-skills install` once per machine. The CLI auto-detects which AI coding platforms you have installed (`~/.claude/`, `~/.codex/`, `~/.gemini/`, `.cursor/`, etc.) and copies skills to all of them in the correct format. To see what platforms are detected: ```bash bb-skills platforms ``` To install for a specific platform only: ```bash bb-skills install testing --platform claude ``` To install a single skill instead of a whole pack: ```bash bb-skills install trust-but-verify ``` ## Available packs | Pack | Skills | Description | |------|--------|-------------| | `core` | bb-skills-update | Update checker (auto-included) | | `spec-workflow` | bb-specify, bb-plan, bb-review, bb-tasks, bb-clarify, bb-analyze, bb-checklist, bb-constitution, bb-implement | BuildBetter-enriched spec-driven development | | `testing` | app-navigator, trust-but-verify, generate-tests | Browser-based verification and Playwright test generation | | `smart-tags` | buildbetter-create-smart-tag, buildbetter-backfill-smart-tag, buildbetter-review-improve-smart-tag | Create, evaluate, backfill, and improve BuildBetter Smart Tags | | `support` | buildbetter-customer-issue-triage | Evidence-backed customer issue triage and handoff | ## Platform support | Platform | Format | Slash Commands | Install Path | |----------|--------|---------------|-------------| | Claude Code | SKILL.md | Yes | ~/.claude/skills/ | | Codex CLI | SKILL.md | Yes | ~/.codex/skills/ | | Cursor | .mdc rules | No (passive) | .cursor/rules/ | | GitHub Copilot | .instructions.md | No (passive) | .github/instructions/ | | Gemini CLI | .toml | Yes | ~/.gemini/commands/bb-skills/ | | Windsurf | .md rules | No (passive) | .windsurf/rules/ | | Amazon Q | .md rules | No (passive) | .amazonq/rules/ | ## Skill reference ### core | Skill | Description | |-------|-------------| | [bb-skills-update](skills/core/bb-skills-update/) | Checks for available BuildBetter Skills updates via GitHub releases | ### spec-workflow | Skill | Description | |-------|-------------| | [bb-specify](skills/spec-workflow/bb-specify/) | Define what you want to build -- requirements and user stories | | [bb-plan](skills/spec-workflow/bb-plan/) | Create a technical implementation plan with your chosen tech stack | | [bb-review](skills/spec-workflow/bb-review/) | BuildBetter-first usability and code review | | [bb-tasks](skills/spec-workflow/bb-tasks/) | Generate an actionable task list from your implementation plan | | [bb-clarify](skills/spec-workflow/bb-clarify/) | Clarify underspecified areas before planning | | [bb-analyze](skills/spec-workflow/bb-analyze/) | Cross-artifact consistency and coverage analysis | | [bb-checklist](skills/spec-workflow/bb-checklist/) | Generate quality checklists that validate requirements completeness | | [bb-constitution](skills/spec-workflow/bb-constitution/) | Create or update project governing principles | | [bb-implement](skills/spec-workflow/bb-implement/) | Execute all tasks to build the feature according to the plan | ### testing | Skill | Description | |-------|-------------| | [app-navigator](skills/testing/app-navigator/) | Map application routes, pages, and components for UI/UX audit | | [trust-but-verify](skills/testing/trust-but-verify/) | Verify UI/UX and functionality match the original plan | | [generate-tests](skills/testing/generate-tests/) | Generate reusable Playwright test files from the app map | ### smart-tags | Skill | Description | |-------|-------------| | [buildbetter-create-smart-tag](skills/smart-tags/buildbetter-create-smart-tag/) | Create or configure a Smart Tag and run a bounded evaluation | | [buildbetter-backfill-smart-tag](skills/smart-tags/buildbetter-backfill-smart-tag/) | Preview and run a bounded Smart Tag backfill | | [buildbetter-review-improve-smart-tag](skills/smart-tags/buildbetter-review-improve-smart-tag/) | Review evaluation cases and run a prompt-improvement regression | ### support | Skill | Description | |-------|-------------| | [buildbetter-customer-issue-triage](skills/support/buildbetter-customer-issue-triage/) | Triage, investigate, resolve, and communicate customer issues | ## BuildBetter workspaces Synced into BuildBetter workspaces as "BuildBetter Skills". Every BuildBetter workspace gets this repository as a GitHub Skill Set source (Mirror mode): one "BuildBetter Skills" Skill Set whose folders follow this repository. `plugins/buildbetter-claude`, `plugins/buildbetter-grok`, `plugins/skills`, `skills/core` and `skills/support` are left out, and `bob/skills` reaches only workspaces with BOB. A merge to `main` updates every workspace, so skill changes here need PR review. ## BuildBetter integration The spec-workflow skills can optionally use BuildBetter's customer evidence API to enrich specifications, plans, and reviews with real customer data. This is not required -- all skills work without it. When a `BUILDBETTER_API_KEY` environment variable is set, the workflow will automatically pull relevant customer insights, feature requests, and pain points into your specs and plans. To enable it, set the API key in your shell: ```bash export BUILDBETTER_API_KEY=your_key_here ``` Evidence collection is best-effort and never blocks the workflow. If the key is missing or the API is unreachable, skills continue normally. ## Updating To update all installed skills to the latest version: ``` bb-skills update ``` ## CLI reference | Command | Description | |---------|-------------| | `bb-skills install ` | Install a skill pack | | `bb-skills uninstall ` | Remove an installed skill pack | | `bb-skills update` | Update all installed packs to latest | | `bb-skills list` | List installed packs and skills | | `bb-skills platforms` | Show supported platforms and install paths | ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on adding skills, writing adapters, and submitting pull requests. ## Acknowledgments BuildBetter Skills was inspired by and originally derived from [github/spec-kit](https://github.com/github/spec-kit) (MIT License). BuildBetter has significantly extended the original with customer evidence integration, browser testing skills, multi-platform support, and a skill management CLI. ## License This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.