Use the cash bonus test. If your employer paid you the after-tax value of the vest in cash, would you spend all of it on company stock today? If the answer is no, holding the shares is a purchase you would not otherwise make.
The test works because the tax is already set at vest. Selling the same day usually creates little or no extra tax, since the sale price is close to your cost basis. So the decision to hold is an investment decision, not a tax one.
There are fair reasons to keep some shares: real conviction, ownership guidelines for senior staff, or a plan to sell over time. The risk is holding by default, vest after vest, without ever deciding to.