一键导入
pre-push-checklist
Run before any git push or PR creation. Ensures gosec, vulncheck, tests, and lint all pass — and that the user has approved the commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run before any git push or PR creation. Ensures gosec, vulncheck, tests, and lint all pass — and that the user has approved the commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a new full-stack tab for dune-admin — Go route+handler+db func, api/client.ts namespace, and React tab component following the BasesTab pattern.
TDD workflow for dune-admin Go handlers and db.go functions. Use when adding a handler, implementing a feature, or fixing a bug in the Go backend.
| name | pre-push-checklist |
| description | Run before any git push or PR creation. Ensures gosec, vulncheck, tests, and lint all pass — and that the user has approved the commit. |
The pre-push git hook runs a fuller suite than make verify. Run these manually before pushing.
make verify # go test -race, golangci-lint, markdownlint, gocognit
make gosec # ⚠ NOT included in make verify — required before any push
make vulncheck # dependency vulnerability scan
If make gosec reports findings:
// #nosec G204,G702 -- <reason> — include both rule IDs (G204 alone does not suppress G702).git push --no-verify.Before committing or pushing, stop and show the diff to the user.
Do NOT commit unless the user explicitly says "commit" or "go ahead and commit."
Omit commit steps from all implementation plans and subagent dispatches.
[TICKET-ID] Short descriptive title
## What
- bullet: what changed
## Why
- bullet: why it was needed
## Testing
- make verify passes
- make gosec clean
make verify passesmake gosec clean (or findings justified with #nosec)make vulncheck no critical findingscd web && pnpm build clean (if web/ changed)git push --no-verify used