mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 16:05:43 +00:00
chore(system_prompts): point plugin skills sync at plugins/windmill/ (#9287)
* chore(system_prompts): point plugin skills sync at plugins/windmill/ The plugin checkout's plugin folder is being renamed from `plugins/windmill-code-plugin/` to `plugins/windmill/` to shorten the slash-command namespace and align with the matching Cursor plugin layout. Paired with windmill-labs/windmill-claude-plugin#8. That PR must merge first so the next sync run finds the new folder. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(system_prompts): update plugin-dir example to plugins/windmill Co-authored-by: centdix <centdix@users.noreply.github.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: centdix <centdix@users.noreply.github.com>
This commit is contained in:
committed by
tristantr
co-authored by
Claude Opus 4.7
centdix
claude[bot]
parent
6af93b0a05
commit
e0c5509c34
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user