If you show mastery of a particular skill or language, you show that you have learned or understood it completely and have no difficulty using it.
He doesn't have mastery of the basic rules of grammar.
他没有掌握基本的语法规则。