一键导入
pre-commit
Run pre-commit checks, stage changes, and create a well-formatted conventional commit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run pre-commit checks, stage changes, and create a well-formatted conventional commit
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mark a task as done — close the GitHub issue and clean up labels
Pick the next task from the GitHub project board for this repository
Run a security-focused review of recent changes using the security-reviewer agent
Run tests for a specific package by name or detect from current working directory
Verify a trace file's integrity and evaluate it against a policy in one step
Run documentation governance checks to verify docs consistency and claim accuracy
| name | pre-commit |
| description | Run pre-commit checks, stage changes, and create a well-formatted conventional commit |
| allowed-tools | Bash, Read, Grep, Glob |
| user-invocable | true |
| argument-hint | ["commit message",{"e.g. \"fix(core)":"handle optional replaySeed\""}] |
Run pre-commit validation and create a commit with the provided message.
Run the full CI check sequence:
pnpm typecheck && pnpm lint && pnpm format:check && pnpm docs:check && pnpm test && pnpm build
If any check fails, report the failure and do NOT commit. Suggest fixes.
If all checks pass, show git status and git diff --staged to confirm what will be committed.
Validate the commit message follows Conventional Commits: type(scope): description
feat, fix, docs, test, refactor, ci, chorecore, policy, replay, cli, adaptersCreate the commit using: $ARGUMENTS
Use a HEREDOC for the commit message to preserve formatting.