No slash command · from lab-skills
Git commit practices and conventions. Use when committing changes, writing commit messages, creating branches, or making PRs.
Ships in lab-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
# Check current branch and status
git status
git branch
# Pull latest changes if on a shared branch
git pull
Commit frequently — after completing each logical unit of work
Write descriptive commit messages — explain the "what" and "why"
Include the co-author line at the end of commit messages:
Co-Authored-By: Claude <[email protected]>
Check what will be committed before committing:
git status
git diff --staged
IMPORTANT: Use multiple -m flags for commit messages — do NOT use heredocs (<<'EOF').
Heredocs create multi-line Bash commands that don't match permission allowlist glob patterns (the * wildcard doesn't match newlines). Multiple -m flags keep the command on a single line.
Single-line message:
git commit -m "Title line here" -m "Co-Authored-By: Claude <[email protected]>"
Multi-line message (title + body + co-author):
git commit -m "Title line here" -m "Body paragraph explaining the why." -m "Co-Authored-By: Claude <[email protected]>"
Each -m flag adds a separate paragraph to the commit message (separated by a blank line in the git log).
.gitignore).env, credentials.json, etc.).claude/worktrees/)/done skill)"Command not found" for git tools → Git should be available system-wide; check PATH if issues arise
Merge conflicts → Alert the user and explain the conflict before attempting resolution
Git push fails with SSH permission denied
→ SSH keys aren't available in Claude Code's terminal environment
→ Switch remote to HTTPS: git remote set-url origin https://github.com/OWNER/REPO.git
→ The gh CLI provides HTTPS authentication automatically
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub musserlab/lab-claude-skills --plugin lab-skills34 skills in this plugin
/audit-projectPeriodic project health check - cross-check docs, prune conventions, find drift. Use when project documentation feels stale, before milestones, or when CLAUDE.md is getting long. Do NOT load for auditing skills (use /audit-skills) or data analysis scripts (use /audit-script).
/audit-scriptSystematic audit of data analysis scripts for bugs, analytical reasoning, data handling, style, and reproducibility. Includes domain verification phase that researches tools, file formats, and methods to catch domain-specific errors (not just code bugs). Use when auditing a script, reviewing code for correctness, checking for bugs, preparing a script for publication, or when the user says "audit this script", "review this code", "check this for bugs", or "is this script correct". Three modes: thorough (collaborative section-by-section), fast (Claude-driven with discussion), and report-only. Do NOT load for quick one-off questions about a single line or function.
/audit-skillsOther plugins' skills for the same job