Been beating this around for a while brainstorm style.
'Couple thoughts on a shock tower brace:
The tuner cars you see with braces are all strut design suspensions. The brace is not only bracing the shock but also the suspension loads from the springs. On these cars, as the body twists due to suspension loads, it affects the alignment/suspension geometry because the top of the strut is also the upper spindle mount. Stiffening this area will make the suspension act properly.
On an XJ, the spring load is in a different area, forward and down from the shock mount area. Bracing the shock alone will make little difference in handling or front chassis deflection, as the major suspension load(the spring load) is in a different location then the shocks/shock brace.
Also on the XJ, chassis twist doesn't affect front alignment geometry(solid axle and all,..) What has a larger effect on alignment is control arm bushing and track bar bushing and mount deflection.
My particular situation is a little different then most.(Trying to figure out how to game the system while following a very strict rule book for competition)
But for a street XJ:
Build a dual tube brace: one bar runs from shock to shock: actually I'd aim the bar to land outside the shock mount and have brackets down to the shock mount area drop off it. The second bar from the top of the spring pocket/outside edge of the inner fender area with an extension to the inside of the spring pocket, triangulating the whole mess.
Then attach the 2 bars together. Also, to help with sanity issues later on and make current life difficult, make the whole assembly removable so the engine can come out without cutting the brace.
I don't think I'd bother to brace to the firewall, although there is a convenient lip on it similar to the early mustang to bolt a "Y"brace to. I don't think the metal there is strong enough to take any side loading. 'Could be wrong though.
That big-a** brace on the TJ probably isn't overkill. It's for coilovers. It's carrying the full suspension loads, not just the shocks.