If you’re looking for a template or something to follow, you won’t find one. A good first date is not just about how you feel it went, it’s about what happens in the days/weeks after the date.
Sure, sex on a first date is probably an indicator it was “good” or maybe “ideal” for both parties, but without that it’s really about the next stages.
If you’re happy with yourself and don’t care about if you “get the girl” or not, then if you had a good time, that’s great and it should be enough to satisfy you, at least temporarily.
Majority of people, myself included, intend a first date to materialize into something (I.e. plate, f-buddy/fwb, or short term/long term dating). With that in mind, what proves an ideal date is how the result of the first date plays into one of those categories that you are aiming for.
As for how to make it “ideal”, there’s a bunch of videos that can be helpful if you need ideas (Tripp, Corey Wayne, even AMS at times). Just watch those and learn how to get good questions/stories/dialogue going and improve social skills to make it a great date.
You’re the man, lead the interaction to a successful conclusion. Best of luck.