If the change you want to make is relatively small, it is likely that you can accomplish your goal using existing plugins such as:
- QuickAdd (Macro with user scripts)
- Templater
(In my use case, I often combine QuickAdd user scripts + Commander( + Apple Shortcuts))
If you want to go further, I recommend diving into the development of your own plugin. Once you grasp the feel, this is a great option that gives you the most flexibility.