Open
Conversation
Port the Archflow plugin to work with Cursor IDE alongside the existing Claude Code plugin using a shared plugin/ directory — zero file duplication. Both IDEs discover their own manifest (.claude-plugin/ vs .cursor-plugin/) and ignore the other. The only Cursor-specific addition is rules/archflow-instructions.mdc for Cursor's always-applied workspace rules. Added .cursor-plugin/marketplace.json at repo root for Cursor Marketplace submission. README updated with Cursor installation docs (marketplace + manual fallback) and updated file structure showing dual-manifest approach.
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
plugin/directory using a dual-manifest approach — zero file duplication. Both Claude Code and Cursor discover their own manifest (.claude-plugin/plugin.jsonvs.cursor-plugin/plugin.json) and ignore the other.plugin/:.cursor-plugin/plugin.json(Cursor manifest with marketplace metadata) andrules/archflow-instructions.mdc(Cursor's always-applied workspace rules format)..cursor-plugin/marketplace.jsonat repo root for Cursor Marketplace submission (parallel to the existing.claude-plugin/marketplace.json).Changes (4 files)
New files
.cursor-plugin/marketplace.jsonplugin/.cursor-plugin/plugin.jsonplugin/rules/archflow-instructions.mdc.mdcformat with YAML frontmatter)Modified files
README.mdWhy dual-manifest instead of separate directories?
Both Claude Code and Cursor use the same agents, skills, hooks, and phases. The only differences are:
.claude-plugin/vs.cursor-plugin/)rules/archflow-instructions.mdc(Claude Code ignores therules/folder)Each IDE discovers its own manifest and ignores the other. This means the shared
plugin/directory works as-is for both — no files need to be duplicated.Marketplace submission
After this PR is merged, the repo can be submitted to the Cursor Marketplace at cursor.com/marketplace/publish. The
.cursor-plugin/marketplace.jsonat the repo root follows Cursor's multi-plugin repository format.Test plan
plugin/directory contains both.claude-plugin/plugin.jsonand.cursor-plugin/plugin.jsonrules/archflow-instructions.mdcloads correctly as always-applied rule in Cursor.claude-plugin/unchanged)