AGENT SKILL

code-quality

Run pre-push validation before pushing code. MANDATORY before every git push.

适用职业开发工程师
License 许可
MIT
所属仓库
vyzn-tech/po-agent
最近更新
2026-03-11
Stars
★ 0
Forks
1

01 前言 Front Matter

name
code-quality
description
Run pre-push validation before pushing code. MANDATORY before every git push.
allowed-tools
Bash

02 资源文件 2

03 SKILL.md 正文

Code Quality Checks

Pre-Push Validation (MANDATORY)

Before every git push, run your project's quality checks.

Look for these in the repo (try in order):

  1. A pre-push-validate or lint npm script: npm run lint
  2. A Makefile target: make lint
  3. Common linters:
    [ -f .eslintrc* ] && npx eslint . --fix
    [ -f .prettierrc* ] && npx prettier --write .
    

Only push if ALL checks pass. This prevents CI failures.

Incremental Commits

Commit after every file change to avoid losing work:

git add <file> && git commit -m "WIP: description" && git push

This is especially important under budget constraints — uncommitted work is LOST if the session terminates.

04 同仓库更多 Skills