feat: add Codex plugin distribution support#346
Open
yangchuansheng wants to merge 2 commits into
Open
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
Adds Codex plugin distribution support for Marketing Skills while keeping the existing root
skills/**directory as the single skill source.Codex plugin support
.codex-plugin/plugin.jsonwith plugin identity, interface metadata, starter prompts, and./skills/discovery..agents/plugins/marketplace.jsonfor repo-local Codex marketplace testing.distribution/platforms.jsonto record Codex, Claude Code,npx skills, and generic importer support claims.Validation and CI
scripts/validate-codex-plugin.mjsto validate Codex manifest, marketplace, platform registry, asset paths, skill count, and Claude manifest parity..github/workflows/validate-plugin.ymlto run plugin metadata validation andnpx plugins discoverin CI.Docs and repo guidance
npx plugins add ... --target codexand plugin distribution notes..agents/plugins/marketplace.jsonthrough.gitignorewhile preserving.agents/as an install-artifact ignore path.Test Coverage
Metadata and documentation only. No application code paths changed.
Pre-Landing Review
Pre-Landing Review: No unresolved issues.
Auto-fixed during review:
.github/scripts/sync-skills.jsnow updates skill counts in bothmarketing skillsandagent skillsdescriptions.scripts/validate-codex-plugin.mjsnow validates all required platform registry entries and common platform fields.Design Review
No frontend files changed. Design review skipped.
Eval Results
No prompt-related application files changed. Evals skipped.
Scope Drift
Scope Check: CLEAN
Intent: add Codex plugin support modeled after
labring/sealos-skills.Delivered: Codex plugin manifest, repo marketplace, platform registry, validation script, CI workflow, sync maintenance, and README/AGENTS guidance.
Plan Completion
No plan file detected.
Verification Results
node scripts/validate-codex-plugin.mjspassed:marketing-skills (43 skills)./validate-skills.shpassed: 43/43 skills validnpx plugins discover . --remote --target codexfoundmarketing-skillswith 43 skillsgo run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/sync-skills.yml .github/workflows/validate-plugin.ymlpassedgit diff --check $(git merge-base origin/main HEAD)passedpython3 -m json.toolpassed for plugin and distribution JSON filesTODOS
No TODO file exists in this repo. No TODO items completed in this PR.
Test plan
🤖 Generated with OpenAI Codex