Basics check on fluids and change. Anticipate non-maintenance on underneath fluids (trans, tcase, diffs).
Clean pvc and throttle body with electronic intake cleaner. Pay attention to the IAC on the side of the throttle plate. New cap/rotor/plugs.
Change fuel filter.
Check serpentine belt, battery connections, and battery tray (rusty, holes, decay).
Suck and replace with new fluid - brake and clutch reservoir.
Plan out what you like to do with the YJ for street and wheeling. Come up with a plan to upgrade components as necessary to reach this goal.
97 SE rubbered and locked for fun
94 SE trail-rated
Plugs, wires, distributor cap & rotor, oil change( engine, trans, t-case, axles) change air & fuel filter, grease all fittings, change antifreeze, check brakes, make sure your tires are correct psi (it'll help mpg maybe not noticeably but some, plus your tire wear), check for leaks (oil, antifreeze, vacuum), & check for excessive play in all bushings, joints, etc. & Happy Jeeping!