conventional-commits
Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation,
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Format commit messages using the Conventional Commits specification. Use when creating commits, writing commit messages, or when the user mentions commits, git commits, or commit messages. Ensures commits follow the standard format for automated tooling, changelog generation, and semantic versioning.
How to use
Zainstaluj skill conventional-commits w swoim środowisku agenta lub IDE, gdzie pracujesz z kontrolą wersji. Skill automatycznie aktywuje się, gdy wspominasz o commitach, git commitach lub pisaniu wiadomości commitów.
Kiedy tworzysz commit, podaj agentowi informację o zmianach, które chcesz zacommitować. Skill sformatuje wiadomość zgodnie z Conventional Commits, wybierając odpowiedni typ: feat dla nowych funkcji, fix dla poprawek błędów, docs dla zmian w dokumentacji, refactor dla refaktoryzacji kodu, test dla testów, build dla zmian w systemie budowania, ci dla zmian CI/CD, chore dla pozostałych zmian.
Jeśli zmiana dotyczy konkretnej części kodu, skill doda opcjonalny scope w nawiasach, np. feat(parser) lub fix(auth), aby uściślić kontekst.
Wiadomość commita będzie zawierać typ i scope, następnie dwukropek, spację i opis w trybie rozkazującym (np. "add ability to parse arrays" zamiast "added" lub "adds"). Opis będzie zwięzły, bez wielkiej litery na początku i bez kropki na końcu.
Dla bardziej złożonych zmian skill pozwoli dodać opcjonalną treść (body) i stopkę (footer) commita, co jest przydatne przy dokumentowaniu istotnych szczegółów lub referencji do issue'ów.
Sformatowany commit będzie gotowy do push'owania i będzie kompatybilny z narzędziami do automatycznego generowania changelogów i semantic versioning, co ułatwia zarządzanie wersjami projektu.