git-safety
Git Safety Skill
Apply rigorous git safety protocols to prevent data loss and conflicts in collaborative development environments, particularly when multiple agents or developers work concurrently.
Core Safety Principles
File Management Rules
Deleting Files:
- ⚠️ STOP before deleting any file to resolve type/lint failures - Ask the user first
- Only remove obsolete files when changes make them genuinely irrelevant
- Only revert your own work or changes explicitly requested by the user
- Coordinate with teammates before removing in-progress edits
- Never assume a file is safe to delete without confirmation
File Modifications:
- Always verify file ownership and recent changes before modifying
- Check
git log <file>to see who last edited - Communicate before making sweeping changes to shared files
More from yzlin/supaviber
coding-standards
Guide for writing clean, maintainable code following industry best practices and design principles like DRY, SOLID, and composition patterns. Use when writing any code to ensure consistency, readability, and long-term maintainability across all programming languages.
10smart-docs
AI-powered comprehensive codebase documentation generator. Analyzes project structure, identifies architecture patterns, creates C4 model diagrams, and generates professional technical documentation. Use when users need to document codebases, understand software architecture, create technical specs, or generate developer guides. Supports all programming languages.
4