mirror of
https://github.com/openai/codex.git
synced 2026-05-04 03:16:31 +00:00
Add Code Review skill (#18746)
Adds a skill that centralizes rules used during code review for codex.
This commit is contained in:
14
.codex/skills/code-review-testing/SKILL.md
Normal file
14
.codex/skills/code-review-testing/SKILL.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user