--- name: pr-workflow description: Create pull requests for esphome/device-builder. Use when creating PRs, submitting changes, or preparing contributions. allowed-tools: Read, Bash, Glob, Grep --- # device-builder PR Workflow When creating a pull request for `esphome/device-builder`, follow these steps. The repo's conventions are documented in [CLAUDE.md](../../../CLAUDE.md); this skill summarises the parts that matter at PR-creation time. ## 1. Create branch from origin/main There is no fork in this workflow — `origin` already points at `esphome/device-builder`. Always re-fetch first so the branch is based on the latest `main`: ```bash git fetch origin git checkout -b origin/main ``` ## 2. Read the PR template Before creating a PR, read `.github/PULL_REQUEST_TEMPLATE.md` to understand the required sections. Fill in **every** section — do not skip or abbreviate. ## 3. Tick exactly one "Types of changes" box `.github/workflows/pr-labels.yaml` parses the PR description for a `- [x] ... \`