I'm no good at prompt engineering, so I iterate a lot, rather than trying to come up with the perfect prompt. I start by asking something like,
"please generate a series of short questions and answers that conform to a flashcard format, easy for studying, from these notes"
The responses were too verbose, so I asked:
"Please shorten the answers to short, easily memorizable lines"
That returned pretty good flashcards, so from there I asked it to reformat in a way Anki could consume:
"these are great, please convert these into a code block, where the question and the answer is on the same line, separated by a semicolon and not numbered"
But that put all of the flashcards on the same line, so I added:
"sorry I wasn't clear, each question should be on its own line"
That gave me what I was looking for. The next step is to paste it into Anki, fiddle with the recall and cards-per-day settings, and then get to training!