Skip to content

Remove unsupported category key form plugin.json Fix #23, 24, 26 - #27

Closed
nickolasclarke wants to merge 1 commit into
obra:mainfrom
nickolasclarke:main
Closed

nickolasclarke wants to merge 1 commit into
obra:mainfrom
nickolasclarke:main

Conversation

@nickolasclarke

@nickolasclarke nickolasclarke commented Oct 14, 2025 •

Copy link
Copy Markdown

Motivation and Context

This resolves #23, #24, #26 by removing the unsupported category key from plugin.json

Paired with obra/superpowers-marketplace#2 which should be merged first. note actually maybe not? See obra/superpowers-marketplace#2 (comment)

How Has This Been Tested?

I forked both superpowers-marketplace and superpowers, removed the existing marketplace and plugin from claude. (I had to also manually clear the plugin cache at ~/.claude/plugins/cache/) and followed the README install instructions. I successfully saw the expected slash commands, and the marketplace was pointing at my repo.

Breaking Changes

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

Summary by CodeRabbit

  • Chores
    • Updated plugin metadata by removing the category field.
  • Style
    • Reformatted the keywords list to a multi-line format without changing content.
  • Impact
    • Plugin may appear differently in listings due to removal of category; functionality remains unchanged.

@coderabbitai

coderabbitai Bot commented Oct 14, 2025 •

Copy link
Copy Markdown

Walkthrough

Removed the deprecated "category" field from .claude-plugin/plugin.json and reformatted the "keywords" array to a multiline style without changing its contents.

Changes

Cohort / File(s) Summary
Plugin manifest cleanup
.claude-plugin/plugin.json
Removed "category": "productivity" field; reformatted keywords from single-line to multiline array with the same six entries.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

I nibbled the manifest, crisp and light,
Plucked “category” out of sight.
Keywords stacked like carrots in rows,
Multiline garden neatly grows.
Thump-thump! Schema checks pass tonight. 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues Check ✅ Passed The pull request removes the unsupported category metadata from plugin.json, directly addressing the validation error described in issue #23 and ensuring conformance with the latest Claude plugin manifest schema.
Out of Scope Changes Check ✅ Passed Aside from removing the category field per the linked issue, the only additional modification is reformatting the keywords array in plugin.json, which is purely cosmetic and does not affect functionality or manifest validity.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Title Check ✅ Passed The title clearly states the primary change—removing the unsupported category key—and therefore relates to the changeset, although it contains an incorrect issue reference and a small typo.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nickolasclarke nickolasclarke changed the title Fix #23, 24, 25 Remove unsupported category key form plugin.json Fix #23, 24, 26 Oct 14, 2025
@FLGAI

FLGAI commented Oct 14, 2025

Copy link
Copy Markdown

Can confirm this bug - just hit it today trying to install superpowers from the marketplace.

Error I received:
Failed to install: superpowers (Plugin has an invalid manifest file at
/Users/***/.claude/plugins/cache/temp_git_1760472746922_f07ql5/.claude-plugin/plugin.json.
Validation errors: : Unrecognized key(s) in object: 'category')

Context:

  • Installed obra/superpowers-marketplace successfully
  • Marketplace points to obra/superpowers.git which still has the category field
  • Installation fails during validation of the plugin manifest

Current Status:

  • ❌ Plugin is NOT installed - config.json shows "repositories": {} (empty)
  • ✅ Marketplace registered - but that's just a catalog, not the actual plugin
  • ❌ Installation silently failed due to the category validation error

Thanks for the fix!

@mhgrove

mhgrove commented Oct 14, 2025

Copy link
Copy Markdown

I can't install directly from your repo with a fresh install of claude code. I think something else has also changed?

$ claude

▗ ▗   ▖ ▖  Claude Code v2.0.15
           Sonnet 4.5 · Claude Team
  ▘▘ ▝▝    /private/tmp

> /plugin 
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Add Marketplace                                                                                                                                                                                                                      │
│                                                                                                                                                                                                                                      │
│ Enter marketplace source:                                                                                                                                                                                                            │
│ Examples:                                                                                                                                                                                                                            │
│  • owner/repo (GitHub)                                                                                                                                                                                                               │
│  • [email protected]:owner/repo.git (SSH)                                                                                                                                                                                               │
│  • https://example.com/marketplace.json                                                                                                                                                                                              │
│  • ./path/to/marketplace                                                                                                                                                                                                             │
│                                                                                                                                                                                                                                      │
│ [email protected]:nickolasclarke/superpowers.git                                                                                                                                                                                        │
│                                                                                                                                                                                                                                      │
│ Marketplace file not found at /Users/mhgrove/.claude/plugins/marketplaces/temp_1760474400433/.claude-plugin/marketplace.json                                                                                                         │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

@nickolasclarke

Copy link
Copy Markdown
Author

@obra has fixed this in a different PR. Closing.

@obra

obra commented Oct 14, 2025

Copy link
Copy Markdown
Owner

TY. I made a parallel fix since I...didn't look at GitHub before dealing with a personal bug report by text message :)

dylmos-own01 pushed a commit to dylmos-own01/superpowers that referenced this pull request May 18, 2026
aardwulf89 pushed a commit to aardwulf89/superpowers that referenced this pull request Nov 18, 2026
aardwulf89 pushed a commit to aardwulf89/superpowers that referenced this pull request Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Claude plugin manifest schema change

4 participants