Been playing with cucumber in python, and the frameworks (behave, pytest-bdd) all appear to ship with spec file generators based on the feature files. Would be something to maybe consider?
https://slushjs.github.io/#/
Provides some handy tools for generating?