pr-workflow
Create pull requests for esphome.io. Use when creating PRs, submitting changes, or preparing contributions.
소스 정보
- 저장소
- esphome/esphome.io
- 최근 소스 활동
- 2026년 5월 28일 01:44
- 감지된 SKILL.md 언어
- 영어
- 스타
- 461
- 포크
- 2,395
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- pr-workflow
- description
- Create pull requests for esphome.io. Use when creating PRs, submitting changes, or preparing contributions.
- allowed-tools
- Read, Bash, Glob, Grep
# ESPHome Docs PR Workflow
When creating a pull request for esphome.io, follow these steps:
## 1. Create Branch from Upstream
Always base your branch on **upstream** (not origin/fork) to ensure you have the latest code:
```bash
git fetch upstream
git checkout -b <branch-name> upstream/current
```
Use `upstream/current` for documentation fixes, or `upstream/next` for new component docs.
## 2. Read the PR Template
Before creating a PR, read `.github/PULL_REQUEST_TEMPLATE.md` to understand required fields.
## 3. Create the PR
Use `gh pr create` with the **full template** filled in. Never skip or abbreviate sections.
Required fields:
- **Description**: What changes are being made
- **Related issue**: Use `fixes <link>` syntax if applicable
- **Pull request in esphome**: Link if this documents a new feature
- **Checklist**: Check the appropriate boxes:
- `next` branch: New docs with matching esphome PR
- `current` branch: Fixes/adjustments to existing docs
- Component index: Check if link added to `/components/_index.md`
## 4. Example PR Body
```markdown
## Description:
<describe your changes here>
**Related issue (if applicable):** fixes https://github.com/esphome/esphome.io/issues/XXX
**Pull request in [esphome](https://github.com/esphome/esphome) with YAML changes (if applicable):**
- N/A (or esphome/esphome#XXX)
## Checklist:
- [ ] I am merging into `next` because this is new documentation that has a matching pull-request in [esphome](https://github.com/esphome/esphome) as linked above.
or
- [x] I am merging into `current` because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.
- [ ] Link added in `/components/_index.md` when creating new documents for new components or cookbook.
```
## 5. Push and Create PR
```bash
git push -u origin <branch-name>
gh pr create --repo esphome/esphome.io --base current --title "[component] Brief description"
```
Use `--base next` if documenting a new feature with a matching esphome PR.
GitHub에서 보기