prlisted
Install: claude install-skill RIJUDEVx/agent-skills
# Pull request
The repo decides the conventions. This skill finds them and follows them. A repo may
override any of this with its own `.agents/skills/pr/SKILL.md`; that file wins.
## 1. Preflight read
Before writing anything:
- **Repo rules.** `AGENTS.md`, `CONTRIBUTING.md`, `.github/pull_request_template.md`,
and the repo's own `.agents/skills/pr/SKILL.md` if it exists. Read them; a source you
have not read does not count.
- **Base branch.** The repo says it (`Dev`, `main`, `develop`), otherwise the remote
default: `git symbolic-ref --short refs/remotes/origin/HEAD`. Never guess.
- **Existing PR.** `gh pr view --json title,body,labels,assignees,projects,isDraft`.
Update it rather than opening a second one.
- **The change.** `git diff <base>...HEAD` and `git log <base>..HEAD --oneline`.
- **The issue behind the branch,** when one exists. Fetch it; never invent an issue.
- **Reverse state.** Archive ↔ restore, open ↔ close. When the change has one, both
directions are implemented and verified, and the body says so.
## 2. Conventions
Read them, do not assume them:
| What | Where it lives |
|---|---|
| Title format | `CONTRIBUTING.md`, the PR template, `git log --oneline -20` |
| Body sections | `.github/pull_request_template.md` |
| Labels | `gh label list` is the source of truth for the vocabulary |
| Boards / projects | `gh project list --owner <owner>` |
| Checks | the repo's CI workflow, `AGENTS.md`, or `CONTRIBUTING.md` |
Where the repo documents a format