Try prompting Claude to create a drop-in replacement for an existing library, testing against that library's test suite to validate functionality.

It will pretty much plagiarize the library verbatim from memory, sans comments.