Skip to main content

source-command-verify-setup

Run the infrastructure health check and fix anything that fails

来源信息

仓库
diet103/claude-code-infrastructure-showcase
最近来源活动
2026年7月12日 02:12
检测到的 SKILL.md 语言
英语
星标
10,033
分支
1,217

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
source-command-verify-setup
description
Run the infrastructure health check and fix anything that fails
# source-command-verify-setup Use this skill when the user asks to run the migrated source command `verify-setup`. ## Command Template Run the Codex infrastructure health check and get it fully green. ## Steps 1. Run the health check from the project root: ```bash bash .Codex/scripts/verify-setup.sh ``` 2. For every `[FAIL]` line, apply the printed fix. Common fixes: - Dependencies missing: `cd .Codex/hooks && npm install` - Scripts not executable: `chmod +x .Codex/hooks/*.sh` - Invalid JSON in `.Codex/settings.json` or `.Codex/skills/skill-rules.json`: read the file, find the syntax error (usually a trailing comma), and repair it without changing any settings values - Missing hook scripts registered in settings.json: ask the user whether to copy them from the showcase repo (https://github.com/diet103/Codex-infrastructure-showcase) or remove the dead registrations 3. Re-run the script after each fix until it reports 0 failed. 4. `[WARN]` lines are optional features (session intelligence, jq-based file tracking, AI classification keys). Do NOT install API keys or system packages on the user's behalf - summarize what each warning means and let the user decide. 5. Report the final result to the user: what was broken, what you fixed, and what (if anything) remains as a warning.
在 GitHub 查看