The design depends on the specification:
Single acting or double acting,
Force capacity in each direction,
Service (oil) pressure, type and viscosity,
Service life cycles,
Seal types,
Operating temperature,
Side load capability
Rod stroke and moment capability,
Cylinder mounting configuration,
Stoke speed rating,
Coupling configuration,
Servovalve mounting,
and other factors.
Not a trivial task.