In the case where the transformation on $\psi$ is applied from the left:
$$ \psi(x)\to e^{-iq\theta(x)}\psi(x). $$
The gauge covariant derivative is
$$ D_\mu = \partial_\mu - iqA_\mu \tag{1} $$
and the field is given as follows:
$$ F_{\mu\nu}=[D_\mu,D_\nu]. \tag{2} $$
My question is; what are the equivalents to equation (1) and (2) if we have an adjoint action such as this
$$ \psi(x) \to g(x)\psi(x)g^{-1}(x) $$
where $g(x)$ could be arbitrary general linear transformations for instance. Does the use of a adjoint action transformation significantly changes (1) and (2)?
I find that $ \partial_\mu (g\psi g^{-1}) = g \left( \partial_\mu \psi + [ g^{-1}(\partial_\mu g), \psi ] \right) g^{-1} .$ Therefore, we set $D_\mu\psi = \partial_\mu\psi - [iq A_\mu, \psi].$ Then, $$ D_\mu(g\psi g^{-1}) = g \left( \partial_\mu g - [iq g^{-1}A_\mu g-g^{-1}(\partial_\mu g),\psi] \right) g^{-1} $$ so $A_\mu$ should transform to $g^{-1}A_\mu g-\frac{1}{iq}g^{-1}(\partial_\mu g).$
I'm no expert on this, but I think that $F_{\mu\nu}=[D_\mu,D_\nu]$ is still valid.