You set an Objective (develop a skill X). Then you decide on what level you want to reach and what are the things you need to do to get there.
Don’t forget that all KRs should be measurable and tie into the goal.
For instance, when learning HTML set a KR “Finish an online course” with % based metric. But it could also be “read 5 books on the topic.”