skills-squash-message
SkillCommunicationHelps your agent write a clean squash commit message for a pull request.
Use skills-squash-message in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add skills-squash-message and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the skills-squash-message skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
About this skill
Use when preparing a squash commit message for a pull request in the Scenario skills repository.
What this skill tells your AI
The instructions your AI receives, as published by scenario-labs/skills in .agents/skills/skills-squash-message/SKILL.md and read by ahel’s review.
Generate a single squash commit message for the current PR.
- Run
git fetch origin main --quiet && git log --oneline $(git merge-base HEAD origin/main)..HEADfor the branch's commits, then read the net diff against main (git diff $(git merge-base HEAD origin/main)..HEAD). The message describes the diff, not the journey: a branch commit that reworks something introduced earlier in the same branch is folded into the item it amends, never listed as a fix. - Write ONE conventional commit message that passes
commitlint.config.js:- Title:
type(scope): summary. Type feat, fix, docs, or chore (never chore for shipped skill content: release-please drops it from the changelog); scope a skill directory name or one of the cross-cutting scopes (skills, agents, ci, deps, docs, tooling). Aim under 72 characters; the hard cap is 120. - Body: what changed and why, for someone skimming
git loga year from now. The problem in a sentence or two, then the change: one sentence, or up to five bullets of one or two lines when the PR lands several distinct things. A dozen body lines at most. Leave out the evidence trail, the per-file inventory, argument shapes, word counts, review history, and anything the diff shows on its own. Wrap at 72 columns. No em dashes. - Footer: read the branch's commit bodies with
git log --format=%B $(git merge-base HEAD origin/main)..HEADand preserve every distinctCo-authored-by:trailer after a blank line. Follow AGENTS.md's "Codex commit attribution" section for Codex contributors.
- Title:
- Write the exact message to a temporary file and verify it passes:
pnpm exec commitlint --edit <file>. - Copy it with
pbcopy < <file>when available; otherwise show the message without a clipboard step. - Show the message, and nothing else.
Signals
- GitHub stars
- 823
- Forks
- 95
- Last commit
- Oct 2026
Advanced
- Item type
- skill
- Key
skills-squash-message- Source
- github.com/scenario-labs/skills
github.com/scenario-labs/skills
More in Communication
Skill · anthropics
More in Communicationerror-handling
Skill · affaan-m
More in Communicationemails
Skill · coreyhaines31
More in Communicationazure-messaging
Skill · microsoft
More in Communicationinvestor-outreach
Skill · affaan-m
More in Communicationgws-gmail
Skill · googleworkspace
More in Communication