Making Kdenlive user-scriptable would allow Kdenlive users to automate some parts of their workflow. While the libraray bin now allows for a kind of template repository, it does not allow for flexibility.
For instance, at this time a user cannot even add a single transition with keyframes to the project bin. (Please correct me if I'm wrong.) But even if the user could, then the template is fixed in length. If I need a differently configured transition I would need to add another library bin template.
In contrast, user scripts would allow for parameterization. For illustration, a user may create a user script that runs on a selected clip. The script then creates an affine transition with the black track according to some user-specified ramp length and fitting with the length of the selected clip. No more fiddling around with keyframes.
User scripts could also allow for updating an existing transition, such as updaring its keyframes.
For this, we will need some (simple) object model for timeline elements, namely clips, transitions, and optionally guides. In addition, certain operations are required, such as querying or setting the begin and end of a clip, adding clips, transitions, as well as some more.
User scripts could be made available through a new pane which lists available user scripts. This pane might also act as a possible script parameter UI to allow for easily parameterized scripts (such as the ramp length example mentioned above).