Skip to content

fix(plugin): restructure to .claude-plugin for Claude Code compatibility#600

Merged
JasonXuDeveloper merged 1 commit intomasterfrom
fix/claude-plugin-structure
Jan 29, 2026
Merged

fix(plugin): restructure to .claude-plugin for Claude Code compatibility#600
JasonXuDeveloper merged 1 commit intomasterfrom
fix/claude-plugin-structure

Conversation

@JasonXuDeveloper
Copy link
Owner

Summary

  • Rename claude-plugin/ to .claude-plugin/ (required by Claude Code)
  • Rename claude.json to plugin.json (expected filename)
  • Fix plugin.json schema (author as object, skills as directory paths)
  • Update all references in READMEs and CI workflow

Context

Claude Code expects .claude-plugin/plugin.json at repo root for marketplace-based plugin discovery. The previous structure was not recognized.

Test Plan

  • Merge this PR
  • Run claude plugin marketplace add JasonXuDeveloper/JEngine
  • Run claude plugin install jengine@jengine-marketplace
  • Verify plugin loads correctly with claude plugin list

🤖 Generated with Claude Code

- Rename claude-plugin/ to .claude-plugin/ (required by Claude Code)
- Rename claude.json to plugin.json (expected filename)
- Fix plugin.json schema (author as object, skills as directory paths)
- Update all references in READMEs and CI workflow

Claude Code expects .claude-plugin/plugin.json at repo root for marketplace-based plugins.

Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net>
Copilot AI review requested due to automatic review settings January 29, 2026 05:14
@github-actions github-actions bot added documentation Improvements or additions to documentation ci labels Jan 29, 2026
@JasonXuDeveloper JasonXuDeveloper enabled auto-merge (squash) January 29, 2026 05:15
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures the Claude Code plugin to comply with Claude Code's marketplace requirements by renaming the directory from claude-plugin/ to .claude-plugin/ and the configuration file from claude.json to plugin.json. The schema has been updated to match Claude Code's expected format.

Changes:

  • Renamed plugin directory to hidden directory .claude-plugin/ for Claude Code marketplace compatibility
  • Renamed claude.json to plugin.json with updated schema (author as object, skills as directory paths instead of glob patterns)
  • Added new plugin files: CLAUDE.md and four skill documentation files (jaction, jobjectpool, messagebox, editor-ui)
  • Updated all references in README files, CI workflow, and maintenance documentation

Reviewed changes

Copilot reviewed 8 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
claude-plugin/claude.json Deleted old configuration file
.claude-plugin/plugin.json New configuration with updated schema matching Claude Code requirements
.claude-plugin/CLAUDE.md Added main framework documentation with key patterns
.claude-plugin/skills/jaction/SKILL.md Added JAction API documentation with usage patterns
.claude-plugin/skills/jobjectpool/SKILL.md Added JObjectPool API documentation
.claude-plugin/skills/messagebox/SKILL.md Added MessageBox API documentation
.claude-plugin/skills/editor-ui/SKILL.md Added comprehensive Editor UI components documentation
.claude-plugin/README.md Updated installation instructions for new directory structure
.claude-plugin/marketplace.json Updated path reference to .claude-plugin
README.md Updated link to point to .claude-plugin/ directory
README_zh_cn.md Updated link to point to .claude-plugin/ directory
.github/workflows/release-plugin.yml Updated all path references and file operations for new structure
.claude/rules/plugin-maintenance.md Updated all documentation references to use .claude-plugin/ paths

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JasonXuDeveloper JasonXuDeveloper merged commit 096ce29 into master Jan 29, 2026
23 checks passed
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: Copilot review found no issues and Unity Tests passed (or were skipped for non-code changes).

@JasonXuDeveloper JasonXuDeveloper deleted the fix/claude-plugin-structure branch January 29, 2026 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant