That's a tough one. One suggestion would be "don't". Most companies want either one or the other. I'm not a brilliant developer or a brilliant designer, which makes it hard for me to find my role in bigger companies.
On the other hand I can make things like https://online-solitaire.com/ and https://habitualapp.io/ as a one-man operation.