code-review-testing
$
npx mdskill add openai/codex/code-review-testingPrioritize integration tests for agent logic changes.
- Ensures major logic and user-facing behaviors are validated.
- Uses core/suite and test_codex for test instance setup.
- Places unit tests in dedicated *_tests.rs files when needed.
- Leverages existing helpers to streamline and improve readability.
SKILL.md
.github/skills/code-review-testingView on GitHub ↗
--- name: code-review-testing description: Test authoring guidance --- For agent changes prefer integration tests over unit tests. Integration tests are under `core/suite` and use `test_codex` to set up a test instance of codex. Features that change the agent logic MUST add an integration test: - Provide a list of major logic changes and user-facing behaviors that need to be tested. If unit tests are needed, put them in a dedicated test file (*_tests.rs). Avoid test-only functions in the main implementation. Check whether there are existing helpers to make tests more streamlined and readable.
More from openai/codex
- babysit-prBabysit 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-breaking-changesBreaking changes
- code-reviewRun a final code review on a pull request
- code-review-change-sizeChange size guidance (800 lines)
- code-review-contextModel visible context
- codex-bugDiagnose 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-digestRun 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-bodyUpdate the title and body of one or more pull requests.
- imagegenGenerate 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-docsUse 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.