Skip to content
Back to skills

Codex Rules

ASecurity

Enforce repo execution discipline: keep PRs small; run migration-smoke when invariants change; never hand-edit vendored contracts.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentsgo

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill codex-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codex Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codex Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-codex-rules/badge)](https://www.skillsdirectory.com/skills/david-li0406-codex-rules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codex-rules
description: "Enforce repo execution discipline: keep PRs small; run migration-smoke when invariants change; never hand-edit vendored contracts."
---

## Always
- Keep PRs small and auditable; avoid drive-by refactors.
- If invariants/plumbing are touched: run the canonical proof command listed in EVALSETS.yaml (currently: `npx nx run evalsets:migration-smoke`).
- Never hand-edit vendored contracts; use sync scripts + drift gates.

## Claude lane (enforced triggers)
If any of the following are true, you MUST propose a Claude Code run before proceeding:
- Repo-wide enumeration / dependency mapping across many files.
- Independent audit/review requested (migration correctness, invariants, compliance).
- Large-context synthesis from long documents.

When proposing Claude, provide all of:
1) **Claude prompt** (ready to copy/paste)
2) **Artifact path** to save output into (default: `docs/reviews/YYYYMMDD-HHMM_<slug>.md`)
3) **Acceptance criteria** (what the artifact must contain)

Do not proceed until the artifact exists, unless the user explicitly declines Claude.
If declined, proceed in Codex but label increased risk.

## Claude Code (optional specialist)
If the user asks for large mechanical edits/refactors, or if the change would touch many files, propose a Claude Code handoff.

When proposing Claude, output a paste-ready “Claude Work Order” with:
- Goal
- Allowed paths
- Hard constraints (no churn, no invariant changes, etc.)
- Verification commands
- Expected deliverable summary
Do not proceed with Claude unless the user explicitly says “yes”.

## Claude Code (optional specialist)
Follow the AGENTS.md handoff protocol. Codex must provide a paste-ready work order (goal, allowed paths, constraints, verification, expected output), then re-verify and update the worklog after Claude returns results.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…