Crafting effective prompts is an art — and a science — that can transform AI from a clunky tool into a powerful assistant.