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 (Chris Beams) and A Note About Git Commit Messages (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 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
- Separate subject from body with a blank line.
- 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. - Capitalize the subject line after the optional type prefix
(
feat: Add canvas console filters). - Do not end the subject line with a period.
- Use the imperative mood in the subject line — as if completing:
If applied, this commit will ________.
Prefer
Fix,Add,Remove,RefactoroverFixed,Adds,Fixing. - Wrap the body at 72 characters.
- 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
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: #123SuperPlane commit extras
- Include a DCO trailer:
Signed-off-by: Name <email>(usegit 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:
git show -s --format='Author: %an <%ae>%nCommitter: %cn <%ce>%n%B' HEAD- Match each author's name and email to a
Signed-off-bytrailer. 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:, ordocs:. - 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). 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
## 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