It looks like Claude did it, probably based on other ones that already exist in the source

Yes.