← ClaudeAtlas

git-backuplisted

Backup files with Git Repository. Use it if there is Git repository.
lemonorangeapple/JuneAgent · ★ 1 · Code & Development · score 74
Install: claude install-skill lemonorangeapple/JuneAgent
# Git Backup Skill ## Overview Provides three local Git backup strategies to help users safely manage file changes. ## Backup Strategies (Ask user to choose) ### Strategy 1: Auto-commit every change - **Use case**: Important config files, sensitive data - **Workflow**: 1. Detect file changes 2. Automatically stage changed files 3. Generate commit message following Conventional Commits 4. Create local commit ### Strategy 2: Never create commits - **Use case**: Temporary files, test files, large binaries - **Workflow**: 1. Detect file changes 2. Display change status only, no Git operations 3. User manages these files manually ### Strategy 3: Ask user to create commit - **Use case**: Daily development work - **Workflow**: 1. Detect file changes 2. Display change summary 3. Ask user if they want to commit 4. Execute based on user choice ## Commit Message Convention (Conventional Commits) ### Format ``` <type>(<scope>): <description> [optional body] [optional footer] ``` ### Type Definitions - `feat`: New feature - `fix`: Bug fix - `docs`: Documentation update - `style`: Code formatting - `refactor`: Code refactoring - `test`: Test related - `chore`: Build/tool changes ### Examples ``` feat(config): add backup schedule configuration fix(auth): resolve login timeout issue docs(readme): update installation steps ``` ## Error Handling ### Common Issues 1. **Git repo not exists** → Prompt user to initialize repo 2. **File conflicts** → Show conflict