Repository navigation
fix(claude): remove files the Anthropic plugin directory refuses - #10
Merged
Merged
Conversation
The Anthropic plugin directory refused the plugin. From an organization that is not Verified, it accepts only Markdown, text, JSON, and YAML files, and PNG, JPEG, GIF, WebP, or ICO images. - Replace the SVG logo with a 512 x 512 PNG rendered from it. - Point the Codex and Cursor manifests at the PNG. - Set `icon` in the Claude manifest, so the directory reads the PNG as the plugin icon and shows it on the listing. - Rename the Cursor rule from .mdc to .md. Cursor loads both.
The Anthropic plugin directory refuses each file that starts with `#!` and each package manager configuration file. The three validators started with `#!`, and package.json is a package manager configuration file. - Remove scripts/ and package.json. - Remove the Cursor schemas, because only the validators read them. - Remove the Build workflow, because it ran the validators. - Record the directory file rules in docs/anthropic-submission.md. Commit 449edd5 has the last copy of the validators.
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
The Anthropic plugin directory refused the last version of the plugin. From an organization that is not Verified, the directory accepts only Markdown, text, JSON, and YAML files, and PNG, JPEG, GIF, WebP, or ICO images. It also refuses each file that starts with
#!and each package manager configuration file.This PR removes or converts each file that breaks those rules. Related to MAC-1883.
plugins/macaly-code/assets/logo.svgplugins/macaly-code/rules/route-app-builds-to-macaly.mdc.mdcis not an accepted file type.md. Cursor loads.md,.mdc, and.markdownrulesscripts/validate-*.mjs(3 files)#!package.json.github/workflows/build.ymlschemas/*.json(2 files)Manifest changes:
iconfield names the PNG. The directory reads this field for the listing icon, which was not set before.composerIconandlogopoint at the PNG.logopoints at the PNG.docs/anthropic-submission.mdnow records the file rules, because no CI check guards them.The two commits
The refusal text does not name the files. The Anthropic documentation says that the directory reads and scans only the plugin folder, which is
plugins/macaly-code.d2077c4changes the plugin folder. If the documentation is correct, this commit is sufficient.c501717removes the tooling at the repository root. It follows the refusal text for the full repository, so a second refusal is less likely.To keep the validators and the CI workflow, remove
c501717from the branch before the merge.Cost
After
c501717, no CI check validates the Cursor and Codex manifests. Commit449edd5has the last copy of the validators, the schemas, and the workflow.Validation
claude plugin validate plugins/macaly-code --strict --profile directorypasses on Claude Code 2.1.321.claude plugin validate . --strictpasses.#!, UTF-8, no NUL byte, no BOM, valid JSON, complete PNG.Not verified:
claude plugin validatecommand does not apply the file type rule: it also passes onmain.Other providers
No provider loads the removed root files. Cursor and Codex read only their marketplace manifest and the plugin folder. The skills, the command, and the MCP configuration files are unchanged.
resolve_manifest_pathincodex-rs/core-plugins/src/manifest.rschecks only that the path starts with./and stays in the plugin root..md.md,.mdc, and.markdownrules and parses the frontmatter of each the same way. Cursor writes.mdrule files for its own inline plugins. The.mdc-only rule applies to project rules in.cursor/rules, not to plugins.A replay of the Cursor discovery logic on this branch finds the rule with the same name and description as before.
Not run: a live install of this branch in Cursor or in Codex.
After the merge
claude.ai/directory/manage.The plugin versions stay the same, as in #7, #8, and #9.
Open thread in T3 Code
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.