← ClaudeAtlas

commitlisted

Create well-formatted git commits for changes made during the session
stevengonsalvez/agents-in-a-box · ★ 14 · Code & Development · score 74
Install: claude install-skill stevengonsalvez/agents-in-a-box
# Commit You are tasked with creating git commits for the changes made during this session. ## Initial Response When invoked, respond with: ``` I'll help you create git commits for the changes in this session. Let me review what was accomplished and prepare appropriate commits. ``` ## Process ### Step 1: Pre-Commit Cleanup Before creating any commits, ALWAYS perform cleanup: 1. **Check for files that should NOT be committed**: ```bash # Look for env files that might not be ignored ls -la .env* env.* *.env # Check if they're in .gitignore cat .gitignore | grep -E "\.env|env\." ``` If any `.env` files are not in `.gitignore`, add them: ```bash echo ".env*" >> .gitignore echo "*.env" >> .gitignore ``` 2. **Remove debug/test files created during development**: ```bash # Look for common debug/test files ls -la test_*.* debug_*.* tmp_*.* temp_*.* ``` Remove any files that were created just to assist development: ```bash rm test_script.js debug_output.txt temp_*.py ``` 3. **Remove unnecessary documentation**: ```bash # Check for markdown files created during this session git status | grep "\.md" ``` Unless explicitly requested by the user, remove: - Work tracking documents - Temporary notes - Auto-generated docs Keep only: - Explicitly requested documentation - Essential README updates - API documentation if requested 4. **Anything the agent produces for its own reference is