Skip to content

Fix Claude Code plugin marketplace schema and update docs - #2142

Merged
Andriy Knysh (aknysh) merged 1 commit into
mainfrom
aknysh/fix-agent-skills
Mar 4, 2026
Merged

Andriy Knysh (aknysh) merged 1 commit into
mainfrom
aknysh/fix-agent-skills

Conversation

@aknysh

@aknysh Andriy Knysh (aknysh) commented Mar 4, 2026 •

Copy link
Copy Markdown
Member

what

  • Fix .claude-plugin/marketplace.json schema that caused /plugin marketplace add cloudposse to fail with Invalid schema: plugins.0.source: Invalid input
  • Change source from "." to "./agent-skills" — the source field must point to the directory containing .claude-plugin/plugin.json
  • Remove non-standard metadata.pluginRoot field — not part of the Claude Code marketplace schema
  • Move version/description to top-level marketplace fields where they belong
  • Remove duplicate plugin-level fields (author, homepage, repository, license, keywords, strict) from the marketplace manifest — these already exist in agent-skills/.claude-plugin/plugin.json
  • Change category from "integration" to "development" — matches the official Anthropic marketplace which uses development, productivity, learning, and security
  • Add uninstall/marketplace remove commands to all documentation (PRD, blog, agent-skills doc, ai-assistants doc)
  • Fix PRD plugin.json example to match the actual agent-skills/.claude-plugin/plugin.json file
  • Fix PRD Team Auto-Discovery section to include extraKnownMarketplaces (was missing, wouldn't work without it)

why

  • The original marketplace.json used "source": "." with a custom metadata.pluginRoot field to resolve the path. This is not part of the Claude Code marketplace schema — Claude Code expects source to directly point to the plugin directory containing .claude-plugin/plugin.json
  • Users running /plugin marketplace add cloudposse/atmos got an opaque validation error with no guidance on what was wrong
  • Documentation was missing uninstall/remove instructions, and the PRD had stale examples that didn't match the actual manifest files
  • Verified fix works locally:
    /plugin marketplace add cloudposse/atmos   → Successfully added marketplace: cloudposse
    /plugin install atmos@cloudposse           → ✓ Installed atmos
    /plugin uninstall atmos@cloudposse         → ✓ Uninstalled atmos
    /plugin marketplace remove cloudposse      → ✔ Removed 1 marketplace
    

references

Summary by CodeRabbit

  • Documentation

    • Added uninstall instructions for the Atmos plugin across multiple documentation pages.
  • Chores

    • Updated plugin configuration and restructured marketplace metadata.
    • Added support for additional marketplace sources to streamline plugin discovery and auto-configuration.

…nstall commands

Fix the Claude Code plugin marketplace schema that caused
`/plugin marketplace add cloudposse` to fail with "Invalid schema:
plugins.0.source: Invalid input".

Changes:
- Fix `source` from `"."` to `"./agent-skills"` (must point to plugin.json dir)
- Remove non-standard `metadata.pluginRoot` field
- Move `version`/`description` to top-level marketplace fields
- Remove duplicate plugin-level fields (already in plugin.json)
- Change `category` from `"integration"` to `"development"` (official value)
- Add uninstall/remove commands to all docs
- Fix PRD plugin.json example to match actual file
- Fix PRD Team Auto-Discovery to include `extraKnownMarketplaces`

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@aknysh
Andriy Knysh (aknysh) requested a review from a team as a code owner March 4, 2026 16:47
@aknysh Andriy Knysh (aknysh) added the no-release Do not create a new release (wait for additional code changes) label Mar 4, 2026
@aknysh Andriy Knysh (aknysh) self-assigned this Mar 4, 2026
@github-actions github-actions Bot added the size/m Medium size PR label Mar 4, 2026
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

@coderabbitai

coderabbitai Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 478d4b26-15e9-4559-a535-39895e749d90

📥 Commits

Reviewing files that changed from the base of the PR and between 74b4aae and aa5b418.

📒 Files selected for processing (5)
  • .claude-plugin/marketplace.json
  • docs/prd/atmos-agent-skills.md
  • website/blog/2026-02-27-ai-agent-skills.mdx
  • website/docs/integrations/ai/agent-skills.mdx
  • website/docs/projects/setup-editor/ai-assistants.mdx

📝 Walkthrough

Walkthrough

The pull request restructures the Atmos plugin marketplace configuration by promoting version and description fields to the top level, removing the metadata block, and repointing the plugin source from the root directory to an ./agent-skills subdirectory. Documentation across multiple sites has been updated with uninstall instructions.

Changes

Cohort / File(s) Summary
Marketplace & Plugin Configuration
.claude-plugin/marketplace.json, agent-skills/.claude-plugin/plugin.json
Updated marketplace manifest with top-level version and description fields; removed metadata block. Plugin source redirected from root to ./agent-skills. Plugin metadata consolidated; homepage, repository, and keywords updated. Category changed from "integration" to "development".
Documentation Updates
docs/prd/atmos-agent-skills.md, website/blog/2026-02-27-ai-agent-skills.mdx, website/docs/integrations/ai/agent-skills.mdx, website/docs/projects/setup-editor/ai-assistants.mdx
Added uninstall instructions for the Atmos plugin across documentation and blog content. Instructions include commands to remove the plugin and optionally the marketplace configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Suggested labels

patch

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: fixing the marketplace schema and updating documentation to align with Claude Code plugin requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch aknysh/fix-agent-skills

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.

@codecov

codecov Bot commented Mar 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.60%. Comparing base (74b4aae) to head (aa5b418).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2142      +/-   ##
==========================================
+ Coverage   76.57%   76.60%   +0.02%     
==========================================
  Files         832      832              
  Lines       79524    79524              
==========================================
+ Hits        60898    60919      +21     
+ Misses      14830    14813      -17     
+ Partials     3796     3792       -4     
Flag Coverage Δ
unittests 76.60% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aknysh
Andriy Knysh (aknysh) merged commit 7091aa6 into main Mar 4, 2026
102 of 103 checks passed
@aknysh
Andriy Knysh (aknysh) deleted the aknysh/fix-agent-skills branch March 4, 2026 17:52
@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown

These changes were released in v1.208.1-test.0.

Igor Rodionov (goruha) added a commit that referenced this pull request Mar 9, 2026
…raform-plan

* osterman/native-ci-terraform: (28 commits)
  feat: Add source cache TTL for JIT-vendored components (#2138)
  feat: Per-target version overrides in vendor manifests (#2141)
  docs: Add PRD for browser-based auth in aws/user identity (#1887)
  docs: Add EKS kubeconfig authentication integration PRD (#1884)
  fix: correct marketplace.json schema and update docs with install/uninstall commands (#2142)
  fix: propagate auth to all YAML functions in multi-component execution (#2140)
  fix: Use atmos_component for source provisioner workdir paths (#2137)
  Fix identity prompts to respect --interactive flag (#2130)
  Increase PR size thresholds to accommodate AI-assisted development (#2136)
  docs: Add Azure authentication provider documentation (#2132)
  fix: propagate component-type level dependencies through stack processor (#2127)
  fix: Add retry and missing workflow step properties to all schema copies (#2113)
  Exclude unsupported windows/arm from goreleaser build matrix (#2133)
  Add AI Agent Skills for LLM-Powered Infrastructure Development (#2121)
  Fix: Convert toolchain paths to absolute in PATH to resolve exec.LookPath failures (#2095)
  Fix workdir collision for component instances sharing base component (#2093)
  fix(auth): propagate TTY state to subprocesses for SSO device flow in workflows (#2126)
  fix(security): prevent SSRF in GitHub OIDC token URL handling (CWE-918) (#2106)
  Fix #2112: add workflow_retry definition and retry property to workflow step schema (#2114)
  fix(auth): auto-detect GitHub Actions WIF with proper audience, host validation, and lazy GSM init (#2109)
  ...
@github-actions

github-actions Bot commented Mar 9, 2026

Copy link
Copy Markdown

These changes were released in v1.208.1-test.9.

@github-actions

github-actions Bot commented Mar 9, 2026

Copy link
Copy Markdown

These changes were released in v1.208.1-test.10.

This branch was successfully deployed

1 active deployment
preview — aa5b4188 Deployed Mar 4, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-release Do not create a new release (wait for additional code changes) size/m Medium size PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants