用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill aokay命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | aokay |
| description | > Use when this capability is needed. |
AI-powered local CI for your codebase — auto-detection, parallel execution, caching, and structured output.
Do NOT run lint, typecheck, test, or build commands directly (e.g. npm test,
cargo check, go test, ruff, pytest, eslint). Always use aokay
instead — it detects the right tools, runs all checks, and produces structured
results.
The CLI is at .claude/skills/aokay/scripts/aokay.
# Initialize (auto-detects project type, generates aokay.yml)
bash .claude/skills/aokay/scripts/aokay init
# Run full pipeline
bash .claude/skills/aokay/scripts/aokay run
# Quick check (lint + typecheck only)
bash .claude/skills/aokay/scripts/aokay run --profile fast
# Check last results
bash .claude/skills/aokay/scripts/aokay status
Workflow: If no aokay.yml exists, run init first, then run.
| Profile | Jobs | Use case |
|---|---|---|
fast | lint, typecheck | Quick validation |
commit | lint, typecheck, review | Pre-commit |
full | lint, typecheck, test, build, review | Pre-push or CI parity |
aokay initAnalyzes the project and generates aokay.yml. By default, also sets up git
hooks (pre-commit runs commit profile, pre-push runs full profile).
aokay init # auto-detect + setup hooks
aokay init --no-hooks # skip hook setup
aokay init --update-agent-docs # generate CLAUDE.md patch
Important: Before running init, ask the user whether they want git hooks
set up. If yes (default), run aokay init. If no, run aokay init --no-hooks.
For manual project analysis, pipe JSON to stdin. See Config Format.
aokay runaokay run # full pipeline
aokay run --profile fast # lint + typecheck only
aokay run --only lint,test # specific jobs
aokay run --json # JSONL output for agent consumption
aokay run --force # ignore cache
aokay run --until-pass # re-run failed jobs until all pass
aokay statusDisplays results from the last run.
Human-readable (default):
✓ lint
✓ typecheck
✗ test
Summary: 1 failed, 2 passed (3 total) in 2.5s
JSONL (--json): structured events for agent consumption.
The review job uses scripts/review.sh, which delegates to an AI CLI:
claude -p --model haikucodex review --uncommittedOverride the backend with AOKAY_REVIEW_CMD:
AOKAY_REVIEW_CMD="my-review-tool" aokay run --profile full
In aokay.yml, configure the review job to use the script:
review:
type: agent-review
agent: bash skills/aokay/scripts/review.sh
aokay.yml schemaSource: Ema93sh/aokay — distributed by TomeVault.