Admin & Health Commands

CommandWhat it does
ptb doctorRuns the 10-point system and component health audit. Flags missing Auto Layouts, unlinked tokens, and bad dependencies.
ptb ci setupGenerates a GitHub Actions workflow (.github/workflows/ptb.yml) that runs ptb status --fail-on-stale on every push to block PRs with stale code. (Leads only).
ptb removeReverses ptb init. Deletes all PTB config files, .ptb/ directories, and .gitignore entries. It does not delete your generated component or token files.
ptb telemetry [on|off|status]Manage anonymous usage telemetry. status is the default subcommand; off opts out entirely.
ptb bridgeManage the Symbol Bridge (ptb-bridge.json) — the Figma-node-ID → component-symbol map behind design-to-code navigation.

Built-in learning

CommandWhat it does
ptb learnRich onboarding walkthrough and troubleshooting, in the terminal.
ptb flowStep-by-step action guides for different PTB workflows.
ptb guide <topic>Focused reference for one feature area: setup · context · implement · document · status · team · ai · doctor · ci.

Next Steps

Dive into the internal architecture starting with the PTB Configuration file.