---
name: commit-and-pr-messages
description: >-
  Write Git commit messages and pull request titles/descriptions using the Chris Beams / Tim Pope conventions (subject/body split, ~50-char subject, imperative mood, why-not-how body) plus ASD-STE100 Simplified Technical English for bodies and PR descriptions. Use when creating commits, drafting or editing PR descriptions, writing PR titles, or when the user asks for help with commit/PR wording, changelogs from commits, or git history style.
title: commit-and-pr-messages
canonical_url: https://skilld.dev/gh/superplanehq/superplane/commit-and-pr-messages
last_updated: 2026-10-28T05:01:44.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install superplanehq/superplane/commit-and-pr-messages`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/commit-and-pr-messages`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/superplanehq/superplane/commit-and-pr-messages) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/commit-and-pr-messages`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/commit-and-pr-messages --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/commit-and-pr-messages --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Commit and PR Messages

Write history that future readers can scan, search, and trust. A diff shows
*what* changed; the message must explain *why*.

Based on [How to Write a Git Commit Message](https://cbea.ms/git-commit/)
(Chris Beams) and [A Note About Git Commit Messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
(Tim Pope), adapted for SuperPlane's Conventional Commits + DCO requirements.

**Language:** Write commit bodies, PR titles (after the type prefix), and PR
descriptions in ASD-STE100 Simplified Technical English style. Follow
[simplified-technical-english](../simplified-technical-english/SKILL.md)
before you finalize wording.

## When to use

- Creating or amending a commit message
- Opening or updating a pull request (title and body)
- Reviewing whether a PR description is useful to reviewers

## Commit messages — seven rules

1. **Separate subject from body with a blank line.**
2. **Limit the subject line to ~50 characters** (72 hard max). Prefer the
   Conventional Commits prefix used by this repo (`feat:`, `fix:`, `chore:`,
   `docs:`) plus a short imperative summary; keep the whole subject readable.
3. **Capitalize the subject line** after the optional type prefix
   (`feat: Add canvas console filters`).
4. **Do not end the subject line with a period.**
5. **Use the imperative mood in the subject line** — as if completing:
   *If applied, this commit will ________.*
   Prefer `Fix`, `Add`, `Remove`, `Refactor` over `Fixed`, `Adds`, `Fixing`.
6. **Wrap the body at 72 characters.**
7. **Use the body to explain what and why, not how.** The code shows how.
   Cover motivation, prior behavior, trade-offs, and non-obvious side effects.

### Model commit

```text
Capitalized, short (50 chars or less) summary

More detailed explanatory text, if necessary. Wrap it to about 72
characters or so. The blank line after the subject is mandatory when a
body is present.

Explain the problem this commit solves and why this approach was chosen.
Leave mechanical how-details to the diff unless the approach is surprising.

Further paragraphs come after blank lines.

- Bullet points are okay

Resolves: #123
```

### SuperPlane commit extras

- Include a DCO trailer: `Signed-off-by: Name <email>` (use `git commit -s`).
- One logical change per commit when practical; if the subject is hard to
  write, the commit may be doing too much.
- Issue/PR references belong at the end of the body, not stuffed into the
  subject.

## DCO identity and publication checks

A sign-off must match the commit author's **exact name and email**. The same
email with a different name fails DCO. `git commit -s` uses the committer's
configured identity; it does not prove that the author's identity matches.

Before publishing, inspect every new commit's author, committer, and trailers:

```bash
git show -s --format='Author: %an <%ae>%nCommitter: %cn <%ce>%n%B' HEAD
```

- Match each author's name and email to a `Signed-off-by` trailer. Use the
  identity in the commit metadata. Do not substitute a login or display name.
- When a GitHub app or API creates a commit, it can use a different identity
  from local Git. Inspect the created remote commit **before updating a branch
  ref**. If its author does not match the trailer, create a corrected commit
  before publishing the ref. Never hardcode a personal identity in this skill.
- After publishing, check DCO on the PR's current head. Report DCO as passed
  only after that check succeeds. Pending or failed is not complete.
- Preserve the user's history constraints. Use a follow-up remediation commit
  only if the repository's DCO app enables it. Do not bypass DCO or change its
  configuration to hide an invalid sign-off. When a metadata amendment is
  authorized, preserve the code tree and use the exact old head as a lease.

## Pull request titles

PR titles are the public subject line for a whole change set.

- Follow Conventional Commits with a release-type prefix CI enforces:
  `feat:`, `fix:`, `chore:`, or `docs:`.
- After the prefix, write an imperative, capitalized summary with no trailing
  period — same mood test as commits.
- Keep the title scannable; put nuance in the body, not a novel in the title.

**Good:** `feat: Add empty-state copy for connected integrations`  
**Weak:** `feat: Updated some stuff for onboarding`  
**Weak:** `Fixed the bug.`

## Pull request descriptions

Treat the PR body like an expanded commit body for reviewers and future
maintainers. Lead with purpose; do not narrate the diff file-by-file.
Write the Summary in STE
([simplified-technical-english](../simplified-technical-english/SKILL.md)).
Do not add a Test plan or other checklist of checks that the author already ran.
If the author needs to show proof, the Summary or the UI review context can
say what was verified and how.

### Required shape

```markdown
## Summary

<2–4 short STE sentences or bullets: what problem this solves and why this
change exists. Max 25 words per descriptive sentence. Focus on motivation
and user/system impact, not implementation tourism.>
```

### Writing rules for the Summary

- **STE first.** Short sentences, active voice, no contractions, no slang.
- **Why over how.** State the before/after behavior and the reason for the
  change. Mention approach only when it is non-obvious or risky.
- **Present / imperative orientation.** Describe what the PR *does*
  (`Adds…`, `Fixes…`, `Removes…`), not a diary of what you did yesterday.
- **Scannable.** Short paragraphs or bullets; no wall of implementation notes
  that duplicate the diff.
- **Concrete product ideas.** For product changes, use a few bullets that say
  what users see or do differently and why. Assume the reviewer has not read
  the conversation. Prefer “Hide the chat box while questions need answers”
  over “Improve the planning interaction hierarchy.”
- **Proportional scope.** A PR that adds stories can simply say which states
  it adds and which issue they help explore. Do not imply it changes the app
  or resolves the issue.
- **Honest scope.** Call out follow-ups, known gaps, or intentional
  non-goals when relevant.
- **Link context.** Reference issues (`Closes #123`) when they exist; do not
  invent ticket IDs.

### UI review context

- For visual changes, include screenshots of the most useful states. Two or
  three usually suffice. Crop to the relevant area and label each state.
  Use images from the final UI, with URLs that reviewers can access.
- When Storybook covers the change, list the exact sidebar path and story
  names. Identify relevant edge cases so reviewers can find them directly.
- Scale this context to the change. Do not add screenshots or extra sections
  when they do not help reviewers understand or verify it.

### Avoid

- Subject-only PRs with an empty or placeholder body when the change needs
  context
- Restating every file touched (`Updated Foo.tsx, Bar.go, …`)
- Past-tense changelog dumping with no problem statement
- Marketing or hype language

### Quick quality check

Before submitting a PR description, confirm:

- [ ] Title completes: *If merged, this PR will ________.*
- [ ] Summary explains **why**, not a file list
- [ ] Summary obeys STE sentence limits and style
- [ ] No trailing period / non-imperative mush in the title
- [ ] Body would still make sense months later without the author present
