Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:35:16 +08:00
commit 676815a598
5 changed files with 149 additions and 0 deletions

22
commands/run.md Normal file
View File

@@ -0,0 +1,22 @@
Follow these instructions:
```
# All file paths are relative to the plugin installation directory
# (e.g., ~/.claude/plugins/marketplaces/kokuyouwind-plugins/plugins/rbs-goose)
plugin_base_path = File.dirname(__FILE__) # This is the plugin root directory
# First Run Setup
unless File.exists?('./rbs_goose.yml')
follow_instruction(File.join(plugin_base_path, 'commands/setup.md'))
return
end
config = Config.load('./rbs_goose.yml')
case config.type_annotation_mode
when :inline
follow_instruction(File.join(plugin_base_path, 'internal/type_inline.md'))
when :file
follow_instruction(File.join(plugin_base_path, 'internal/type_file.md'))
end
```