git-semantic-commits-skill

git-semantic-commits-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 70 tokens per session (5,259 once invoked), scanned A, original, Apache-2.0.

A Git commit-writing and checking tool based on Conventional Commits, a shared format that labels changes such as features, fixes, and documentation.

In plain words
What is it for?
Use it to write or validate commit messages, identify change types and scopes, mark breaking changes, and create commit templates.
Why use it?
It keeps commit history consistent and explains whether a change may require a major, minor, or patch version update.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: positional $N argument; mentions AGENTS.md; mentions OpenCode.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/darellchua2/opencode-config-template/git-semantic-commits-skill
Any agent
npx skills add darellchua2/opencode-config-template --skill git-semantic-commits-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-semantic-commits-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/git-semantic-commits-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/git-semantic-commits-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/git-semantic-commits-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/git-semantic-commits-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.05259
Opus 5 $0.00035 $0.02629
Sonnet 5 $0.00014 $0.01052
Haiku 4.5 $0.00007 $0.00526

Measured 2d ago against content hash 2cb8bbb9a5a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

git-semantic-commits-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

opencode_app/.opencode/skills/git-semantic-commits-skill/SKILL.md · 777 lines

How it starts

The opening of the file, as written. The whole thing — 777 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I provide Git commit message formatting following the Conventional Commits specification with semantic versioning support:

  1. Format Commit Messages: Enforce Conventional Commits format: <type>(<scope>): <subject>
  2. Detect Commit Type: Identify commit type from content: feat, fix, docs, style, refactor, test, chore, perf, ci, build, revert
  3. Support Scopes: Add optional scope to identify affected component/package: feat(api):, fix(ui):
  4. Detect Breaking Changes: Identify breaking changes via ! after type/scope or BREAKING CHANGE: in footer
  5. Provide Versioning Guidance: Explain versioning implications (MAJOR.MINOR.PATCH) based on commit type
  6. Validate Messages: Check commit messages follow Conventional Commits specification
  7. Generate Templates: Provide commit message templates for each type
  8. Support Body and Footer: Include detailed body and footers (BREAKING CHANGE, Closes, etc.)

When to use me

Use this framework when:

  • You need to format Git commit messages following semantic conventions
  • You're creating a workflow that generates commits
  • You need to detect commit type for versioning or changelog generation
  • You want consistent commit message formatting across your team
  • You're integrating with automated versioning tools (semantic-release, etc.)
  • You need to support automated changelog generation
  • You're creating PRs and want proper title formatting

This is a framework skill - it provides commit message formatting that other skills use.

For the full release pipeline conventions (PR titles, merge strategy, release tags, GitHub Actions), see semantic-release-convention.

Conventional Commits Specification

Format Structure

<type>(<scope>): <subject>

<body>

<footer>

Format Rules

  • type: One of the allowed types (see below)
  • scope: Optional, identifies affected component/package
  • subject: Short description, imperative mood, no period at end
  • body: Detailed description, can be multiple lines
  • footer: Metadata (BREAKING CHANGE, Closes, etc.)

Read the full file on GitHub · 777 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 777 lines · 70 tokens per session scan A 2cb8bbb9a5a9

Subscribe to this mod's changes

git-semantic-commits-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 70 tokens to every session and 5,259 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ship

Use when ready to ship code to remote — handles direct push to main and PR-based feature branch flows. Do NOT use for partial workflows like just committing or just pushing.

juanmhidalgo/claude-plugins · 36 tokens

git-ship

自动化 Git 工作流一键发布助手,执行完整的「ship」流程: 基于最新 main 切新分支 → commit → 推送 → 创建 PR → squash merge → 回 main。 调用 ship 本身就是对完整流程的授权;自动推断分支名、commit message 和 PR 内容, 并主动解决 Git 冲突、测试、lint、类型检查、构建和 CI 失败,持续修复和重试, 直到改动成功合并。不要因可自行修复的失败暂停,只在认证、权限、仓库保护等 无法由当前环境解决的外部阻塞出现时请求用户介入。 仅在用户明确表达「ship」意图时触发,例如: 直接说「ship」「/ship」「git ship」 明确要求完整走完 git…

oil-oil/git-ship · 273 tokens

jig-conformance-audit

Use to check whether a repository's history actually followed the jig procedure: conventional squash subjects, Release-Grade trailers on unreleased work, version tag format and placement, the main/develop fast-forward invariant, and a committed rubric. Read-only, exits non-zero on violations, and runs in CI.

0x0w1/jig · 67 tokens

conformance-audit

Use to check whether a repository's history actually followed the jig procedure: conventional squash subjects, Release-Grade trailers on unreleased work, version tag format and placement, the main/develop fast-forward invariant, and a committed rubric. Read-only, exits non-zero on violations, and runs in CI.

0x0w1/jig · 65 tokens

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for prisma-next. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 47 tokens

git-commit

Generate well-formatted git commit messages following conventional commit standards.

ThinkInAIXYZ/deepchat · 15 tokens