agentleFS
tranhieutttranhieutt/software_development_department/.claude/skills/codex-sdd/SKILL.md

codex-sdd

Skill72 starsChanged 7 months agoMITView on GitHub

codex-sdd is the Codex adapter for the Software Development Department. It does not replace Claude Code behavior. It helps Codex follow the existing SDD contract without changing the Claude-native runtime. Treat these files as the SDD source of truth: Use using-sdd for routing. Use this skill only for Codex-specific adaptation. Do not change these for Codex-only reasons: - .claude/settings.json - .claude/hooks/ - existing skill names or directories - existing agent names or files - Claude workflow semantics for /plan, /spec,…

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat these files as the SDD source of truth:

    line 23
  2. Very specific:

    Use using-sdd for routing.

    line 30
  3. Distinctive:

    Do not change these for Codex-only reasons:

    line 34
  4. Very specific:

    Use docs/technical/SDD_LIFECYCLE_MAP.md for phase orientation.

    line 52
  5. Distinctive:

    Before implementation edits, state:

    line 89
  6. Distinctive:

    If the gate is not satisfied, stop and ask for the missing approval or clarification.

    line 95
  7. Distinctive:

    If verification cannot be run, say exactly what was skipped and why.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex SDD

codex-sdd is the Codex adapter for the Software Development Department.

It does not replace Claude Code behavior. It helps Codex follow the existing SDD contract without changing the Claude-native runtime.

Core Rule

Treat these files as the SDD source of truth:

  1. CLAUDE.md
  2. .claude/skills/using-sdd/SKILL.md
  3. docs/technical/SDD_LIFECYCLE_MAP.md
  4. .claude/settings.json for Claude-only runtime behavior

Use using-sdd for routing. Use this skill only for Codex-specific adaptation.

Non-Impact Boundary

Do not change these for Codex-only reasons:

  • .claude/settings.json
  • .claude/hooks/
  • existing skill names or directories
  • existing agent names or files
  • Claude workflow semantics for /plan, /spec, /tdd, /context, or other SDD commands

Codex compatibility must be additive unless the user explicitly approves a broader Claude regression-tested change.

Codex Session Start

At the start of a Codex session in SDD:

  1. Read AGENTS.md.
  2. Read .claude/skills/using-sdd/SKILL.md.
  3. Use docs/technical/SDD_LIFECYCLE_MAP.md for phase orientation.
  4. Select the governing SDD skill for the user request.
  5. Remember that Claude hooks do not auto-run in Codex.

Tool Mapping

Claude-style toolCodex equivalent
Readshell read commands or direct file inspection
Globrg --files or shell listing
Greprg
Writeapply_patch
Editapply_patch
Bashshell_command
RunCommandshell_command
Taskspawn_agent only when explicitly authorized
TodoWriteupdate_plan
AskUserQuestionconcise direct user question
WebSearchweb search only when required or explicitly requested

Manual Hook Equivalents

Claude Code hooks in .claude/settings.json do not run automatically in Codex. Use manual equivalents:

Claude behaviorCodex behavior
Session bootstrapRead AGENTS.md, using-sdd, lifecycle map, and relevant memory.
Pre-code gateState the SDD pre-code gate before edits.
Bash safetyFollow Codex sandbox and escalation rules.
File historyUse git log -- <file> when needed.
Write loggingUse git diff/status and final changed-file summary.
Circuit guardInspect .claude/memory/circuit-state.json before subagent workflows.
Completion gateUse verification-before-completion before success claims.

Pre-Code Gate

Before implementation edits, state:

Pre-code gate: <Fast|Spec|Plan|Interview|Override> satisfied by <evidence>; next edit: <file>; verification: <command/check>.

If the gate is not satisfied, stop and ask for the missing approval or clarification.

Verification

For SDD repo changes, run:

powershell -ExecutionPolicy Bypass -File scripts\codex-preflight.ps1

If verification cannot be run, say exactly what was skipped and why.

For narrower checks, use:

powershell -ExecutionPolicy Bypass -File scripts\validate-skills.ps1
node scripts\harness-audit.js --compact

References

  • AGENTS.md
  • .codex/INSTALL.md
  • docs/codex-compatibility.md
  • .claude/skills/using-sdd/SKILL.md
  • docs/technical/SDD_LIFECYCLE_MAP.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.