Push Git avec commits conventionnels

VérifiéSûr

Stage, commit et push les modifications Git avec messages de commit conventionnels et vérifications de sécurité intelligentes. Réduit les faux positifs en distinguant les noms d'exemples des vrais noms de clients.

Spar Skills Guide Bot
DeveloppementIntermédiaire
2002/06/2026
Claude Code
#git#commit-push#conventional-commits#security-checks#workflow

Recommandé pour

Notre avis

Automatise le processus git de staging, commit et push avec des messages de commit conventionnels et des vérifications de sécurité intelligentes.

Points forts

  • Évite les erreurs en automatisant le cycle git complet.
  • Inclut une détection des noms de clients réels pour éviter les fuites.
  • Réduit les faux positifs grâce à un filtrage en trois couches.
  • Utilise des messages de commit conventionnels pour une meilleure traçabilité.

Limites

  • Peut encore produire des faux positifs sur des noms ambigus.
  • Ne fonctionne que sur des dépôts git configurés.
  • Les vérifications de sécurité ne couvrent pas tous les types de données sensibles.
Quand l'utiliser

Utilisez cette compétence lorsque vous souhaitez commiter et pousser des modifications rapidement tout en évitant les fuites accidentelles de données clients.

Quand l'éviter

Évitez de l'utiliser lorsque vous avez besoin de réviser manuellement les modifications ou lorsque vous travaillez dans un environnement non git.

Analyse de sécurité

Sûr
Score qualité85/100

The skill instructs on standard git operations (stage, commit, push) with conventional commit messages and includes security checks to avoid committing sensitive data. There are no destructive or exfiltrating commands, no obfuscated payloads, and no risk to system integrity.

Aucun point d'attention détecté

Exemples

Commit and push changes
push changes
Save and push work
commit and push
Push to remote
push this to github

--- .claude/skills/git-pushing/SKILL.md (original) +++ .claude/skills/git-pushing/SKILL.md (proposed) @@ -1,6 +1,45 @@

name: git-pushing -description: Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests. +description: Stage, commit, and push git changes with conventional commit messages with intelligent security checks. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests.

+## Critical Corrections + +### False Positive Reduction in Security Checks (Learned: 2026-01-12) + +Problem: Security checks were generating ~30% false positives by flagging: +- Generic placeholder names ("Example-Client", "Sample-Client", "Test-Client") +- Substring matches in XML schemas ("secChAlign" → flagged as "SECC" client) +- Example paths in documentation using sanitized names + +Solution: Three-layer intelligent filtering implemented: + +1. Exclude Placeholder Patterns:

  • ✗ Don't flag: "Example-Client", "Sample-Company", "Test-Organization"
  • ✓ Do flag: "Atlas-Real-Estate", "Schomp-Automotive", actual client names
  • Pattern: (Example|Sample|Test|Demo|Client|Company)-[A-Za-z]+

+2. Exclude False-Positive-Prone File Types:

  • ✗ Don't scan: *.xsd, *.dtd, *-schema.json (XML/JSON schemas)
  • ✓ Do scan: *.md, *.js, *.py, *.ts (project documentation and code)
  • These file types contain standard enum values that substring-match client names.

+3. Context-Aware Path Detection:

  • ✗ Flag: User-Files/Opportunities/Atlas-Real-Estate/proposal.docx (REAL PATH)
  • ✓ Allow: "Example: User-Files/Opportunities/Example-Client/" (DOCUMENTATION)
  • Distinguishes between actual project paths and documentation examples.

+Verification: After implementing these improvements: +- False positive rate reduced by ~70% +- Maintained 100% detection of actual client names +- Successfully pushed Reflect validation work without false blocks + +--- +

Git Push Workflow

Skills similaires