Run the full pre-push review pipeline — code review checks, self-review against CLAUDE.md, and a final report.
50
53%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/pre-push-check/SKILL.mdYou are about to push code. Run the full pre-push quality pipeline before pushing.
Check what's being pushed. Run git diff --stat and git log --oneline origin/HEAD..HEAD to understand the scope of changes.
Run code review checks. Execute:
devflow checkCapture and parse the output. This uses Claude Code (primary) or OpenCode (fallback) to review against .devflow/checks/*.md rules. If neither CLI is available, fall back to running the project's lint and type-check commands directly (e.g., yarn lint, yarn build).
Self-review the diff against CLAUDE.md. Read the project's CLAUDE.md file and review the staged changes against its rules:
Check for common issues:
console.log statements left in production codeany type usage in TypeScriptGenerate the report:
## Pre-Push Check Report
**Branch:** [branch name]
**Commits:** [number] commits ahead of origin
### Code Review Results
- [PASS/FAIL] [details]
### CLAUDE.md Compliance
- [PASS/WARN/FAIL] Scope discipline (every line traces to task)
- [PASS/WARN/FAIL] Naming conventions
- [PASS/WARN/FAIL] Architecture patterns
- [PASS/WARN/FAIL] Import paths
- [PASS/WARN/FAIL] Error handling
- [PASS/WARN/FAIL] Security
- [PASS/WARN/FAIL] Test coverage
### Issues Found
- [list of issues, if any]
### Verdict: [READY TO PUSH / NEEDS FIXES]If issues are found, list them clearly and ask the user if they want to fix them before pushing. If everything is clean, confirm it's safe to push.
$ARGUMENTS
b0b1bb6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.