Generation of magnetic skyrmions in two-dimensional magnets via interfacial proximity