How is the (local) clustering coefficient defined for vertices with degree 1
Yes, it is reasonable and common to have $C_i = 0$ when $k_i &lt; 2$. This is sometimes a matter of taste, and some software libraries like igraph lets the user define how to handle the small-degree cases (i.e., whether to return 0 or NaN).