feat: Claude Plugin Export for Cowork#25
Draft
falfaddaghi wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR changes the existing Claude export target into a Claude/Cowork plugin package instead of writing legacy
.claudeartifacts. The generated package now includes a valid plugin manifest, arunskill, bundled agents/skills/scripts/docs, round-trip Nexus workflow JSON, and plugin-focused README guidance. OpenCode and PI export behavior is preserved while the export dialog and docs now describe the Claude/Cowork plugin folder and ZIP flows.Plan:
docs/tasks/claude-plugin-export-for-cowork-ba5f56d5/plan-claude-plugin-export-for-cowork-ba5f56d5.mdADW tracking ID:
ba5f56d5Checklist
.claude-plugin/plugin.json,skills/run/SKILL.md, bundled resources,nexus/<workflow>.json, and plugin README files.${CLAUDE_PLUGIN_ROOT}.Key Changes
src/lib/claude-plugin-export.tsfor plugin name sanitization, manifest/README generation, skill frontmatter conversion, plugin-root detection, and resource references..claude-plugin/plugin.jsonat the package root, workflow instructions inskills/run/SKILL.md, bundled agents/skills/docs, and a Nexus workflow JSON snapshot.nexus-<workflow-slug>unless the selected folder is already the plugin root; ZIP exports place plugin files directly at the archive root./nexus-<workflow>:runinvocation.