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?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Create an OpenCode plugin that shows a toast notification whenever a file is edited. The toast should say "File edited: {filename}". Use the event hook to listen for file edit events.
event hook to listen for events from OpenCodeasyncclient.tui.showToast) to display the notification with the filenameevent hook to listen for eventsasyncevent hook (e.g., polls for changes instead)