contoursautomaticcontours = DeleteDuplicatesBy[First]@FindDivisions[{-2, 2}, 10];
styledcontours = Join[{{-1, Directive[Thick, Red]},
{0, Directive[Thick, Green]},
{1, Directive[Thick, Blue]}}, ;
contours = DeleteDuplicatesBy[First]@
Thread[{FindDivisions[{-2, 2}, 10]Join[styledcontours, Thread[{automaticcontours, Automatic}]];
ContourPlot[Sin[x - y] + Cos[x + y], {x, -10, 10}, {y, -10, 10},
PlotPoints -> {30, 30}, PlotRange -> {{-10, 10}, {-10, 10}},
ColorFunction -> "Rainbow", ImageSize -> 500,
Contours -> contours]
contoursautomaticcontours = Cases[cp, Tooltip[_, t_] :> t, All]
{1.5, 1., 0.5, 0., -0.5, -1., -1.5};
styledcontours = Join[ Thread[{{0., -1., 1.},
Thread[Directive[{Green, Red, Blue}, Thick, Opacity[1]]]}], ];
contours = Join[styledcontours Complement[contours, Complement[automaticcontours, {0., -1., 1.}]];
ContourPlot[Sin[x - y] + Cos[x + y], {x, -10, 10}, {y, -10, 10},
PlotPoints -> {30, 30}, PlotRange -> {{-10, 10}, {-10, 10}},
ColorFunction -> "Rainbow", ImageSize -> 500,
Contours -> styledcontours]contours]