Agent skill

Commit Message Formatter

by sqing33 in sqing33/PTNexus

统一 PTNexus 提交标题为“动作:修改内容”格式,并基于当前改动生成可直接使用的 commit message。Use when users ask to write/optimize/format commit messages, summarize branch changes before commit, or enforce repository commit-title…

No licenceAuto-check passedDevelopment

Install Commit Message Formatter

skills CLI
$ npx skills add sqing33/PTNexus --skill commit-message-formatter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sqing33/PTNexus commit-message-formatter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sqing33/PTNexus.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/commit-message-formatter .claude/skills/commit-message-formatter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit-message-formatter
GitHub stars
151
Token cost
~384 tokens
SKILL.md length
89 words
Files
2
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

统一 PTNexus 提交标题为“动作:修改内容”格式,并基于当前改动生成可直接使用的 commit message。Use when users ask to write/optimize/format commit messages, summarize branch changes before commit, or enforce repository commit-title…

  • Works in 4 steps: 检查最近提交风格 → 在需要更稳的动作词优先级时,统计更长窗口 → 读取本次改动范围(优先暂存区) → …
  • Users ask to write/optimize/format commit messages
  • SKILL.md covers 目标, 执行流程, 格式规范 and 动作词映射, plus 4 more sections
  • Calls git

What it does

Commit Message Formatter is an agent skill from sqing33/PTNexus. 统一 PTNexus 提交标题为“动作:修改内容”格式,并基于当前改动生成可直接使用的 commit message。Use when users ask to write/optimize/format commit messages, summarize branch changes before commit, or enforce repository commit-title conventions.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Commit messages and Linting and formatting. The repository describes itself as: PT Nexus 是一款支持 Docker 容器化部署、兼容多下载器与多数据库的 PT 种子聚合管理平台,可自动提取标准化种子参数、解析标题组件,智能纠错补充 MediaInfo/截图/简介等内容、适配不同站点发布规范,支持批量转种与自动推送下载器做种,还具备禁转检测、已存在种子智能匹配等机制,搭配本地文件检索、IYUU API…

When your agent uses it

  • Users ask to write/optimize/format commit messages
  • Summarize branch changes before commit
  • Enforce repository commit-title conventions

Example prompts

  • “动作:修改内容”
  • “/commit-message-formatter”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 检查最近提交风格
  2. 在需要更稳的动作词优先级时,统计更长窗口
  3. 读取本次改动范围(优先暂存区)
  4. 根据变更目标选择动作词,并输出 1 条推荐标题 + 最多 2 条备选标题。

What it can do on your machine

Read from SKILL.md and the folder at commit 53eee1f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit Message Formatter loads about 384 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 89 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~384

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 89 words (~384 tokens).

name
commit-message-formatter

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .codex/skills/commit-message-formatter of sqing33/PTNexus.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 53eee1f

Compare with similar skills

Commit Message Formatter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit Message Formatter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit Message Formatter this skillsqing33/PTNexus151—~384Automated safety check: PassNone
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Lint Commit PRTresjs/tres3.8k—~1.1kAutomated safety check: PassMIT
PR Pushicebear0828/codex-proxy1.8k—~2.2kAutomated safety check: NotesCustom licence
PR Pushicebear0828/codex-proxy1.8k—~2.3kAutomated safety check: NotesCustom licence
Create PRRLinf/RLinf5.5k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated today
    DevelopmentAuto-check passed
  • Lint Commit PR

    Tresjs/tres

    Lint local changes, auto-fix, conventional commit, and optionally create PR

    3.8k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Push

    icebear0828/codex-proxy

    Package the current working changes into a standards-compliant codex-proxy pull request: branch hygiene, commit message linting, CHANGELOG prompt, conventional commit, push, and gh pr create against…

    1.8k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check: notes
  • PR Push

    icebear0828/codex-proxy

    Package the current working changes into a standards-compliant codex-proxy pull request: branch hygiene, commit message linting, CHANGELOG prompt, conventional commit, push, and gh pr create against…

    1.8k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Create PR

    RLinf/RLinf

    Open a GitHub pull request for RLinf, or fix an existing one — checks the PR title against Conventional Commits, writes a precise description that follows .github/PULLREQUESTTEMPLATE.md, and lints…

    5.5k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…

    6.3k GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from sqing33/PTNexus

  • Worktree Lite

    sqing33/PTNexus

    轻量 Git worktree 流程:修改前创建新 worktree、完成后输出审查摘要、明确询问用户是否合并、合并前生成“动作:修改内容”格式提交信息。Use when users want a simpler replacement for parafork or need create-review-merge flow with explicit merge approval.

    151 GitHub stars~691 tokensUpdated 2 mo ago
    Auto-check passed
  • Wsl Win Notify

    sqing33/PTNexus

    Send native Windows notifications from WSL during coding workflows.

    151 GitHub stars~590 tokensUpdated 2 mo ago
    Auto-check passed
  • Server Standards

    sqing33/PTNexus

    server 修改强制工作流与规范(先读结构文档定位;新文件按分层落目录;业务日志用 logx;导出函数/Handler/Service/Repo 写中文注释;交付自检清单)。

    151 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Commit Message Formatter

What does Commit Message Formatter do?

统一 PTNexus 提交标题为“动作:修改内容”格式,并基于当前改动生成可直接使用的 commit message。Use when users ask to write/optimize/format commit messages, summarize branch changes before commit, or enforce repository commit-title…. Commit Message Formatter is an agent skill from sqing33/PTNexus. 统一 PTNexus 提交标题为“动作:修改内容”格式,并基于当前改动生成可直接使用的 commit message。Use when users ask to write/optimize/format commit messages, summarize branch changes before commit, or enforce repository commit-title conventions.

When should I use Commit Message Formatter?

Commit Message Formatter fits situations like: users ask to write/optimize/format commit messages; summarize branch changes before commit; enforce repository commit-title conventions.

How do I install Commit Message Formatter in Claude Code?

Run `npx skills add sqing33/PTNexus --skill commit-message-formatter -a claude-code`. Or copy the skill folder (.codex/skills/commit-message-formatter in sqing33/PTNexus) into .claude/skills/commit-message-formatter in your project. Claude Code loads it when a task matches its description.

How do I install Commit Message Formatter in Codex?

Run `npx skills add sqing33/PTNexus --skill commit-message-formatter -a codex`. Or copy the skill folder (.codex/skills/commit-message-formatter in sqing33/PTNexus) into .agents/skills/commit-message-formatter in your project. Codex loads it when a task matches its description.

Can I use Commit Message Formatter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sqing33/PTNexus --skill commit-message-formatter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit-message-formatter, .gemini/skills/commit-message-formatter, .github/skills/commit-message-formatter and .opencode/skills/commit-message-formatter in your project.

What does Commit Message Formatter need to run?

Going by SKILL.md and its folder, Commit Message Formatter needs the command-line tools its instructions call (git).

Does Commit Message Formatter access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit Message Formatter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit Message Formatter use?

No licence was found for Commit Message Formatter or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Commit Message Formatter use?

About 384 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit Message Formatter?

Skills that share tags, products or a category with Commit Message Formatter: Saleor Commit Workflow (saleor/saleor, 23k stars), Lint Commit PR (Tresjs/tres, 3.8k stars), PR Push (icebear0828/codex-proxy, 1.8k stars) and PR Push (icebear0828/codex-proxy, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit Message Formatter?

sqing33 (a GitHub user) maintains it in sqing33/PTNexus, which has 151 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on July 12, 2026.

Source: sqing33/PTNexus on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.