跳到正文
cccskills
免费在 GitHub 公开

code-change-verification

Run the required final install, build, type, lint, test, and format checks after eligible SDK changes pass review.

中文简介正在准备中。当前显示原文说明。

集成工具OpenAI
查看安装方法

包含的文件(5)

  • SKILL.md4.1 KB
  • agents/openai.yaml512 B
  • scripts/run.mjs2.3 KB
  • scripts/run.ps1196 B
  • scripts/run.sh137 B

SKILL.md(原文)

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

Code Change Verification

Overview

Ensure work is only marked complete after installing dependencies, building, linting, type checking (including generated declarations), and tests pass. Use this skill when changes affect runtime code, tests, or build/test configuration. This is a post-review final gate: when $implementation-final-review applies, do not invoke the broad stack until its clean-review condition applies to the stable task diff.

Quick start

  1. Keep this skill at ./.agents/skills/code-change-verification so it loads automatically for the repository.
  2. Run the skill in the user's selected checkout without changing worktrees or branches.
  3. Codex on macOS/Linux: /usr/bin/env -u OPENAI_API_KEY bash .agents/skills/code-change-verification/scripts/run.sh.
  4. Other macOS/Linux environments: bash .agents/skills/code-change-verification/scripts/run.sh.
  5. Windows: powershell -ExecutionPolicy Bypass -File .agents/skills/code-change-verification/scripts/run.ps1.
  6. If any command fails, fix the issue, rerun the script, and report the failing output.
  7. Confirm completion only when all commands succeed with no remaining issues.

Start condition and host capacity

  • During iterative review, use only focused tests and a narrowly targeted static check when the changed typing boundary requires one. Defer repository-wide pnpm -r build-check and the rest of this complete stack until review is clean.
  • Immediately before starting the complete stack, use available read-only task or process evidence to check whether another repository-wide test, typecheck, build, examples runner, or integration command is already active on the same host.
  • When concrete contention is visible, continue useful non-heavy work such as review, remediation, evidence preparation, or focused checks, then check again later. Do not create or wait on a repository lock, host-wide mutex, or sentinel file.
  • Start automatically once review is clean, the diff is stable, and observable host capacity is available. Do not require a user-triggered finalize message. If host telemetry is unavailable, do not block solely because capacity cannot be measured.

Codex execution policy

Repository verification and all child processes must remain in the normal Codex workspace sandbox. Never request elevated sandbox permissions for verification, and never retry with broader host access after a failure.

On macOS/Linux, use the exact Codex command from Quick start so an inherited OPENAI_API_KEY is removed before the repository-controlled wrapper starts. Investigate failures inside the workspace sandbox and report any coverage that the sandbox cannot provide instead of weakening the sandbox boundary.

Manual workflow

  • Run from the repository root in these phases: pnpm i --frozen-lockfile, pnpm build, then pnpm -r build-check, pnpm -r -F "@openai/*" dist:check, pnpm lint, pnpm test, and pnpm format:check:changed.
  • The skill may execute the final validation phase in parallel, but every step above must still pass.
  • Do not skip steps; stop and fix issues immediately when any step fails.
  • Re-run the full stack after applying fixes so the commands execute with the same barriers and coverage.
  • The install intentionally runs without forcing CI or prompt-confirmation settings. If pnpm reports incompatible node_modules, stop and diagnose the configuration mismatch instead of silently recreating dependencies.

Resources

scripts/run.sh

  • Executes the full verification sequence (including declaration checks) with fail-fast semantics.
  • Keeps pnpm i --frozen-lockfile and pnpm build as barriers, then runs the root verify:* scripts in parallel with pnpm.
  • Prefer this entry point to ensure the commands always run from the repo root with the expected fail-fast behavior.

scripts/run.ps1

  • Windows-friendly wrapper that runs the same verification sequence with fail-fast semantics.
  • Use from PowerShell with execution policy bypass if required by your environment.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Validate changesets in openai-agents-js using LLM judgment against git diffs (including uncommitted local changes). Use when packages/ or .changeset/ are modified, or when verifying PR changeset compliance and bump level.

中文简介正在准备中。当前显示原文说明。

openai/openai-agents-js39272026年10月16日 更新

Fix the tiny credit-note formatting bug and rerun the exact targeted test command.

中文简介正在准备中。当前显示原文说明。

openai/openai-agents-js39272026年10月16日 更新

Analyze CSV files in /mnt/data and return concise numeric summaries.

中文简介正在准备中。当前显示原文说明。

openai/openai-agents-js39272026年10月16日 更新

docs-sync

免费

Audit or update authored English SDK documentation within a requested topic or diff using implementation evidence.

中文简介正在准备中。当前显示原文说明。

openai/openai-agents-js39272026年10月16日 更新

Analyze logs and source from a completed repository example run. Never execute or control examples.

中文简介正在准备中。当前显示原文说明。

openai/openai-agents-js39272026年10月16日 更新

Assess a JS SDK release candidate or release plan against the previous release and recommend ship or block.

中文简介正在准备中。当前显示原文说明。

openai/openai-agents-js39272026年10月16日 更新

查看 openai 的全部技能

报告此技能的问题