diff --git a/system_prompts/README.md b/system_prompts/README.md index cc9449f93e..6dc8835a50 100644 --- a/system_prompts/README.md +++ b/system_prompts/README.md @@ -35,7 +35,7 @@ python system_prompts/generate.py --plugin-dir ~/windmill-claude-plugin `--plugin-dir` accepts: - the `windmill-claude-plugin` repo root -- a plugin root such as `plugins/windmill-code-plugin` +- a plugin root such as `plugins/windmill` - a direct `skills/` directory To regenerate the public docs repo (consumed by context7): diff --git a/system_prompts/generate.py b/system_prompts/generate.py index e5a6d609ae..eb4dd96462 100644 --- a/system_prompts/generate.py +++ b/system_prompts/generate.py @@ -1761,10 +1761,9 @@ def resolve_plugin_skills_dir(plugin_dir: Path) -> Path: """Resolve the plugin skills directory from a repo root, plugin root, or skills dir.""" plugin_dir = plugin_dir.expanduser().resolve() - repo_skills_dir = plugin_dir / "plugins" / "windmill-code-plugin" / "skills" - repo_plugin_json = plugin_dir / "plugins" / "windmill-code-plugin" / ".claude-plugin" / "plugin.json" - if repo_plugin_json.exists(): - return repo_skills_dir + plugin_root = plugin_dir / "plugins" / "windmill" + if (plugin_root / ".claude-plugin" / "plugin.json").exists(): + return plugin_root / "skills" plugin_skills_dir = plugin_dir / "skills" plugin_json = plugin_dir / ".claude-plugin" / "plugin.json"