docs(codex): rename Step 0 to avoid collision with platform-detect prelude

The codex skill template had its own '## Step 0: Check codex binary'
heading (line 42), which after gen-skill-docs collided with the
platform-detection prelude '## Step 0: Detect platform and base branch'
(injected by scripts/resolvers/utility.ts). The generated codex/SKILL.md
ended up with two H2 headings labeled Step 0, which is ambiguous to an
agent reading the skill in order.

Renamed the local heading to Step 0.4, slotting it between the prelude
(Step 0) and the existing Step 0.5 / Step 0.6 sections. No renumbering
of downstream steps needed.

Closes #1388

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matt Van Horn 2026-05-09 09:36:28 -07:00 committed by Garry Tan
parent e719af0508
commit 2cca6a1b38
No known key found for this signature in database
GPG Key ID: C1F69E85C74EFE1D
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ assumptions, catches things you might miss. Present its output faithfully, not s
---
## Step 0: Check codex binary
## Step 0.4: Check codex binary
```bash
CODEX_BIN=$(which codex 2>/dev/null || echo "")