Since custom commands will be deprecated i started to export them into prompt library (saved online). But some of my custom command need access to my terminal to execute command prior to custom command like:
“commit-message”: {
“description”: “Commit message for staged changes”,
“prompt”: “Suggest an informative commit message by summarizing code changes from the shared command output. The commit message should follow the conventional commit format and provide meaningful context for future readers”,
“context”: {
“selection”: false,
“command”: “git diff --staged --minimal -w”
}
}