Let $x\in X$ be a closed point of a scheme $X$ of finite type over $k$. Then it's said that the following $k$-vector spaces are canonically isomorphic:
1) the tangent space $T=\operatorname{Hom}_k(m_x/m^2_x,k)$ to $X$ at $x$, where $m_x$ is the maximal ideal of local ring $\mathcal{O}_x$ ;
2) the space of point derivations $D$: $\mathcal{O}_x\to k$, i.e., $k$-linear maps that $D(fg)=f(x)Dg+g(x)Df$;
3) $\operatorname{Hom}_{\mathcal{O}_x}((\Omega _{X/k})_x, \mathbb{k}(x))$
According to proof, one should notice every point derivation $D$ kills $m^2_x$, and therefore induces a linear functional $l: m_x/m^2_x \to k$. Conversely, given any such $l$, define $D$ by $D(f)=l[f-f(x)]$ gives a point derivation.
I don't know why derivation always kills $m^2_x$, I can't see it follows from definitions. And conversely, the derivation defined above seems not satisfy the Leibniz Rule. Maybe something wrong with my calculation. Also, about the Kalher differetial, it's said that the square of elements in $\Omega _{B/A}$ is zero. I don't know why this follows too. Hope someone can help. Thanks!
Let $A = \mathcal{O}_{X,x},$ and let $\mathfrak{m} = m_x.$ Then $\left(\Omega_{X/k}\right)_x\cong\Omega^1_{A/k}.$ So to simplify notation, I will use $(A,\mathfrak{m})$ instead of $(\mathcal{O}_{X,x},m_x).$ In the following, let $i : k\to A$ and $\pi : A\to A/\mathfrak{m}\cong k$ be the natural structure maps. Note in particular that $\pi\circ i = \mathrm{id}_k,$ and that if $f\in A = \mathcal{O}_{X,x},$ then $f(x) = \pi(f),$ and by $f - f(x)$ we mean $f - i\circ\pi(f).$
Before I answer your last question, let me make a general construction. Let $M$ be a $B$-module. We define the ring $B[M]$ to be $B\oplus M$ as a $B$-module, with ring structure given by $$(b_1,m_1)(b_2,m_2) := (b_1b_2, b_1m_2 + b_2 m_1).$$ Note in particular that elements of $M$ in $B[M]$ have square zero: $$(0,m)(0,m) = (0,0\cdot m + 0\cdot m) = (0,0).$$ So, the ring $B[M]$ is a generalization of the dual numbers where elements of the module $M$ have square zero. (To recover the dual numbers, let $B = M = k.$ You can even think of elements of $B[M]$ as being elements of the form $b + m\epsilon,$ where $b\in B,$ $m\in M,$ and $\epsilon^2 = 0$.)
There is a natural surjection \begin{align*} \pi_M : B[M]&\to B\\ (b,m)&\mapsto b \end{align*} In fact, if $B$ is an $A$-algebra, then $A$-algebra maps $f : B\to B[M]$ such that $\pi_M\circ f = \mathrm{id}_B$ are in bijection with $A$-derivations $D : B\to M.$ I leave it as an exercise to you to check that (1) if $f(b) = (b, D(b))$ is such morphism of $A$-algebras, then $D : B\to M$ is an $A$-derivation, (2) that any $A$-derivation $D : B\to M$ induces an $A$-algebra morphism $f_D : B\to B[M]$ given by $f_D(b) = (b,D(b)),$ and (3) that this correspondence is indeed a bijection.
$\quad\,\,\,\,$This is no more nor less than the construction I just outlined of $B[\Omega^1_{B/A}]$!