You are helping the user add a new command to their Obsidian plugin.
Adds new commands to Obsidian plugins with optional editor callbacks and hotkeys.
/plugin marketplace add jwplatta/prompt-library/plugin install obsidian-plugin-builder@jwplatta-claude-toolsYou are helping the user add a new command to their Obsidian plugin.
Ask the user for:
Read the main.ts file to understand the current plugin structure
Add the command using this.addCommand() in the onload() method:
Implement the command logic based on user requirements
Example patterns:
Reference the instruct plugin for complex command examples.