I find it easier to take the shaders of some material from ShaderLib and than modify the parts I need to be different, by replacing the corresponding ‘#include [Chunk]’
That way you have all the default features of the choosen base material and I need only worry about my extra features - which is hard enough as it is.