Curated, research-backed guide to prompt engineering: techniques, frameworks, evaluation & optimization