用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/arklexai/Agent-First-Organization --skill pre-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | pre-review |
| description | Check your branch before opening a PR (lint, format, tests, title) |
| disable-model-invocation | true |
| context | fork |
| agent | Explore |
| allowed-tools | Bash, Read, Grep, Glob |
Run local checks to catch issues before opening a PR.
git branch --show-current
git status
git log --oneline main..HEAD
ruff check .
If there are fixable issues, run ruff check --fix . and report what was fixed.
ruff format --check .
If files would be reformatted, run ruff format . and report what changed.
pytest tests/ -x --tb=short
Report pass/fail count and any failures.
pytest tests/ --cov=arklex --cov-fail-under=45 --cov-report=term-missing -q
Coverage minimum is 45%. Flag if below threshold.
Branch should follow <type>/<short-description> pattern, e.g. feat/add-retry.
Based on the commits on this branch, suggest a Conventional Commits title:
<type>(<scope>): <description>Summarize results:
Lint: pass/fail
Format: pass/fail
Tests: X passed, Y failed
Coverage: XX% (minimum 45%)
Branch: <name> (valid/invalid)
Title: <suggested title>