Bbt skill

From LionelDraghi/bbt · View interactive version

Bbt skill is an AI agent skill from the GitHub repository LionelDraghi/bbt. Create, convert, validate, run, and debug bbt scenarios - executable black-box CLI tests embedded in Markdown - and integrate them in CI/CD. Use when the user mentions bbt, wants to make documentation or examples executable, asks for CLI test scenarios, or needs to run or fix bbt tests.

How to use this skill

Skill file

bbt

bbt is both:

  1. a format embedding test scenarios, written in almost natural English, inside Markdown documents;
  2. a command-line tool that runs those scenarios against CLI programs.

Route the task

Read only the reference needed by the user's intent. Do not load both by default.

Authoring - read [references/authoring.md](references/authoring.md) when the user wants to

Typical requests: "make my README runnable", "create a bbt test suite from this documentation", "convert this guide into bbt scenarios", "fix this bbt scenario".

Running - read [references/running.md](references/running.md) when the user wants to

Typical requests: "run my README.md", "why does this bbt run fail?", "create a GitHub Actions workflow for bbt".

If the request involves both conversion and execution, read running.md first, then authoring.md.

Get information at the source

Options, grammar, and examples evolve with each bbt release: never rely on copied documentation. Query bbt itself, or the online reference:

| Need | Command or link |

|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------|

| Syntax and file structure | bbt help tutorial |

| A complete starter scenario | bbt help example |

| Full step grammar, with examples | bbt help grammar |

| Step keywords | bbt help keywords |

| Commands and options | bbt help, then bbt help <topic> with topic in filtering, matching, other, debug, or bbt help on_all |

| What bbt understands from a file (dry run) | bbt explain file.md |

| Installation, issues, documentation | https://github.com/LionelDraghi/bbt |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.