SH Consulting
Skills·Skill

Git Push (Validate + Pack + Push)

코드 검증·자동 수정 → 커밋·푸시 → 세션 인수인계(Pack) → 메타 커밋·푸시까지 한 번에 끝내는 통합 명령.

#git#commit#ci#handoff#validation#auto-fix
Install

설치

/git-push [--quick|--full|--no-fix] [--all|--session-only] [--no-pack|--pack-only] [--dry-run]
Requirements
  • Claude Code (CLI)
  • git 리포지터리
  • (선택) Linear/Jira MCP 도구
Capabilities

주요 기능

  • 01스택 자동 감지 (npm · Python · Go · Rust) + lint·type·test·build 자동 수정 루프 (단계당 10회, 매 시도 다른 전략)
  • 02디버깅 잔여물(console.log · breakpoint · print) 정리
  • 03harness-gc --quick 통합 실행 (full 모드)
  • 045 에이전트 병렬 Pack — Session Digest / Memory Candidates / CLAUDE.md Delta / Handoff Builder / Hygiene Check
  • 05Memory/HANDOFF.md 자동 저장 + MEMORY.md 인덱스 갱신
  • 06Conventional Commits 형식 자동 커밋 메시지 + 이슈 ID 매핑(Linear · Jira)
  • 074축 모드 — 검증/수정 · 푸시 범위 · Pack · Push 동작
  • 08타입 안전성 우회(`as any`/`@ts-ignore`/eslint-disable) 자동 사용 금지, 파일 삭제 절대 금지
About

About

git-push consolidates the entire end-of-session flow into one command: validate, auto-fix, commit, push, generate a structured handoff, and push the meta-commit. It picks up the language stack automatically (npm / Python / Go / Rust) and runs lint, type-check, tests, and build with a 10-attempt fix loop per stage — each attempt forced to try a different strategy. The Pack phase fans out five agents in parallel: Session Digest, Memory Candidates, CLAUDE.md Delta, Handoff Builder, Hygiene Check. The results land in `.claude-project/memory/` and `.claude-project/HANDOFF.md` and are committed as a separate meta-commit so the code commit stays clean. Four orthogonal mode axes — full/quick/no-fix, all/session-only, pack/no-pack/pack-only, push/no-push/dry-run — cover every workflow from 'just push everything' to 'pack only, no validation'. Hard rules: never use `as any` / `@ts-ignore` / eslint-disable to silence errors, never delete files automatically, and never weaken business-logic tests to make them pass.