# Writing Pull Requests — Conventional Titles & Descriptions

> Writes a conventional-commit PR title, commit message and short description from your diff, printed in chat to paste.

Writing Pull Requests — Conventional Titles & Descriptions is a free AI agent skill on Agensi by Cristhian Zanforlin Lousa, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Cristhian Zanforlin Lousa](https://www.agensi.io/creators/cristhian-zanforlin-lousa)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Uses: 2
- Version: 1.1
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/writing-pull-requests-conventional-titles-descriptions
- Tags: code-review, documentation, pull-requests, git, conventional-commits, commit-messages, developer-workflow

## About this skill

PR titles like "Fix bug" and descriptions that list every changed file waste reviewers' time. Agents add two more problems: they commit for you and add AI footers. This skill produces a title, commit message and description a reviewer can read in seconds, and leaves committing to you.

**Workflow:**
1. **Inspect the diff** with `git status` and `git diff --stat` against the base (or `--cached` for staged changes), and identify the affected module and the dominant intent.
2. **Pick one type** from the conventional-commit table (`feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`). If two types tie, the change is mixed and it asks whether to split the PR.
3. **Pick a scope** from the diff paths, or omit it. It never invents one.
4. **Write the title** in imperative mood, 72 characters or fewer, capitalized after the colon, with no trailing period and no "and".
5. **Write the description:** a one-sentence Objective (the outcome, not the implementation), up to 5 verb-led Changes bullets, and Notes only when needed. Notes become mandatory for migrations, flags and breaking changes. 150 words maximum.
6. **Print the block in chat.**
7. **Review the PR once it is open.** When the task ends with a real PR on GitHub, it reads the PR back (`gh pr view`, `gh pr diff`, `gh pr checks`) and prints a `reviewing-code` review in chat. It never posts the review. A PR that was only drafted in chat has nothing to review, so this step is skipped.

**Reference files:**
- `templates.md`: variants for feature, fix, refactor, perf, test, docs, chore, revert and breaking change (`!` syntax).
- `examples.md`: common mistakes next to corrected versions, such as vague titles, multi-purpose titles, wrong tense, restating the diff, and burying the why.
- `shared/.../communication.md`: answer-first writing, so the first line says what the PR does and why it's safe to merge.

It pushes back on empty or mixed diffs, and on hunks the PR's purpose doesn't need (drive-by refactors, reformatting, unrelated files): it suggests reverting or splitting them instead of describing them as intended. A `learnings/` folder holds project-specific scopes and vocabulary.

Hard rules: output goes to the chat, never to a file. It never runs `git commit`, `add` or `push`, and never adds AI attribution, `Co-Authored-By` trailers or "Generated with" footers.

Free and MIT-licensed, part of the claude-skills-czl collection.

**Source on GitHub:** [this skill](https://github.com/Cristhianzl/claude-skills-czl/tree/main/configs/agnostic/skills/writing-pull-requests) · [full repository](https://github.com/Cristhianzl/claude-skills-czl)

## Requires

- Git

## Known limitations

It never commits, pushes, opens the PR or posts a review, and never adds AI attribution. The review of an opened PR needs the GitHub CLI (gh) with read access. Out-of-scope hunks get a suggestion to revert or split instead of being described as intended.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Writing Pull Requests — Conventional Titles & Descriptions skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Does it work outside Claude Code?

Yes. It is a standard SKILL.md folder and works in any agent that loads SKILL.md skills. Running `git diff` needs shell access, or you can paste the diff. It was built and tested mostly on Claude Code.

### Will it commit, push or open the PR for me?

No. It prints the title, commit message and description in the chat and stops. Committing and opening the PR stay with you.

### Will it add "Generated with AI" footers or co-author lines?

No. AI attribution of any kind is forbidden by the skill's hard rules.

### How is it triggered?

Say "create a PR", "PR title", "PR description", "commit message" or "write the PR". You can also invoke it by name.

### How do I install it?

Unzip it into `~/.claude/skills/` (all projects) or your project's `.claude/skills/` (that project only), so the path is `.../skills/writing-pull-requests/SKILL.md`.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
