The Planet-Disk Connection: From Protoplanetary Disks To Planetary Atmospheres