Toolverse
All skills

notes

by NeoLabHQ

Use when adding metadata to commits without changing history, tracking review status, test results, code quality annotations, or supplementing commit messages post-hoc - provides git notes commands and patterns for attaching non-invasive metadata to Git objects.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
NeoLabHQ
Category
Testing
Views
1

About this skill

Use when adding metadata to commits without changing history, tracking review status, test results, code quality annotations, or supplementing commit messages post-hoc - provides git notes commands and patterns for attaching non-invasive metadata to Git objects.

How to use

  1. Zainstaluj umiejętność notes z zestawu context-engineering-kit, dodając ją do konfiguracji swojego agenta lub IDE obsługującego MCP skills.

  2. Aby dodać notatkę do commitu, użyj polecenia git notes add -m "twoja wiadomość" wraz z SHA commitu, np. git notes add -m "Reviewed-by: Alice alice@example.com" abc1234. Notatka zostanie dołączona bez zmiany historii.

  3. Wyświetl notatkę dołączoną do commitu poleceniem git notes show abc1234 lub przejrzyj notatki w logu za pomocą git log --notes --oneline, aby zobaczyć wszystkie commity z ich metadanymi.

  4. Jeśli chcesz organizować notatki w kategoriach (np. reviews, tests, quality), użyj przestrzeni nazw z flagą --ref, np. git notes --ref=reviews add -m "message" abc1234, a następnie wyświetl je poleceniem git log --notes=reviews.

  5. Aby udostępnić notatki w zdalnym repozytorium, wyślij je poleceniem git push origin refs/notes/reviews (lub inną nazwę przestrzeni nazw), a inni członkowie zespołu mogą je pobrać za pomocą git fetch origin refs/notes/reviews:refs/notes/reviews.

  6. Edytuj istniejącą notatkę poleceniem git notes edit abc1234, dołącz dodatkową wiadomość za pomocą git notes append -m "nowa linia" abc1234 lub usuń notatkę poleceniem git notes remove abc1234.

Related skills