Community程式設計與開發github.com

Codex 錯誤診斷

診斷 openai/codex 中的 GitHub 錯誤報告。當收到來自 openai/codex 的 GitHub 問題網址並要求決定後續步驟時使用,例如驗證儲存庫、請求更多資訊或解釋為何不是錯誤;請遵循使用者提供的其他指示。

Codex 錯誤診斷 是什麼?

此技能旨在協助診斷和分類來自 openai/codex 儲存庫的 GitHub 問題。它首先驗證輸入是否為有效的 GitHub 問題網址,並強制透過 GitHub API 抓取問題和評論資料,以獲得比網頁抓取更可靠的資訊。然後,它會摘要報告,包括重現步驟、預期行為和環境詳細資訊,再決定要採取的三種行動之一:如有足夠資訊則驗證原始碼或文件、如報告不明確則要求更多資訊、或引用現有行為或限制解釋為何不是錯誤。最終回覆會精簡呈現發現並建議後續步驟。

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

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

在你喜歡的 AI 中提問

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

說明文件

Codex 錯誤

概述

診斷 Codex GitHub 錯誤報告,並決定後續行動:根據來源驗證、索取更多資訊,或解釋為何不是錯誤。

工作流程

  1. 確認輸入

    • 需要指向 github.com/openai/codex/issues/… 的 GitHub 問題網址。
    • 如果缺少網址或網址不屬於正確的儲存庫,請要求使用者提供正確連結。
  2. 網路存取

    • 即使你認為存取被阻擋或不可用,也應立即透過網路存取該問題。
    • 偏好使用 GitHub API 而非 HTML 頁面,因為 HTML 雜訊較多:
      • 問題:https://api.github.com/repos/openai/codex/issues/<number>
      • 留言:https://api.github.com/repos/openai/codex/issues/<number>/comments
    • 如果環境需要明確批准,請透過工具即時請求批准,然後繼續執行,無需額外提示使用者。
    • 只有在請求批准後網路嘗試仍然失敗時,才解釋你可以在離線狀態下做什麼(例如草擬回覆範本),並詢問如何繼續。
  3. 閱讀問題

    • 以 GitHub API 的回應(問題 + 留言)作為事實來源,而非爬取 HTML 問題頁面。
    • 提取:標題、內容、重現步驟、預期與實際行為、環境、日誌以及任何附件。
    • 注意報告是否已包含日誌或工作階段詳細資訊。
    • 如果報告包含執行緒 ID,請在摘要中提及,並在你有權存取時使用該 ID 查閱日誌和工作階段詳細資訊。
  4. 在調查之前摘要錯誤

    • 在深入檢查程式碼、文件或日誌之前,先用你自己的話寫一份簡短的報告摘要。
    • 包括回報的行為、預期行為、重現步驟、環境,以及已附上或缺少哪些證據。
  5. 決定行動方針

    • 根據來源驗證:當報告具體且可能可重現時。檢查相關的 Codex 檔案(如果無法存取,請提及要檢查的檔案)。
    • 請求更多資訊:當報告模糊、缺少重現步驟或缺乏日誌/環境時。
    • 解釋不是錯誤:當報告與目前行為或記錄的限制矛盾時(引用問題中的證據以及你檢查的任何本地來源)。
  6. 回覆

    • 提供一份簡潔的發現報告和後續步驟說明。

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

update-v8-version

Update Codex's pinned `v8` / `rusty_v8` versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update `rusty_v8` artifacts, prepare or validate a V8 release candidate, check `v8-canary`, or diagnose why a V8 version update no longer builds.

相關技能