一键导入
omcustomcodex-update-docs
Sync documentation with project structure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync documentation with project structure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
6-stage structured development cycle with stage-based tool restrictions
Multi-angle release quality verification using parallel expert review teams
Full Self Driving — autonomous release loop that processes all auto-dev-eligible GitHub issues until none remain, by repeatedly running /pipeline auto-dev then /homework.
Invoke and resume YAML-defined pipelines by name — /pipeline auto-dev runs the full release pipeline
Analyze release workflow findings and recommend follow-up actions — execute immediately or register as issues
Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile
| name | omcustomcodex:update-docs |
| description | Sync documentation with project structure |
| scope | harness |
| argument-hint | [--check] [--target <path>] |
| disable-model-invocation | false |
| user-invocable | true |
Ensures all documentation (AGENT.md, SKILL.md, index.yaml, AGENTS.md) accurately reflects the current project state and that agents work together organically.
--check, -c Check only, don't modify
--verbose, -v Show detailed changes
--target, -t Specific target to update
1. Scan project structure
├── .codex/agents/
├── .codex/skills/
├── templates/guides/
└── commands/
2. Validate consistency
├── Check agent files exist
├── Check skill references exist
├── Check guide references exist
└── Check command definitions match files
3. Update documentation
├── Verify all .codex/agents/*.md files
├── Verify all .codex/skills/*/SKILL.md files
├── Update AGENTS.md summary
└── Update inter-agent references
4. Ensure organic integration
├── Verify agent → skill mappings
├── Verify agent → guide mappings
├── Verify command → agent mappings
└── Check for orphaned resources
agent_skill_mapping:
- Each agent declares valid skills
- Skills are in correct category
- No duplicate skill declarations
agent_guide_mapping:
- Each agent declares valid guides
- Guides exist in templates/guides/
- Paths are relative and correct
command_agent_mapping:
- Commands reference valid agents
- Agent capabilities match commands
- Workflow is documented
[/update-docs --check]
Scanning project structure...
Agents:
✓ 15 agents found in .codex/agents/
✗ Missing: lang-java21-expert.md (referenced but not found)
Skills:
✓ 13 skills found in .codex/skills/
✓ All SKILL.md files valid
Guides:
✓ 12 guides declared
✗ Orphan: templates/guides/old-guide/ (exists but not referenced)
AGENTS.md:
✗ Agent count outdated (shows 14, actual 15)
Issues Found: 3
Run "/update-docs" to fix.
[/update-docs]
Syncing documentation with project structure...
[1/3] Verifying agents
- Removed reference: lang-java21-expert (not found)
✓ 15 → 14 agents
[2/3] Verifying skills
✓ No changes needed
[3/3] Updating AGENTS.md
- Updated agent count: 14 → 15
- Updated summary table
✓ Synced
Summary:
Modified: 1 file
Removed: 1 reference
All documentation synced successfully.