Integrations with Continuous Integration platforms like CircleCI

I have several automated specs in my codebase that I run locally in the command line, and in the cloud with our CI provider (CircleCI).

I’m trying to figure out if there is an easier way to pipe errors (and in some cases multiple errors) into the Cursor prompt, without manually copying and pasting.

If I had a magic wand, it would be amazing for a test suite failure in CircleCI to automatically pass the context of the failed errors to Cursor and prompt for a fix.