@Xiangyu Cao Just to make sure I understand what you're asking. You have Calibre LVS rules for sky130 from somewhere. My understanding is that the Calibre rules are not open-source. Are you writing your own rules?
Anyways, from the error message you listed, it looks like you are trying to reference a layer or device that is not defined.
Do you have a layout and the CDL you want to match against that you could post?