pushwithverif

Coordinates Git diff analysis, refactoring, linting, type-checking, building and optional testing for committed pushes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill pushwithverif-ascenseurs-menetrey-sa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pushwithverif
Source: https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills/tree/main/pushwithverif
Command: npx skills add https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills --skill pushwithverif-ascenseurs-menetrey-sa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cette Skill réduit le risque d’introduire des régressions en automatisant la simplification du code modifié et en enchaînant des vérifications fiables (typecheck, lint, build, tests, sécurité) avant le commit et le push.

Core Features & Use Cases

  • Analyse des modifications Git : détecte les fichiers changés et staged, puis résume ce qui va être traité.
  • Simplification ciblée du code : appelle les agents adaptés pour le backend Python et/ou le frontend TypeScript/React, sans changer le comportement.
  • Vérification “qualité” en pipeline : exécute lint/format, type checking, build frontends et tests backend (et peut demander confirmation si la simplification a beaucoup modifié).
  • Option de mise à jour de documentation : avec --doc, met à jour les ADR/Docs/sections impactées en fonction des fichiers modifiés.
  • Garde-fous sécurité & rollback : stash de backup pour restaurer en cas de problème et détection de fichiers potentiellement sensibles avant staging.

Quick Start

Lance la commande suivante pour simplifier tes changements, lancer les vérifications, puis pousser sur la branche principale : /pushwithverif

Frequently Asked Questions about pushwithverif

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate code simplification and CI verification before pushing Git changes?

You can automate code simplification and CI verification by analyzing Git diffs, refactoring modified Python or TypeScript files, and running lint, typecheck, build, and test pipelines before staging targeted commits.

How do I safely push to main without accidentally committing sensitive files?

To safely push to main, use controlled staging without git add -A, enable sensitive-file detection before staging, and require guarded push confirmation on main or master branches to prevent accidental commits.

Can I run type checking and linting automatically on modified backend Python and frontend TypeScript files?

Yes, you can run type checking and linting automatically on modified backend Python and frontend TypeScript files by analyzing the Git diff and executing the appropriate verification pipeline on only the changed files.

What is the best way to rollback code changes if a pre-push verification check fails?

The best way to rollback code changes when verification fails is using a stash backup, which allows you to securely restore your working directory to its previous state before the simplification or staging occurred.

Does this pre-push verification workflow support updating documentation alongside code changes?

Yes, this pre-push verification workflow supports updating documentation by using the --doc option to automatically refresh impacted ADR, Docs, and relevant sections based on the modified files detected.

How do I prevent regressions when refactoring modified code before a Git commit?

To prevent regressions when refactoring modified code, run a full verification pipeline including lint, type checking, frontend builds, and backend tests after simplification, and request confirmation if changes are extensive.