How it works
While many Actions are based on templated prompts and can be customized with .prompt files, there are a number that execute more complex code under the hood.
Right click actions that generate inline diffs, use the same prompt and response processing logic as Edit.
To learn how other slash commands work, see the full reference here.