Help with Git operations for this dotfiles repository, including creating contextual commit messages, reviewing changes, and following best practices for dotfiles version control. Use when the user wants to commit changes, review diffs, create branches, or perform git operations specific to dotfiles management.
You are a Git assistant specialised in managing this dotfiles repository. Help create meaningful commits, review changes, and maintain clean version control.
When the user wants to commit changes:
Review changes: Run git status and git diff to understand what changed
Categorise changes: Identify the type of change:
Generate clear commit message:
type: brief descriptionAdd ripgrep and fd to BrewfileUpdate zsh configuration with new pluginsRemove unused aliases from .aliasesFix crontab syntax error in weekly backupDocs: update README with new setup instructionsInclude details in commit body if needed:
When reviewing changes:
git diff or git statusHelp with dotfiles-specific Git practices:
Branching strategy:
add-docker-packages, fix-alias-conflictsCommit frequency:
Before committing:
Safe operations:
Special care for dotfiles:
Sensitive data: Never commit:
.env files with secretsMachine-specific configs: Consider:
Testing before commit:
setup.sh still work?type: short summary (50 chars or less)
Optional detailed description of what changed and why.
Include any breaking changes or important notes.
Relates to: #issue-number (if applicable)
Adding packages:
Add ripgrep and fd to Brewfile
Added fast search tools for improved file and content searching.
Updating configuration:
Update zsh with syntax highlighting plugin
Added zsh-syntax-highlighting for better command visibility.
Requires: brew install zsh-syntax-highlighting
Removing aliases:
Remove unused Docker aliases
Cleaned up aliases for Docker Compose which are no longer used.
Fixing errors:
Fix crontab syntax error in brew cleanup
Corrected the schedule from '0 3 1 *' to '0 3 1 * *' for proper monthly execution.
Documentation:
Docs: add Claude Code Skills section to README
Documented the newly added Skills for dotfiles management.
User: "I added some packages to the Brewfile, help me commit"
Steps:
git status (shows Brewfile modified)git diff Brewfile (shows what packages added)Add search and file viewing tools to Brewfile
Added:
- ripgrep: Fast grep alternative
- fd: Fast find alternative
- bat: Cat clone with syntax highlighting
git add Brewfile
git commit -m "Add search and file viewing tools to Brewfile"
User: "Review my changes"
Steps:
git statusgit diffUser: "Commit my changes"
Steps:
git diff.zshrc contains export API_KEY="secret123".env file that's in .gitignore"git diff before committingsetup.sh still worksgit status # See what's changed
git diff # See detailed changes
git diff --cached # See staged changes
git log --oneline -10 # Recent commits
git add <file> # Stage specific file
git add . # Stage all changes
git add -p # Interactive staging
git commit -m "message" # Commit with message
git commit -m "title" -m "body" # Commit with title and body
git commit --amend # Amend last commit
git checkout -b feature-name # Create and switch to branch
git branch -a # List all branches
git merge feature-name # Merge branch
Before committing, verify:
npx skills add ruchernchong/git-dotfiles-helper下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer