The maximum capacity of the first shell is
2
Being the smallest, least energy and the closest shell to the nucleus, the first shell has the maximum capacity to hold only 2 electrons in it.
We can derive at this using the 2n2 rule. For the first shell (k-shell), n=1. Therefore, it can hold 2×12=2 electrons.