Git Hygiene

Use before committing, reviewing, or summarizing local changes in a shared repository.

David Ondrej 7028161 556 B Updated

File contents

Git Hygiene

Use this skill to inspect local changes without disturbing them.

Steps

  1. Run git status --short.
  2. Review diffs for files you changed.
  3. Do not stage unrelated files.
  4. Do not rewrite history unless explicitly requested.
  5. Do not push without explicit permission.
  6. Summarize changed files and validation.

Notes

If the folder is not a git repository, say so and continue with filesystem checks.

davidondrej/monorepo/tree/main/_shared/skills/git-hygiene commit 7028161a1e

Frequently asked questions

npx skillmds@latest add davidondrej/git-hygiene