The algebraic curve $Y^2 - X^3 = 0$ has a singularity at the origin because, while the curve is irreducible over the ring of polynomials, the curve is not irreducible when viewed in the set of differentiator functions. We have a factorization as $(Y-\sqrt{X^3})(Y+\sqrt{X^3})$, so the curve is the union of two differentiable curves with intersect badly at the origin. Similarily, $Y^2 - X^2 - X^3$ defines another algebraic curve with a singularity at the origin, because the polynomial is reducible over the ring of differentiable functions to $(Y-X\sqrt{X + 1})(Y + X\sqrt{X+1})$, and these differentiable curves define two curves with different tangents at the origin.
My question is whether there is a general characterization of singularity theory over algebraic curves over the real and complex numbers, in the sense that every singularity results from the fact that the algebraic curve contains two differentiable curves nonsingular at the point. I tried working with the ring of germs of functions locally differentiable around the point, and I found that if an element is reducible in this ring, it must be singular at the point. But I had difficulties proving that if a function is irreducible it must be nonsingular at a point. What kind of results exist in the literature which expand upon this idea of singularities?