Backup Claude Config
Commit and push any changes to the claude-config repository.
Workflow
- •
Check for changes
bashcd ~/claude-config && git status --short
If no changes, inform user and stop.
- •
Show what changed
bashcd ~/claude-config && git diff cd ~/claude-config && git diff --cached
- •
Stage all changes
bashcd ~/claude-config && git add -A
- •
Generate commit message Analyze the changes and create a descriptive message:
- •"Update CLAUDE.md instructions"
- •"Add new skill: <name>"
- •"Update settings: enable <plugin>"
- •"Update statusline script"
- •Or combine if multiple: "Update settings and add skill"
- •
Commit and push
bashcd ~/claude-config && git commit -m "<message>" cd ~/claude-config && git push
- •
Confirm success Report what was backed up.
Output Format
code
Checking claude-config for changes... Changes detected: M settings.json A skills/newskill.md Committed: Add newskill and update settings Pushed to: https://github.com/GLaDO8/claude-config Backup complete.
If no changes
code
Checking claude-config for changes... No changes to backup. Config is up to date.
Never
- •Don't commit if there are no changes
- •Don't include sensitive data in commit messages
- •Don't force push