Since the question has been clarified (by my comment) and its content is quite different than its initial formulation, I am posting a new answer.
Assume $\mathcal{V} = \{x_1, x_2, …, x_n\}$ is a set of variables and $\mu \in \{0,1\}^{\mathcal{V}}$ is a truth assignment. For $i\in \{1, …, n\}$, consider $\mu_i$ to be the restriction of $\mu$ to the $i$ first variables $\{x_1, …, x_i\}$. For $i\in \{1, …, n\}$, denote $\ell_i$ the litteral of variable $x_i$ that is satisfied by $\mu$ (meaning if $\mu(x_1) = 1$, then $\ell_1 = x_1$, if $\mu(x_4) = 0$, then $\ell_4 = \neg x_4$). Depending on what you call a clause, the solution could be different.
- If a clause can contain only one litteral, then the formula $\varphi = (\ell_1)\land (\ell_2) \land … \land (\ell_n)$ is in 3-CNF and is satisfied only by $\mu$. It contains exactly $n$ clauses.
- If a clause must contain 3 litterals, but can contain the same litteral multiple times, then the formula:
$$\varphi = (\ell_1\lor \ell_1 \lor \ell_1)\land (\ell_2\lor \ell_2 \lor \ell_2) \land … \land (\ell_n\lor \ell_n \lor \ell_n)$$
is again in 3-CNF and satisfied only by $\mu$, and still contains $n$ clauses.
- If $n\geqslant 3$ and a clause must contain 3 litterals with different variables, one can construct a formula by induction on $n$:
if $n=3$, then the formula:
$$\varphi_3 = (\ell_1\lor \ell_2\lor \ell_3)\land (\ell_1 \lor \ell_2 \lor \neg \ell_3)\land (\ell_1\lor \neg\ell_2\lor \ell_3)\land(\neg\ell_1\lor \ell_2\lor \ell_3)\land(\ell_1\lor \neg\ell_2\lor \neg\ell_3)\land(\neg\ell_1\lor \ell_2\lor \neg\ell_3)\land(\neg\ell_1\lor \neg\ell_2\lor \ell_3)$$
(all possible clauses except $\neg\ell_1\lor \neg\ell_2\lor \neg\ell_3$) is in 3-CNF and satisfied only by $\mu$. It is of minimal size in that aspect (otherwise another truth assignment could satisfy $\varphi$).
if $n\geqslant 3$, then consider $\varphi_{n-1}$ a formula that is satisfied by $\mu_{n-1}$ ($\mu$ restricted to the first $n-1$ variables) and no other truth assignment over $\{x_1, …, x_{n-1}\}$. The formula:
$$\varphi_n = \varphi_{n-1} \land (\neg \ell_1 \lor \neg \ell_2 \lor \ell_n)$$
is in 3-CNF and satisfied only by $\mu$. It contains exactly $n+4$ clauses.
Now assume that there exists $i>3$ and a formula $\psi$ satisfied only by $\mu_i$ with $i+3$ clauses or less. Consider such a $i$ minimal.
Since $\psi$ is not satisfied when swapping the truth value of $x_i$, that means that $\psi$ contains a clause $C = a\lor b \lor \ell_i$, and $\mu(a) = \mu(b) = 0$.
Now consider $\sigma$ obtained from $\psi$ by:
- deleting the clause $C$;
- in each other clause, replacing $\ell_i$ with any $\ell_j$ such that $j < i$, and replacing $\neg \ell_i$ with any $\neg \ell_j$ such that $j<i$, in each case with $j$ corresponding to a variable not already in the clause (possible given that $i > 3$).
Then $\sigma$ must be satisfied only by $\mu_{i-1}$ but contains $(i-1) +3$ clauses or less, which contradicts the choice of $i$. By contradiction, we conclude that this construction is indeed minimal in the number of clauses.