glean-plugin-checklist
Original:🇺🇸 English
Translated
Use when creating, adding, or modifying plugins in this Glean Claude Plugins marketplace repository. Triggers on "create plugin", "add plugin", "new plugin", "plugin checklist", "marketplace", or when working with plugin.json, marketplace.json, or the plugins/ directory. Ensures all required files are updated correctly.
2installs
Sourcegleanwork/claude-plugins
Added on
NPX Install
npx skill4agent add gleanwork/claude-plugins glean-plugin-checklistTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Glean Plugin Marketplace Checklist
This skill provides the checklist for correctly adding or modifying plugins in the glean-claude-plugins marketplace repository.
Repository Structure
glean-claude-plugins/
├── .claude-plugin/
│ └── marketplace.json # CRITICAL: Plugin registry - must list all plugins
├── plugins/
│ └── <plugin-name>/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin manifest with version
│ ├── README.md # Plugin documentation
│ ├── commands/ # Slash commands
│ ├── skills/ # Auto-triggered skills
│ └── agents/ # Autonomous agents
├── README.md # Main repo README - must list all plugins
└── package.json # NPM package with versionAdding a New Plugin Checklist
When creating a new plugin, you MUST complete ALL of these steps:
1. Create Plugin Directory Structure
bash
mkdir -p plugins/<plugin-name>/.claude-plugin
mkdir -p plugins/<plugin-name>/commands
mkdir -p plugins/<plugin-name>/skills
mkdir -p plugins/<plugin-name>/agents2. Create plugin.json (REQUIRED)
Path:
plugins/<plugin-name>/.claude-plugin/plugin.jsonjson
{
"name": "<plugin-name>",
"version": "<MATCH MARKETPLACE VERSION>",
"description": "<Brief description>. Requires glean-core.",
"author": {
"name": "Glean",
"email": "steve.calvert@glean.com",
"url": "https://glean.com"
},
"homepage": "https://docs.glean.com/administration/platform/mcp/about",
"repository": "https://github.com/gleanwork/claude-plugins",
"license": "MIT",
"keywords": ["glean", "mcp", "<relevant-keywords>"]
}CRITICAL: The version MUST match the version in .
.claude-plugin/marketplace.json3. Add to marketplace.json (REQUIRED)
Path:
.claude-plugin/marketplace.jsonAdd entry to the array:
pluginsjson
{
"name": "<plugin-name>",
"source": "./plugins/<plugin-name>",
"description": "<One-line description for marketplace listing>"
}4. Create Plugin README.md (REQUIRED)
Path:
plugins/<plugin-name>/README.mdInclude:
- Plugin description
- Prerequisites (usually "Requires glean-core")
- Available commands
- Available skills
- Available agents
- Usage examples
5. Update Main README.md (REQUIRED)
Path:
README.mdUpdate THREE sections:
a) Quick Start section - Add install command:
markdown
/plugin install <plugin-name>b) Plugins table - Add row:
markdown
| **[<plugin-name>](plugins/<plugin-name>)** | <Description> | [README](plugins/<plugin-name>/README.md) |c) "Which Plugin Do I Need?" section - Add use case:
markdown
| <Use case description> | `glean-core` + `<plugin-name>` |Version Management
All plugins should have the same version as the marketplace:
- Check current version:
jq '.version' .claude-plugin/marketplace.json - Set plugin version to match in
plugins/<plugin-name>/.claude-plugin/plugin.json
When releasing a new version:
- Update version
.claude-plugin/marketplace.json - Update version
package.json - Update ALL versions
plugins/*/.claude-plugin/plugin.json
Verification Commands
After adding a plugin, verify with:
bash
# Check marketplace.json is valid JSON
jq . .claude-plugin/marketplace.json
# List all plugins in marketplace
jq -r '.plugins[].name' .claude-plugin/marketplace.json
# Check all plugin versions match
for p in plugins/*/.claude-plugin/plugin.json; do
echo "$p: $(jq -r '.version' "$p")"
done
# Check README mentions the plugin
grep "<plugin-name>" README.mdCommon Mistakes to Avoid
- Forgetting marketplace.json - Plugin won't appear in marketplace
- Version mismatch - Can cause installation issues
- Missing README update - Users won't know plugin exists
- Wrong source path - Use not
./plugins/<name>plugins/<name>
Using plugin-dev:create-plugin
The command can help scaffold the plugin, but you MUST still:
/plugin-dev:create-plugin- Add to manually
.claude-plugin/marketplace.json - Update the main manually
README.md - Ensure versions match
Always run the verification commands after using .
/plugin-dev:create-plugin