Codex Code Review

Code review skill with rubric and templates

majiayu000 b69f21c 2 files · 1.9 KB Updated 567 repo stars

File contents

Codex Code Review

Trigger

  • Keywords: review, PR, bug, security, performance, test coverage, audit, check

When NOT to Use

  • Just want to understand code functionality (use Explore)
  • Need to implement fixes (use feature-dev)
  • Document review (use doc-review)

Workflow

sequenceDiagram
    participant U as User
    participant S as Skill
    participant C as Codex

    U->>S: review request
    S->>C: /codex-review-fast or /codex-review
    C-->>S: second opinion
    S->>S: apply rubric
    S-->>U: P0/P1/P2/Nit + Gate

Verification

  • Each issue tagged with severity (P0/P1/P2/Nit)
  • Gate is clear (Pass / Block)
  • Issues include: location, description, fix suggestion

References

  • Rubric: review_rubric.md
  • Output: templates/review_output.md

Examples

Input: Review this PR for me
Action: /codex-review-fast -> Apply rubric -> Output P0/P1/P2/Nit + Gate
Input: Check the security of this code
Action: /codex-security -> Apply OWASP rubric -> Output security issues
Input: Any issues with this function?
Action: Read function -> Apply rubric -> Output issue list

majiayu000/claude-skill-registry-data/tree/main/data/codex-code-review commit b69f21c35c

Frequently asked questions

npx skillmds add majiayu000/codex-code-review