git-commits
БесплатноБез исполняемых скриптовНе проверенWrite Datapages commit messages, including the breaking-change marker and the BREAKING block. Use when writing a commit message or a changelog entry.
от romshark★ 122 звезды на GitHubОб этом скилле
Respect writing.
Title:
type: Summary, imperative, capitalized after the prefix, 50 characters or less, no trailing period.Types:
feat,fix,perf,refactor,test,chore,ci,docs. Suffix the type with!for a breaking change.Mark a change as breaking when it incompatibly changes an application-facing API. Changes to
runtime/APIs are not breaking: they are generator-facing, anddatapages genupdates generated callers. Treat the root package,modules/and generated APIs such ashrefandactionas public APIs.Wrap the description at 72 characters.
Imperative mood in the title, never past tense:
Add cache, notAdded cacheorAdds cache. The description uses present tense and describes the code as it is now:Move foo to package buzz, notfoo is now in package buzz. No first person, nowe.Don't paraphrase the code changes, the diff already shows them. The description is for what the diff can't show: why, scope, what was left out. Leave it empty when the title says everything.
Don't list the files touched, don't restate the title in longer words and don't close with a summary of the commit.
A commit that bundles several changes lists them as bullets, each with its own conventional prefix. List only the main changes. Tests, docs and call-site updates that come with a change are part of it, not separate bullets:
feat: Add funcFoo <- keep, this is the change docs: Add docs for funcFoo <- drop test: Add tests for funcFoo <- drop refactor: Use funcFoo everywhere <- drop test: Add benchmark to test funcFoo against funcBar <- dropA breaking change ends with a
BREAKING:block. It is the migration instruction: name every removed or renamed symbol asold -> new, and say what the caller has to do, 1 step per line. A caller must be able to migrate from this block alone, without reading the diff. Say plainly when a step is automatic (datapages genregenerates it) and when it is manual. Every line is a step the caller takes. Never list what did not change:href is unchangedis a step to do nothing. When a step could be read as reaching further than it does, narrow the step instead of adding a line: writeEvSubjPref<Event> -> EvPrefix<Event>, the prefix constants only, not... unchangedon a line of its own.A
perf:commit quotes the measurement asbefore -> after.No tool attribution or
Co-Authored-Bytrailers.
Bad:
feat: added caching to the generator and updated some files
This commit adds a cache to the generator so that it is faster. I changed
internal/gen/gen.go, internal/gen/cache.go and internal/cmd/gen.go to add the
cache and wire it up. The cache stores parsed packages in a map keyed by import
path. Overall this makes the generator faster and cleaner.
Co-Authored-By: Some Tool <[email protected]>
Good:
perf: Cache parsed packages in the generator
Every `datapages gen` run reparsed all dependencies. The cache keys on
import path and file mod time, which is safe because the loader already
rejects stale build artifacts.
Watch mode still reparses on every event: invalidation for edits inside
the module isn't implemented yet.
40ms -> 12ms on example/classifieds.
Good, breaking change:
refactor!: Move HTTP core to runtime packages
BREAKING:
- `datapages.NewCore` -> `runtime/httpserve.NewCore`.
- `datapages.CoreConfig` -> `runtime/httpserve.Config`.
- Generated code: run `datapages gen`, no hand edits needed.
- Hand-written callers: import `github.com/romshark/datapages/runtime/httpserve`
and update the 2 names above.
Установить git-commits в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл git-commits?
Write Datapages commit messages, including the breaking-change marker and the BREAKING block. Use when writing a commit message or a changelog entry.
Как установить скилл git-commits?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл git-commits запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic