API prompt design