Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Git Compact Commits Skill

ASecurity

Concise commits within strict budgets — 72-char subject, 150-word body, semantic grouping. Triggers: compact commit, concise commit, terse commit.

6 stars
0 votes
0 copies
0 views
Added 9/20/2026
devopsgogit

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add darellchua2/opencode-config-template --skill git-compact-commits-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Compact Commits Skill?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Git Compact Commits Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/darellchua2-git-compact-commits-skill/badge)](https://www.skillsdirectory.com/skills/darellchua2-git-compact-commits-skill)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: git-compact-commits-skill
description: "Concise commits within strict budgets — 72-char subject, 150-word body, semantic grouping. Triggers: compact commit, concise commit, terse commit."
license: Apache-2.0
compatibility: opencode
category: Git/Workflow
---

## What I Do

Enforce commit-length budgets, semantic grouping, and compact writing. **This skill is the authority** for length budgets, grouping strategy, and commitlint enforcement; `git-semantic-commits-skill` owns types/scopes/breaking-change format; `semantic-release-convention` owns the release pipeline.

## When to Use Me

Commits running long; squashing a branch into one message; "concise commit", "terse commit"; tightening commitlint rules.

## Two use cases (both apply in a squash-merge workflow)

1. **Branch commits (pre-squash)** — keep `git log` readable during review; subject + 1-2 line body + `Refs:` footer.
2. **Squash-merge output** — the permanent record: subject + body (what+why, not per-commit narration) + `BREAKING CHANGE:` footer if any + `Closes <ticket>`.

## Length budgets (hard limits)

| Part | Ideal | Hard limit |
|------|-------|-----------|
| Subject | 50 chars | **72 chars** (GitHub truncation) |
| Body | ≤100 words | **150 words** |
| Body/footer line | 72 chars | 72 chars |
| Whole message | ≤200 words | 250 words |

Check: `echo "$SUBJ" | wc -c` ≤ 72; body `sed '1,/^$/d' | wc -w` ≤ 150.

## Semantic grouping (Section 1 condensed)

Group changes by **semantic concern**, not by file or chronological order: one commit = one reviewer-legible concern (schema change + its consumers can be one; schema change + unrelated UI fix never). Order within a branch: migrations/models first, then logic, then tests, then docs. **Anti-patterns:** mega-commits mixing concerns; splitting a single concern across commits (unreviewable); grouping by file type ("all .test.ts files"); empty-body subjects for non-trivial changes.

## Compact writing techniques (Section 3 condensed)

Active voice, imperative mood ("add", not "added"/"adds") · scopes absorb context (`feat(auth):` beats a subject repeating "the auth module") · omit HOW — what + why only · bullets not paragraphs for multi-item bodies · consolidate similar items ("update 6 test fixtures" not six lines) · standard abbreviations (config, auth, impl, refactor) — never invented ones · drop articles where lossy-safe (`add retry` not `add a retry mechanism`).

## Enforcement

commitlint rules this skill mandates (beyond defaults): `subject-max-length: 72` (hard), `body-max-line-length: 72`, `footer-max-line-length: 72`, and a body-word budget via `body-max-body-length`-style custom rule or CI check (`sed '1,/^$/d' | wc -w` gate). Project `.commitlintrc` may tighten (e.g. 100-word bodies); never loosen past the hard limits above without a recorded decision.

Attribution

darellchua2darellchua2
View sourceMore from darellchua2 →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Terraform Module Library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

393431 votes

sematext-otel

Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.

01 votes

Deployment Patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

2459130 votes

Babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

942310 votes

V7 Roster

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

805540 votes
View all in devops →