hashiiiii-pull-requestlisted
Install: claude install-skill hashiiiii/rules-for-ai
# Pull Request Conventions
Use the pull request structure from the repository. If the repository defines a structure, do not replace it.
## Locale
Before you draft a pull request, resolve its language:
1. If project instructions specify a pull request language, use that language.
2. If project instructions do not specify a language, use the resolved `pull-requests` key from the context.
3. If the context has no resolved keys, read the first existing locale file.
4. Use this file order: local, project, user, and bundled `LOCALE.default.md`.
5. Use `<absolute-git-dir>/rules-for-ai/LOCALE.md` for the local file.
6. Use `<repo>/.rules-for-ai/LOCALE.md` for the project file.
7. Use `${XDG_CONFIG_HOME:-${HOME:-}/.config}/rules-for-ai/LOCALE.md` for the user file.
8. If no locale file exists, use `en_US`.
9. Use the `pull-requests` language for the pull request title and body.
Use the exact section headings from the selected template. For the default structure, always write the headings in English.
If `pull-requests` is `ja_JP`, keep the English headings. Write the text below each heading in Japanese.
## When to Use
- Before `gh pr create`
- Before you edit a pull request body with `gh pr edit --body`
- If the user asks you to draft a pull request
## Repository Template (preferred)
Before you draft the body, search for a pull request template in this order:
1. `.github/pull_request_template.md`
2. `.github/PULL_REQUEST_TEMPLATE.md`
3. `pull_request_template.md` at the rep