knack/ næk /

1.noun [c] 
to have the knack of doing sth 掌握做某事的诀窍

there's a knack to doing this
干这个是有诀窍的