The syntax you want for that is;
Code:
#competencebonus[hero.child[skStealth], 1]
You might find this article useful, I sure did
If you are not on a mac you'll find it at;
file:///C:/ProgramData/Hero Lab/data/pathfinder/authoring/pathfindereditwhere.htm