The idea is the AI writes a functional transform for a file or editor buffer of whatever form it needs.
Brief LinkedIn note with an example: https://www.linkedin.com/posts/davejh_its-a-great-feeling-wh...