Writing Rules

Write enforceable engineering rules for Codex projects (AGENTS.md, CONTRIBUTING.md, policy docs). Use when user asks to formalize workflow constraints, coding standards, review criteria, or safety guardrails.

rldyourmnd Updated 1 repo stars

File contents

Writing Rules (Codex)

Rule Quality Criteria

  1. Specific and testable.
  2. Actionable remediation path.
  3. Minimal ambiguity.
  4. Aligned with repository tooling.

Workflow

  1. Identify recurring failure modes.
  2. Convert each into a short rule with examples.
  3. Tie rules to checks (lint/test/CI) where possible.
  4. Keep policy docs concise and high-signal.
  5. Periodically prune outdated rules.

rldyourmnd/codex-cli-bootstrap commit daabaac2f1

Frequently asked questions

npx get-skill add rldyourmnd/writing-rules