AI News
All projects
Skill

rederive: an agent skill that asks you to re-derive a codebase's design

rederive is an agent skill that asks how you would build each part of a repo, so you can explain code an AI wrote for you.

rederive by EricJujianZou · 1,697 GitHub stars when we found it · added

rederive is a skill for coding agents that asks how you would build each part of a repo, so you can re-derive its design decisions yourself. Install it with npx skills add EricJujianZou/rederive. The README says the same command works across Claude Code, Codex, Cursor and about 70 other agents. Then type /rederive in your agent. It needs git, bash and python3.

The skill works on the repo you are in, a local path, or a URL. A URL is cloned into the current folder unless REDERIVE_CLONE_DIR is set. On your own code, it asks why you built the project. On someone else's, it first works out the original problem. While you answer, a background agent maps the code, import links and commits, holding 5 to 10 problems in build order. The author writes that it asks questions rather than explaining things. When you are stuck, it narrows the choices. After two wrong answers in a row, it offers to sketch the problem.

Notes on how you did are written to .rederive/log.md. The README says everything stays on your machine, with no telemetry. The project is MIT licensed. The README does not say how the code itself was written, and it does not describe any limits beyond the question-and-answer approach.

In the author's words

It is a skill for coding agents that asks how you would build each part of your repo, so you re-derive its design decisions yourself from first principles.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

Reach for it before an interview or when you must explain code an agent wrote for you, since it makes you work out the design questions yourself instead of reading a summary.

Works with

Claude CodeCodexCursorGemini CLIGitHub Copilot

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made