skills/commit-message/SKILL.md
Use when drafting, reviewing, or normalizing Git commit messages or Perforce changelist descriptions from the shared Git/P4 commit message template.
npx skillsauth add miaodi/llm_config commit-messageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Draft concise, reviewable commit messages and P4 changelist descriptions from the shared template.
Before drafting a message, identify which product is running this skill:
Do not search every product's install location. Product-specific lookup keeps the template selection predictable and avoids unnecessary filesystem scans.
After identifying the product, read the first available template path for that product:
.codex/templates/commit-message/git-p4-commit-message-template.txt in the current repository root.${CODEX_HOME:-${HOME}/.codex}/templates/commit-message/git-p4-commit-message-template.txt..github/templates/commit-message/git-p4-commit-message-template.txt in the current repository root.${HOME}/.vscode-server/data/User/templates/commit-message/git-p4-commit-message-template.txt when that VS Code server user directory exists.${HOME}/.config/Code/User/templates/commit-message/git-p4-commit-message-template.txt..opencode/templates/commit-message/git-p4-commit-message-template.txt in the current repository root.${OPENCODE_HOME:-${HOME}/.config/opencode}/templates/commit-message/git-p4-commit-message-template.txt.If the product cannot be determined from the active agent environment, ask the user which product is invoking the skill instead of searching all product paths.
When working directly from this llm-config source checkout, the source template
at templates/commit-message/git-p4-commit-message-template.txt may be used as
the repository-local template.
Use that file as the single source of truth for message shape and allowed sections.
STARs: <id> as the final line.type(scope): summary when there is a clear scope; use type: summary when there is not.Provide the commit message or changelist description ready to paste or submit.
development
Use when creating C++ learning notes or minimal experiments for low-level computational, numerical, CPU/GPU, compiler, and hardware concepts such as false sharing, floating point, registers, caches, SIMD, atomics, numerical stability, and benchmarking pitfalls.
development
Use when configuring, diagnosing, or compiling LaTeX projects, especially multi-file reports, theses, books, chapter-based projects, Overleaf exports, latexmk/arara/Makefile workflows, bibliography/index/glossary passes, or projects that require pdflatex, xelatex, lualatex, latex->dvips, biber, or bibtex.
development
Use when working with graph traversals (BFS, DFS, level-order), minimum spanning trees, strongly connected components, topological sort, graph coloring, bipartite detection, elimination trees, level-set extraction, parallel graph algorithms, task-tree parallelism, sparse graph representations, and exploiting graph structure for parallel sparse computations.
testing
Use when planning or executing Git branch workflows, especially merge/rebase across branches, conflict resolution, safe history rewriting, and recovery from mistakes.