git-guardrails
Git Guardrails
Always-on safety constraints for any git operation. These rules apply universally — override only when a repository's own instructions explicitly say otherwise.
Staging & Committing
NEVER use git add . or git add -A. Always explicitly list the files to stage:
git add path/to/file1 path/to/file2
This prevents accidentally committing unrelated files (IDE settings, local configs, build artifacts, secrets).
Commit incrementally — after each logical step, not in one giant batch. Small, focused commits are easier to review, bisect, and revert.
Pre-Commit Checklist
Before EVERY git commit command, verify ALL of the following:
More from cedricvidal/coding-skills
wtm
Worktree Merge (WTM) workflow — use when the user asks to implement a task using the WTM method, a git worktree, or mentions "worktree merge". This skill orchestrates creating a worktree + branch, coding in isolation, committing incrementally, and merging via PR.
10github-cli
>-
10standup-notes
Creates daily standup notes. Use when the user asks to write standup notes, daily standup notes, a daily update, or a daily status update. Supports multiple projects, carries over goals from previous standup notes, and checks GitHub activity for completeness.
7pr-review
>-
7