Community程式設計與開發github.com

更新 V8 版本

更新 Codex 鎖定的 `v8` / `rusty_v8` 版本,驗證候選發布路徑,並調查失敗的 V8 Canary 或成品構建。

更新 V8 版本 是什麼?

此技能自動化更新 Codex 中固定 V8 及 `rusty_v8` 版本的流程。它會依照 `third_party/v8/README.md` 的版本提升順序,修改多個關鍵檔案(如 `Cargo.toml`、`MODULE.bazel` 及建構腳本),並執行相關的雜湊檢查與測試。驗證階段優先採用託管的 V8 Canary CI;若不可用,則提供本機替代驗證。當構建失敗時,技能會分析上游差異(如綁定佈局、歸檔命名或 GN/Bazel 目標變更),並將失敗點追溯到 Codex 的建構圖表,僅進行必要的最小修正。最後會清晰報告驗證來源(Canary CI 或本機替代),區分「版本提升完成」與「發布已發布」,並在受阻時提供具體的下一步修復建議。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/openai/codex/tree/main/.codex/skills/update-v8-version

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

更新 V8 版本 是做什麼的?

核心工作流程

  1. 讀取 third_party/v8/README.md 並遵循其版本提升順序。請將該文件視為發布流程的真相來源。

  2. 檢查並更新承載固定版本的具體倉庫表面:

    • codex-rs/Cargo.toml
    • codex-rs/Cargo.lock
    • MODULE.bazel
    • third_party/v8/BUILD.bazel
    • third_party/v8/README.md
    • 當剩餘的預置輸入發生變更時,也要更新對應的 third_party/v8/rusty_v8_<version>.sha256 清單
  3. 讓現有的校驗和輔助工具保持循環:

    python3 .github/scripts/rusty_v8_bazel.py update-module-bazel
    python3 .github/scripts/rusty_v8_bazel.py check-module-bazel
    python3 -m unittest discover -s .github/scripts -p test_rusty_v8_bazel.py
    
  4. 在擴大工作範圍之前先驗證候選發布路徑:

    • 若存在,優先檢查候選分支或 PR 的 v8-canary CI 結果,使用 GitHub 檢查工具或適當的 gh 命令。
    • 如果 CI 不可用,或者使用者只要求本機檢查,則針對變更的表面執行最接近的本機驗證,並明確說明這是本機替代方案,而非完整的託管 Canary。
  5. 如果 Canary 路徑通過,則在此停止。總結結果並鼓勵使用者提交候選變更,或按照他們要求的發布流程進行。除非使用者要求,否則不要發布標籤、版本或推送。

失敗路徑

僅在 Canary 或本地建構路徑失敗時才進入此路徑。

  1. 擷取失敗的目標、工作流程作業以及第一個可操作的錯誤。
  2. 在相關的上游標籤或 SHA 處,比較當前固定的版本與目標版本。檢查兩者:
    • denoland/rusty_v8
    • 目標 Bazel 固定版本的上游 V8 原始碼
  3. 追蹤建構相關的差異,而非廣泛的原始碼變動:
    • 生成的綁定佈局變更
    • 歸檔或資產命名變更
    • GN/Bazel 目標變更
    • 自訂的 libc++ / libc++abi / llvm-libc 輸入
    • 沙箱或指針壓縮功能關係
    • patches/ 中不再適用或不再匹配上游的修補程式塊
  4. 將每個失敗的差異追溯到 Codex 的建構圖表中:
    • MODULE.bazel
    • third_party/v8/BUILD.bazel
    • .github/scripts/rusty_v8_bazel.py
    • .github/workflows/v8-canary.yml
    • .github/workflows/rusty-v8-release.yml
  5. 僅更新恢復目標版本建構與成品合約所需的部分。將修補說明和文件變更保持在受影響檔案附近。
  6. 重新執行重點驗證。如果通過,則返回正常的工作流程,並以簡潔的摘要和剩餘的發布步驟結束。

報告

  • 說明驗證是來自託管的 v8-canary 還是本機替代方案。
  • 區分「版本提升完成」與「發布已發布」。
  • 當受阻時,報告重要的上游差異、它所影響的 Codex 檔案,以及下一個具體的修復嘗試。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.

code-review

Run a final code review on a pull request

code-review-change-size

Change size guidance (800 lines)

code-review-context

Model visible context

code-review-testing

Test authoring guidance

codex-bug

Diagnose GitHub bug reports in openai/codex. Use when given a GitHub issue URL from openai/codex and asked to decide next steps such as verifying against the repo, requesting more info, or explaining why it is not a bug; follow any additional user-provided instructions.

codex-issue-digest

Run a GitHub issue digest for openai/codex by feature-area labels, all areas, and configurable time windows. Use when asked to summarize recent Codex bug reports or enhancement requests, especially for owner-specific labels such as tui, exec, app, or similar areas.

codex-pr-body

Update the title and body of one or more pull requests.

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.

openai/babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.

openai-docs

Use when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; use OpenAI docs MCP tools for non-Codex docs questions, use the Codex manual helper first for broad Codex self-knowledge, and restrict fallback browsing to official OpenAI domains.

openai/test-tui

Guide for testing Codex TUI interactively

path-types

Choose Rust types for operating system paths across the Codex repository. Use when defining new path-bearing types or explicitly migrating existing ones.

plugin-creator

Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.

pushing-ci-changes

Pushing GitHub Actions changes, resolving push rejection, requesting upload exceptions.

remote-tests

Testing against remote executors in integration tests.

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

test-tui

Guide for testing Codex TUI interactively

相關技能