modern-git
Installation
SKILL.md
Modern Git Commands
Purpose: This skill teaches AI agents to use modern, intuitive Git commands instead of legacy multi-purpose commands like git checkout. Modern commands are clearer, safer, and make code intent more obvious.
Core Principles
- Use
git switchfor branch operations - NOTgit checkout - Use
git restorefor file operations - NOTgit checkout -- - Use
git push --force-with-lease- NOTgit push --force - Be explicit about intent - Clear commands prevent mistakes