How to use 'good of a' followed by a noun?

'Good of a or an' is an error, mainly found in US speech and casual writing. Only the middle examples of each three are correct. The first ones are incorrect because the noun after 'that good' requires an indefinite article ('a' or 'an'), and the last examples ('not that good of a / an...') are a mainly US regional error.