dev-rules
Installation
SKILL.md
Development Rules and Guardrails
Git Safety
| Rule | Why |
|---|---|
| Never force push to main/master | Destroys team history, breaks CI |
Never git reset --hard without confirmation |
Irreversible data loss |
| Never amend published commits | Creates divergent history for collaborators |
Never skip pre-commit hooks (--no-verify) |
Hooks catch real issues |
| Stage specific files by name | git add . risks committing secrets or binaries |
| Never commit .env, credentials, API keys | Secrets in git history are permanent |
| Verify current branch before pushing | Avoid pushing to wrong branch |