Badly written implies that the feat is vague and hard to interpret. Sanctum spell is actually very concise and clear in what it does, so I'd say its quite well written. Now, as to whether or not it's game breaking and poorly thought out/implemented for what it was intended to do, that's a different question.