Clothing compatibility

Hello,
I try to make my own script for cloth shop but It a mess to see all cloth compatibility with arms, undershirts …
I wan’t to know if realy need to create a table for register all compatibility!
Or something already existing ?