B4push

Run pre-push validation (typecheck, lint, format, build)

Takazudo updated 5mo ago
Claude CodeGeneric
View source ↗
---
description: Run pre-push validation (typecheck, lint, format, build)
---

Run `pnpm b4push` in the `doc` directory to execute pre-push validation checks.

This command runs:

- Code quality checks (typecheck, lint, format)
- Build verification

**Instructions:**

1. Change to the `doc` directory and execute `pnpm b4push` using the Bash tool
2. If the command succeeds, report success to the user
3. If errors or warnings occur:
   - Analyze the errors/warnings
   - If they are fixable code issues (linting errors, type errors, formatting issues), fix them automatically
   - Run `pnpm b4push` again to verify the fixes
4. Repeat until all checks pass

Maintain B4push?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[B4push on getagentictools](https://getagentictools.com/loops/takazudo-b4push?ref=badge)