跳到正文
cccskills
免费在 GitHub 公开

source-command-verify-setup

Check a project's Codex infrastructure, fix missing dependencies, script permissions, and configuration errors, then repeat the check until failures are resolved. Receive a summary of repairs and any remaining optional-feature warnings.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Run the infrastructure health check and fix anything that fails

查看安装方法

适用场景

  • Check the Codex environment after setup
  • Fix dependency and script permission errors
  • Repair JSON configuration syntax
  • Understand remaining optional-feature warnings

包含的文件(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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 .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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build Node.js, Express, and TypeScript APIs with consistent structure. Separate request handling, business logic, and database access, while following guidance for input validation, error tracking, configuration, and tests when adding features or refactoring existing services.

中文简介正在准备中。当前显示英语简介。

  • Adding an API endpoint
  • Separating business logic from database access
  • Standardizing input validation and error handling
diet103/claude-code-infrastructure-showcase1万2026年7月14日 更新

Add Sentry error reporting and performance monitoring to services, scheduled jobs, and database operations. Follow examples for capturing exceptions with useful context and measuring execution time through spans, which record individual operations for investigation.

中文简介正在准备中。当前显示英语简介。

  • Adding error reporting to an API
  • Recording failures and execution time for scheduled jobs
  • Measuring database and asynchronous operations
diet103/claude-code-infrastructure-showcase1万2026年7月14日 更新

Build React and TypeScript pages with guidance for data fetching, loading states, styling, and navigation. Organize code by feature and apply lazy loading, which loads components when needed, using patterns for MUI v7 and TanStack Router/Query.

中文简介正在准备中。当前显示英语简介。

  • Creating a React page or component
  • Organizing frontend files by feature
  • Coordinating data fetching and loading states
diet103/claude-code-infrastructure-showcase1万2026年7月14日 更新

Create and maintain Claude Code skills with clear file structure and activation rules. Get guidance on hooks, which run at specific workflow events, plus troubleshooting, edit restrictions, and splitting detailed instructions into reference files.

中文简介正在准备中。当前显示英语简介。

  • Creating a new Claude Code skill
  • Tuning skill activation conditions
  • Investigating missing or unwanted activation
diet103/claude-code-infrastructure-showcase1万2026年7月14日 更新

查看 diet103 的全部技能

报告此技能的问题