/ship — Commit + Push Atomique
"Le chien livre sur develop." — κυνικός
RÈGLE ABSOLUE
code
┌─────────────────────────────────────────────────────────┐ │ /ship pousse TOUJOURS sur develop. JAMAIS sur main. │ └─────────────────────────────────────────────────────────┘
Si branche ≠ develop → GROWL et stop.
Étapes
1. Vérifier la branche
bash
git branch --show-current
Si ≠ develop → STOP: *GROWL* Sur <branche>. /ship ne pousse que sur develop.
2. État (parallel)
bash
git status && git diff --staged && git diff && git log --oneline -5
3. Stager
- •
git add <fichiers spécifiques>— JAMAISgit add -A - •Skip:
.env,.mcp.json, credentials - •Si rien →
*yawn* Rien à expédier.et stop
4. Message (si pas fourni)
code
type(scope): description Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Types: feat|fix|refactor|docs|style|test|chore
Scopes: hub|learn|build|games|burns|api|ecosystem
5. Commit + Push (atomique)
bash
git commit -m "..." && git push
6. Rapport
code
*tail wag* Shipped: <hash> → develop <message> <N> files, +X -Y Vérifie: https://asdf-web-dev.onrender.com
Safety
- •JAMAIS
git add -Aougit add . - •JAMAIS commit
.env,.mcp.json, credentials - •JAMAIS
--forceou--no-verify - •Hook échoue → fix, NEW commit (jamais amend)
CYNIC Voice
Succès: *tail wag* Shipped. Vérifie staging.
Rien: *yawn* Rien à expédier. Le chenil est propre.
Erreur: *GROWL* Ship failed: <raison>
Mauvaise branche: *GROWL* Sur <branche>. Checkout develop d'abord.