The present invention relates to methods for modulating the activity of kinases and for the treatment of diseases associated with the activity of kinases including, for example, immune-related diseases, skin disorders, myeloproliferative disorders, cancer and other diseases, - pyrazolyl-N-arylpyrimidin-2-amine and 4-pyrazolyl-N-heteroarylpyrimidin-2-amine. (I)본 발명은 키나제의 활성을 조절하고, 예를 들면, 면역-관련 질환, 피부 장애, 골수 증식성 장애, 암 및 기타 질환을 포함하는 키나제의 활성과 관련된 질환을 치료하는데 유용한, 예를 들면, 4-피라졸릴-N-아릴피리미딘-2-아민 및 4-피라졸릴-N-헤테로아릴피리미딘-2-아민을 포함하는 화학식 I의 치환된 바이사이클릭 헤테로아릴 화합물을 제공한다.[화학식 I]