Rederive
Explain code that AI wrote for you, in an interview or at work. An open source Claude Code skill that asks how you would build each part of your repo, so you re-derive its design decisions yourself...
Install
npx skills add EricJujianZou/rederive -a claude-code
npx skills add EricJujianZou/rederive -a claude-code -g
Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).
See the repository README for installation instructions.
When to use
Use it after an agent has written a lot of your code and you need to genuinely understand its design choices, such as before an interview or a handover.
rederive teaches you a codebase by making you design it yourself from first principles. It only asks you questions to guide you toward the right answer and won't explain things. This is deliberate, aiming for understanding through derivation instead of memorizing what the agent says. The README frames it as a way to explain AI-written code in an interview or at work.
Install with npx skills add EricJujianZou/rederive, then type /rederive in your agent. It supports Claude Code, Codex, Cursor, Gemini CLI, Copilot, opencode, Windsurf, Amp, Goose and about 15 more, and needs git, bash and python3.
Related skills
-
rea
Lets your agent reverse engineer an app from the outside, down to native binaries, and then build its own version.
-
superpowers
A set of development habits for your agent: test first, debug systematically, and plan before you code.
-
skills
The skills Matt Pocock uses in his own day-to-day engineering work.
-
ECC
A ready-made setup for coding agents that adds skills, persistent memory and security checks.