  In this paper we prove that RAAGs are distinguished from each other by their
pro-$p$ completions for any choice of prime $p$, and that RACGs are
distinguished from each other by their pro-2 completions. We also give a new
proof that hyperbolic virtually special groups are good in the sense of Serre.
Furthermore we give an example of a property of the underlying graph of a RAAG
that translates to a property of the profinite completion.
