AI for Developers
Agent skill (SKILL.md) Open source MIT 1k

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

For this project
$ npx skills add EricJujianZou/rederive -a claude-code
For every project
$ 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

All skills