amanattar/leetcode-helper — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Codex skill called LeetCode Helper that kicks in when I paste a LeetCode style coding interview question and ask for help solving it.

I want it to guide the agent to answer in a consistent, interview friendly way. It should first restate the problem in plain English, then explain the optimized approach, then give clean Python code that I can paste into LeetCode. After that it should include a step by step explanation of the algorithm, a line by line explanation of the code, a dry run on an example, time and space complexity, and important edge cases.

Keep it focused on practical LeetCode solving, not generic tutoring. Make the instructions clear enough that the agent doesn’t skip sections or give vague answers. Include the skill metadata and the detailed behavior rules needed for Codex to use it properly. The final repo should be simple, with a README explaining what the skill does and how to use it.

Want more depth? Deep Reverse