[step:Recover metric compatibility for arbitrary sections from the skew-Hermitian identity]
Conversely, assume that
\begin{align*}
A^*+A=0.
\end{align*}
Equivalently, for all $i,j \in \{1,\dots,r\}$,
\begin{align*}
A_{ij}+\overline{A_{ji}}=0.
\end{align*}
Let $s,t \in \Gamma(U,E)$ be smooth local sections. Since $e$ is a local frame, there are unique smooth functions
\begin{align*}
s_i:U \to \mathbb{C}
\end{align*}
and
\begin{align*}
t_i:U \to \mathbb{C}
\end{align*}
for $1 \le i \le r$ such that
\begin{align*}
s=\sum_{i=1}^r s_i e_i
\end{align*}
and
\begin{align*}
t=\sum_{i=1}^r t_i e_i.
\end{align*}
Because the frame is unitary and $h$ is linear in the first argument,
\begin{align*}
h(s,t)=\sum_{i=1}^r s_i\overline{t_i}.
\end{align*}
Therefore the ordinary product rule gives
\begin{align*}
d(h(s,t))=\sum_{i=1}^r ds_i\,\overline{t_i}+\sum_{i=1}^r s_i\,d\overline{t_i}.
\end{align*}
Using the Leibniz rule for the connection and the definition of $A$,
\begin{align*}
\nabla s=\sum_{k=1}^r \left(ds_k+\sum_{i=1}^r A_{ki}s_i\right)\otimes e_k
\end{align*}
and
\begin{align*}
\nabla t=\sum_{k=1}^r \left(dt_k+\sum_{j=1}^r A_{kj}t_j\right)\otimes e_k.
\end{align*}
Pairing these with $t$ and $s$, respectively, gives
\begin{align*}
h(\nabla s,t)=\sum_{k=1}^r \left(ds_k+\sum_{i=1}^r A_{ki}s_i\right)\overline{t_k}
\end{align*}
and
\begin{align*}
h(s,\nabla t)=\sum_{k=1}^r s_k\left(d\overline{t_k}+\sum_{j=1}^r \overline{A_{kj}}\overline{t_j}\right).
\end{align*}
Adding,
\begin{align*}
h(\nabla s,t)+h(s,\nabla t)=\sum_{k=1}^r ds_k\,\overline{t_k}+\sum_{k=1}^r s_k\,d\overline{t_k}+\sum_{i,k=1}^r A_{ki}s_i\overline{t_k}+\sum_{k,j=1}^r s_k\overline{A_{kj}}\overline{t_j}.
\end{align*}
Rename the indices in the last sum by setting $i=k$ and $k=j$. Then the two connection-coefficient sums combine as
\begin{align*}
\sum_{i,k=1}^r \left(A_{ki}+\overline{A_{ik}}\right)s_i\overline{t_k}.
\end{align*}
The skew-Hermitian identity gives $A_{ki}+\overline{A_{ik}}=0$, so the connection-coefficient contribution vanishes. Hence
\begin{align*}
h(\nabla s,t)+h(s,\nabla t)=\sum_{k=1}^r ds_k\,\overline{t_k}+\sum_{k=1}^r s_k\,d\overline{t_k}=d(h(s,t)).
\end{align*}
Thus $\nabla$ is compatible with $h$ on $U$.
[/step]