Are you replacing the skirting.
If so cut a channel in the skirting about 3/4 the height and depth. Offer the skirting upto the wall and at the points that its the furthest from the wall (they are never flat, fix a large headed screw into the wall a bit lower than the height of the skirting...