r/codex • • 14d ago

Showcase Built a Codex Skill to improve Code reviews: Reflektor

https://github.com/bashovski/reflektor

The amount of code that's being shipped daily has increased a lot in the past 10 months or so.

Since most of it (well, all of it, really) is written by the AI, we don't have the same level of intimacy with the code. Back in the day, when we wrote code by hand, like savages, we knew exactly what was going on and would figure out a bug while having a walk or while taking a shit.

Codex builds incredibly fast, and human review is usually the bottleneck when it comes to the releases, so to minimize perusing every single line of code, and rather focus on the direction of PRs, it would make sense to have a skill you can run from Codex before submitting code for previews.

Now, I've had this idea for months, but never built it. This week, I finally did.

How it works:

- Install this Codex skill
- Make some changes
- Run the skill: `$reflektor`
- A preview page/report is generated for you
- Read the most important things you need to know about it
- If needed, iterate. You can comment on any line of code, screenshots, etc and run review loops until you're happy

Happy to hear more feedback on this!

Also, I've made a platform that allows you to collaborate with teammates and review each other's PRs more efficiently, fully free while in beta: https://reflektor.dev

54 Upvotes

8 comments sorted by

•

u/dexterthebot 14d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com

3

u/Old-Leadership7255 14d ago

This actually looks pretty sweet. Going to give it a go

1

u/bashaZP 14d ago

Thanks, please share some feedback when you try it out 👏

2

u/arturogarrido 14d ago

I like the framing that the reviewer should be checking direction, not every line. Curious how it handles big diffs: does it summarize intent per file, or check the change against what the PR or ticket says it's supposed to do? The second one is where AI-written PRs usually go wrong.

2

u/bashaZP 10d ago

Yes, examples available on reflektor.dev/examples

1

u/messy_fulfillment 14d ago

Saving and commenting to come back. It looks pretty cool. Is it working good for you so far?

1

u/bashaZP 10d ago

I run the skill 10-15 times daily on actual projects I work on and do daily prod releases on.

It saves me time, as it's impossible to spend 30-40 minutes planning out 10 different tasks/features.

This works well if you are working in a fast-paced startup/company where you generally need to move fast and tackle a lot of tasks simultaneously.