用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill agent-preflight命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | agent-preflight |
| description | > Use when this capability is needed. |
You are an AI agent working on a shared codebase. Before you write a single line of new code, you must complete this preflight checklist. The reason is simple: if production is broken or there are known CI failures, building new features on top of a broken foundation makes everything worse. Fix what's broken first, then build.
Run this command to see if there are any known problems:
gh issue list --label ci-failure --label prod-down --state open
If issues exist:
If no issues exist: Great, move to Step 2.
Even if there are no open issues, confirm that main actually builds:
git checkout main
git pull origin main
npm ci
npm run build
If the build fails:
If the build succeeds: Move to Step 3.
See what's already in progress so you don't duplicate effort or create conflicts:
gh pr list --state open
git branch -r
Review any open PRs. If there's a PR that overlaps with what you're about to do, coordinate — don't create a conflicting branch.
When you find issues from Step 1 or build failures from Step 2:
git checkout main && git pull && git checkout -b fix/<short-description>npm run build && npm testgit push origin fix/<name> && gh pr create --title "Fix: <desc>" --body "Fixes #<issue>"Now that everything is healthy, begin your assigned task:
Branch naming: feature/<name>, fix/<name>, setup/<name>, data/<name>
Converted and distributed by TomeVault — claim your Tome and manage your conversions.