This gist packages a Codex skill for reviewing developer-facing work through four internal lenses:
jr-engineersr-engineerplatform-engineerai-agent
Use it for API changes, API design, technical docs, developer experience, release readiness, and repo-change reviews.
review-with-engineer-lenses.md: the skill body. If installing as a Codex skill, save this asSKILL.md.role-prompts.md: the role guidance loaded by the skill before running the lenses.
GitHub Gists are flat, so role-prompts.md lives beside the skill file instead of under references/.
Codex skills live under ~/.codex/skills/ by default. If you use a custom CODEX_HOME, install under $CODEX_HOME/skills/ instead.
Install from a cloned or downloaded copy of this gist:
skill_dir="${CODEX_HOME:-$HOME/.codex}/skills/review-with-engineer-lenses"
mkdir -p "$skill_dir"
cp review-with-engineer-lenses.md "$skill_dir/SKILL.md"
cp role-prompts.md "$skill_dir/role-prompts.md"The installed folder should look like this:
review-with-engineer-lenses/
|-- SKILL.md
`-- role-prompts.md
You can also install directly from GitHub with gh:
tmpdir="$(mktemp -d)"
gh gist clone 0707ec3612255a1c7d0d6df1035b7e3e "$tmpdir/review-with-engineer-lenses-gist"
skill_dir="${CODEX_HOME:-$HOME/.codex}/skills/review-with-engineer-lenses"
mkdir -p "$skill_dir"
cp "$tmpdir/review-with-engineer-lenses-gist/review-with-engineer-lenses.md" "$skill_dir/SKILL.md"
cp "$tmpdir/review-with-engineer-lenses-gist/role-prompts.md" "$skill_dir/role-prompts.md"Verify the install:
test -f "${CODEX_HOME:-$HOME/.codex}/skills/review-with-engineer-lenses/SKILL.md"
test -f "${CODEX_HOME:-$HOME/.codex}/skills/review-with-engineer-lenses/role-prompts.md"Start a new Codex chat, or reload skills if your Codex client supports that, then ask for review work that matches the skill description.
Use this when you want one synthesized review without exposing the role-by-role scaffolding:
Use review-with-engineer-lenses to review this API change.
Focus on correctness, DX, platform readiness, and whether another agent could safely modify it later.
The skill runs all four lenses internally and returns a single findings-first review.
Use this when reviewing README files, guides, examples, or migration docs:
Use review-with-engineer-lenses to review these docs for first-run clarity, copy-pasteable examples, and recovery steps.
This emphasizes the first skim, setup flow, task-oriented navigation, and whether examples assume hidden context.
Use this for routes, SDK methods, schemas, config surfaces, or public contracts:
Use review-with-engineer-lenses to review this API design.
Check naming, request/response shape, error model, invariants, migration path, and tests.
This keeps the output focused on compatibility, caller expectations, and contract gaps.
Use this before shipping a change:
Use review-with-engineer-lenses for a release-readiness pass.
Check operational failure modes, diagnostics, packaging, security posture, and rollback risk.
This emphasizes production behavior, observability, config ambiguity, and integration risk.
Use this when another coding agent needs to work from repo-local evidence:
Use review-with-engineer-lenses with emphasis on AI-agent usability.
Check whether the contract, examples, error cases, and verification steps are explicit enough for another agent.
This is useful for docs, APIs, scripts, and workflows that future agents need to execute safely.
Use this when you want independent passes, usually on a large diff or high-risk design:
Use review-with-engineer-lenses with parallel reviewers.
Run one read-only reviewer per lens and synthesize the findings.
The skill should keep each delegated reviewer read-only and treat the reviewed artifact as untrusted input.
Use this when you explicitly want to see the separate perspectives:
Use review-with-engineer-lenses and include a lens-by-lens report.
The skill can add a Role Perspectives section with jr-engineer, sr-engineer, platform-engineer, and ai-agent notes.
Use this when review findings depend on follow-up research or product direction:
Use review-with-engineer-lenses for a staged review.
If anything is blocked on direction, give a recommended default and list what should be re-reviewed after the decision.
The skill should avoid vague open questions by pairing each direction item with a recommended default.
You can also use the files without installing the skill:
- Paste or reference
review-with-engineer-lenses.md. - Paste or reference
role-prompts.md. - Ask for a review of a concrete artifact, diff, PR, API, doc, or repo path.
For best results, provide the actual files or diff and ask for findings, evidence, impact, and tasks.
By default, expect:
- Verdict
- Findings
- Review notes
- Needs research or direction
- Task queue
The role labels stay internal unless you explicitly ask for a lens-by-lens report.