对于代理的代码更改,应优先使用集成测试而非单元测试。集成测试位于 core/suite 目录下,并使用 test_codex 来设置一个Codex的测试实例。
改变代理逻辑的功能必须添加集成测试:
- 列出需要测试的主要逻辑更改和用户可见行为。
如果需要单元测试,请将其放在专用的测试文件中(*_tests.rs)。
避免在主实现代码中添加仅用于测试的函数。
检查是否存在现有的辅助工具,以使测试更简洁、更易读。
指导AI代理在代码变更时优先编写集成测试,并规范测试文件的组织方式。
此技能旨在为AI代理提供清晰的测试编写指导。它明确要求代理在进行逻辑变更或影响用户行为的更改时,必须添加集成测试,而非单元测试。集成测试应位于 `core/suite` 目录下,并利用 `test_codex` 工具启动Codex的测试实例。技能还要求代理提供需要测试的主要逻辑变更和用户行为列表。对于必要的单元测试,应创建独立的测试文件(以 `*_tests.rs` 结尾),并避免在主实现代码中添加仅用于测试的函数。最后,技能建议代理检查项目中已有的测试辅助工具,以提高测试的可读性和效率。该技能适用于所有需要生成代码或修改逻辑的AI代理平台,如Claude Code、Cursor或Codex。
npx skills add https://github.com/openai/codex/tree/main/.codex/skills/code-review-testingInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
对于代理的代码更改,应优先使用集成测试而非单元测试。集成测试位于 core/suite 目录下,并使用 test_codex 来设置一个Codex的测试实例。
改变代理逻辑的功能必须添加集成测试:
如果需要单元测试,请将其放在专用的测试文件中(*_tests.rs)。
避免在主实现代码中添加仅用于测试的函数。
检查是否存在现有的辅助工具,以使测试更简洁、更易读。
This repo contains 19 individual skills — each has its own dedicated page.
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.
Run a final code review on a pull request
Change size guidance (800 lines)
Model visible context
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.
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.
Update the title and body of one or more pull requests.
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.
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.
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.
Guide for testing Codex TUI interactively
Choose Rust types for operating system paths across the Codex repository. Use when defining new path-bearing types or explicitly migrating existing ones.
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 GitHub Actions changes, resolving push rejection, requesting upload exceptions.
Testing against remote executors in integration tests.
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.
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).
Guide for testing Codex TUI interactively
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.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.