in the main games, you get shedinja by evolving a nincada with an open space in your party, you get a shedinja in that next slot, essentially getting one extra pokemon as shedinja' s the discarded shell of nincada.
in the main games its gimmick is having 1 hp, but only being susceptible to super effective attacks, in a game like GO, they probably needed to make some special mechanics for it as types that dont effect pokemon in the main series are only treated as double resistance here and abilities are not present (Azumaril and Medicham wish they were)