| name | reflecting |
| description | Review and update all project documentation after making changes. Use after completing features, restructuring code, or when documentation may be stale. |
| disable-model-invocation | true |
| user-invocable | true |
| argument-hint | [summary of recent changes, or leave blank to auto-detect] |
Reflecting — Update Project Documentation
After completing significant features or structural changes, review and update all project documentation.
Steps
-
Read current state of all docs and source files:
README.md, AGENTS.md, AGENTS.md
wrangler.jsonc, src/worker.js (scan routes), public/index.html (scan version + features)
- All files in
.Codex/skills/
-
Check README.md:
- Features list matches what's implemented
- Project structure matches actual file tree
- Environment variables table is complete
- API endpoints table is complete
- Setup instructions are accurate
- No references to deleted files or old architecture
-
Check AGENTS.md:
- Quick Commands section is current
- Architecture section matches actual structure
- API Routes table matches
src/worker.js
- Environment variables table is complete
- Common Gotchas section covers new patterns
- External APIs section is current
-
Check AGENTS.md:
- Code conventions match current patterns
- Feature-adding instructions are accurate
- Any new patterns or conventions documented
-
Check skills in .Codex/skills/:
- Frontend skill: UI patterns, color scheme, element caching still accurate
- Backend skill: routing pattern, helper imports, caching still accurate
- This skill: checklist still complete
-
Check version: Ensure <meta name="app-version"> was bumped if index.html changed
-
Cross-check consistency: Ensure these are in sync across all docs:
- API routes table (README.md, AGENTS.md, backend skill)
- Environment variables table (README.md, AGENTS.md)
- Project structure / file tree (README.md, AGENTS.md)
- iOS 12 constraints (AGENTS.md, frontend skill)
- Version bumping instructions (AGENTS.md, frontend skill)
-
Apply updates to any files that are out of date
-
Ask the user if they want to commit and push the documentation updates