pre-push-auto-fixlisted
Install: claude install-skill Mariano215/tack
# Pre-Push Auto-Fix
This skill enhances pre-push checks with automatic fixing using `/goal`. Ensures code quality before pushing to remote, with aggressive "fail fast" safety limits.
## When This Skill Is Used
### Manual Invocation:
```bash
/pre-push
/pre-push --auto-fix
```
### Automatic Invocation by Claude:
Claude should automatically use this skill when:
- ✅ User says "ready to push" or "about to push"
- ✅ User asks "can I push?" or "is it safe to push?"
- ✅ User requests pre-push checks or quality gates
- ✅ User says "check before push" or "validate before push"
- ❌ Do NOT auto-invoke for: regular development, mid-feature work
**Examples triggering automatic use:**
- "Is this ready to push?"
- "Can I push this to main?"
- "Check if it's safe to push"
- "Run pre-push checks"
---
## Retry ceiling
Stop after 3 rounds of fixes. Pre-push is quick checks plus trivial
auto-fixes; anything needing a fourth round needs a human looking at it. If it
is still not clean, stop and report what is failing and what you tried. Never
claim success at the ceiling.
---
## Workflow
### Phase 1: Run All Quality Checks
1. **Linting:**
```bash
npm run lint # or appropriate linter
```
2. **Type Checking:**
```bash
tsc --noEmit # if TypeScript
```
3. **Formatting:**
```bash
npm run format # or prettier
```
4. **Tests:**
```bash
npm test
```
5. **Build (if applicable):**
```bash
npm run build
```
### Phase 2: Auto-Fix Mode (if --auto-fix)