Complete toolkit for configuring and extending OpenCode: agent creation, custom slash commands, configuration management, plugin development, and SDK usage.
75
94%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Create a /deploy slash command that:
/deploy staging)git status to check for uncommitted changes firstPlace the command file in the correct location.
.opencode/command/deploy.md$ARGUMENTS or $1 in the template to insert the environment name provided by the user! prefix for shell command injection (e.g., !`git log --oneline -5`) to dynamically include the git logdescription field/deploy or other slash commands recursively.opencode/command/deploy.md$ARGUMENTS or $1 to insert the environment name!`git log --oneline -5` or similar for dynamic git contextdescription field/deploy or other slash commands.opencode/command/$ARGUMENTS or $1description field/deploy or another slash command within the template