So if I want a function $f:\mathbb R \times \mathbb R\to \mathbb R$ for which
$$f(a,b)+f(b,a)=0$$
holds, then in a most generic way I can take almost any $g(a,b)$ function, and construct $f$ as
$$f:= g(a,b) - g(b,a)$$
So now I want an $f$ that can do
$$f(a,b)+f(b,c)+f(c,a) = 0$$
or even
$$f(x_1,x_2) + f(x_2,x_3) +...+ f(x_i,x_j) +...+ f(x_n,x_1) = 0$$
This reminds of an integral over a closed path that must be zero. Such functions can be constructed as a potential difference. So by taking an arbitrary $g:\mathbb R\to \mathbb R$ "potential" function f can be constructed as
$$f:= g(a)-g(b)$$
But is this the most generic form for $f$? Why?