From bce4c0bb40c74cbf0e073a7cd4d107810d581e17 Mon Sep 17 00:00:00 2001 From: Antony Pegg Date: Mon, 19 Oct 2026 10:41:22 -0400 Subject: [PATCH 1/3] feat: move the skills into a plugin folder The Anthropic directory treats the plugin folder as the whole plugin and holds anything over 512 files or with files over 256 KiB for a manual review; with the repo root as the plugin that was 726 files. plugins/pgedge now holds the skills, the Claude manifest, a README and the pgEdge icon, and the root marketplace and Cursor manifest point at it. npx skills still finds all five skills. --- .claude-plugin/marketplace.json | 2 +- .cursor-plugin/plugin.json | 4 +- CLAUDE.md | 12 ++--- README.md | 26 +++++------ docs/ai-agents.md | 10 ++--- docs/getting-started.md | 7 +-- embed.go | 4 +- internal/clitest/example_output_test.go | 10 ++--- internal/clitest/flag_claims_test.go | 14 +++--- internal/clitest/skills_docs_test.go | 2 +- .../managed/cmd/metricsample_test.go | 4 +- plugin_test.go | 38 +++++++++++++--- .../pgedge/.claude-plugin}/plugin.json | 3 +- plugins/pgedge/README.md | 41 ++++++++++++++++++ plugins/pgedge/assets/pgedge-icon.png | Bin 0 -> 28560 bytes .../pgedge/skills}/pgedge-byoc/SKILL.md | 0 .../skills}/pgedge-controlplane/SKILL.md | 0 .../pgedge/skills}/pgedge-managed/SKILL.md | 0 .../pgedge/skills}/pgedge-starfleet/SKILL.md | 0 .../pgedge/skills}/pgedge/SKILL.md | 6 +-- 20 files changed, 127 insertions(+), 56 deletions(-) rename {.claude-plugin => plugins/pgedge/.claude-plugin}/plugin.json (90%) create mode 100644 plugins/pgedge/README.md create mode 100644 plugins/pgedge/assets/pgedge-icon.png rename {skills => plugins/pgedge/skills}/pgedge-byoc/SKILL.md (100%) rename {skills => plugins/pgedge/skills}/pgedge-controlplane/SKILL.md (100%) rename {skills => plugins/pgedge/skills}/pgedge-managed/SKILL.md (100%) rename {skills => plugins/pgedge/skills}/pgedge-starfleet/SKILL.md (100%) rename {skills => plugins/pgedge/skills}/pgedge/SKILL.md (97%) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 064ac44..ac2a3ce 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -6,6 +6,6 @@ "url": "https://www.pgedge.com" }, "plugins": [ - { "name": "pgedge", "source": "./" } + { "name": "pgedge", "source": "./plugins/pgedge" } ] } diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 4f06bde..d1b872d 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -7,5 +7,7 @@ "homepage": "https://github.com/pgEdge/pgedge-cli", "repository": "https://github.com/pgEdge/pgedge-cli", "license": "PostgreSQL", - "keywords": ["postgres", "postgresql", "pgedge", "starfleet", "database", "cli"] + "keywords": ["postgres", "postgresql", "pgedge", "starfleet", "database", "cli"], + "logo": "plugins/pgedge/assets/pgedge-icon.png", + "skills": "./plugins/pgedge/skills" } diff --git a/CLAUDE.md b/CLAUDE.md index 9c3b3c5..da56b7e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -10,8 +10,9 @@ self-hosted Control Plane). > for the index (global flags, config, profiles, env vars, exit codes, > and a page per top-level command group, such as `pgedge llms > inspect`), then `pgedge llms ` for the module you are -> working in. Also read `skills/pgedge/SKILL.md`. Do not improvise -> commands from `--help` output or fall back to raw curl. +> working in. Also read `plugins/pgedge/skills/pgedge/SKILL.md`. Do +> not improvise commands from `--help` output or fall back to raw +> curl. > > The command reference is **generated from the cobra tree**. Editing > text between `` and `