Despite the remarkable efficacy of PD-1-associated immune checkpoint inhibitors in treating cutaneous melanoma (CM), the inconsistency in the expression of PD-1 and its ligand PD-L1, and resulting variability in the effectiveness of immunotherapy, present significant challenges for clinical application. This evidence concerns the gene CD274 and cutaneous mastocytosis.