Josephson junctions (JJs) with nonsinusoidal current-phase relations (CPRs) have gathered increasing attention, partly due to growing interest in topological two-dimensional materials. Understanding how CPRs and inhomogeneities in JJs influence their response is crucial for accurate interpretation of experimental observations. This work reports that a nonsinusoidal CPR, combined with asymmetries in the JJ, can break spatial symmetry and give rise to the Josephson diode effect (JDE) in the short-junction regime. This nonreciprocity is shown to emerge as an intrinsic mechanism related to the maximization of the supercurrent, rather than being solely driven by geometric or material asymmetries. Further analysis shows that JDE efficiency is strongly influenced by the CPR shape but is largely insensitive to junction asymmetry, making the observed nonreciprocity not only a potential experimental signature of unconventional CPRs but also a possible method for probing their properties.