Your target company, could guide you to choose/develope your skills/knowledge basket.
If you prefer small companies or building your own one, it is better to be a jack of all trades or a generalist.
If you prefer large companies, it is better to be a specialist, engineer, manager, . . . Glasser tests could help you to find out which environments you like.
For example, you can’t expect high freedom and fun in large companies or high survival factors in small companies.