# Create Pr

> Create a pull request following project conventions.

- Skill: `agglayer/create-pr-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agglayer/create-pr-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agglayer/create-pr-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: agglayer (https://skillmd.com/u/agglayer)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/agglayer/create-pr-2

---


When creating a PR:

- Use `gh pr create`
- Use the project's template and merge-queue conventions.

## Merge-queue mapping

- **PR title** = commit title (Conventional Commits format).
- **PR description** = commit body (reusable as commit message content).
- **PR title max**: 72 characters.
- **PR description line max**: 72 characters,
  except long URLs, code blocks, or stack traces.

## Description rules

- **No headings** (no `## Summary` or similar) in the PR description.
- The **first line** must be plain context text describing the change.
- Fill `CONFIG-CHANGE:` and `BREAKING-CHANGE:` sections when applicable.
- **Remove** `CONFIG-CHANGE:` and/or `BREAKING-CHANGE:` sections entirely
  if there is no config change or breaking change respectively.
- Keep the description concise and commit-friendly.

## Steps

1. **Run the `verify` skill** if it has not been run
   since the last code change.
   All matching checks must pass before proceeding.
2. Review all commits on the branch
   (`git log` and `git diff` against the base branch).
3. Draft a PR title (Conventional Commits format, 72 chars max).
4. Draft a PR description following the rules above.
5. Ask for confirmation from the user with all this information.
6. Check if the branch needs to be pushed to remote.
7. Create the PR.
8. Return the PR URL.

