You'll notice, any shipyard with cloaking ability, once you activate the cloak: the construction status icon changes to a repair stasus icon, you can click back and forth 'till you've had enough.
Now your cloaked spaceyard ship could fly through enemy space, into a storm sector with cloaking ability, decloak itself and build anything without being seen. If your opponent doesn't have sensors, that is -- even the standard A.I. builds sensor sats in its own space.