It is neither luck nor skill that enables someone to see good returns. It is instead, the application of discipline and persistence to go after those investments, someone who knows their limitations.
Luck - you cannot repeat it. Still - you can repeat it. If you get back below break-even, it was probably luck. If you start to get positive consistently after breaking even, it was probably skill.
If you consistently (over any given period of time) win then you can chalk it up to skill. If you predict stock moves consistently and gainfully then you can chalk it up to skill. If you can look at the past weeks or months and see a steady and progressive trend up in your account, you can chalk it up to skill. On the flip side, if you are picking stocks at random, or with little thought and analysis, it is all luck, and you had better find another hobby soon.
If you have gone a few years and are way ahead without unreasonable risk, you MAY have skill. But the first time you blow out, you may think it was luck...