Codex Chan Code Architecture Review for Public API Scope
Review public entry points, module responsibilities and shared logic before widening an API or extracting duplicate code.
中文Install in Codex
Open the Chan repository in Codex with the change, public entry points, affected callers and relevant tests.
- Review `.agents/skills/architect/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/architect/` in your project and save the reviewed file as `.agents/skills/architect/SKILL.md`.
- Start Codex from that project's root, then type `$architect` and select the matching skill.
Example task
Review the helper's visibility in this sample change.
{"helper":"formatLocalLabel","callers":["renderPreview","renderList"],"allCallersWithinModule":true,"proposedVisibility":"public"}What to check
Keep `formatLocalLabel` `module-private`. Reuse it from the module callers and verify both outputs.
Original SKILL.md on GitHub · Updated
Frequently asked question
Does similar-looking code always belong in one helper?
Check whether the code has the same responsibility. Extract it when the intent matches and sharing improves maintainability.