Starting from the desired modal field we solve for the supporting waveguide refractive index structure within a semiconductor diode laser. Specifically we analyze the problem of maximizing far-field on-axis intensity and discuss the practical aspects of waveguide design.