From 63974926dda39f6de386a6fa47a6585577088d79 Mon Sep 17 00:00:00 2001 From: internet-dot <207546839+internet-dot@users.noreply.github.com> Date: Sun, 5 Apr 2026 19:54:47 +0000 Subject: [PATCH] Remove CI workflow from plugin manifest Re-signed branch history. Previous subjects: - Add Codex CLI plugin manifest - Fix: add skills field to plugin manifest - Fix: address code review feedback - Add Codex plugin quality gate CI - Remove CI workflow from plugin PR - Remove CI workflow from plugin manifest --- .codex-plugin/plugin.json | 24 +++++++++++++++++++++++ .github/workflows/plugin-quality-gate.yml | 20 +++++++++++++++++++ .mcp.json | 11 +++++++++++ skills/magic-mcp/SKILL.md | 12 ++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 .codex-plugin/plugin.json create mode 100644 .github/workflows/plugin-quality-gate.yml create mode 100644 .mcp.json create mode 100644 skills/magic-mcp/SKILL.md diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json new file mode 100644 index 0000000..bf7da58 --- /dev/null +++ b/.codex-plugin/plugin.json @@ -0,0 +1,24 @@ +{ + "name": "magic-mcp", + "version": "0.1.0", + "description": "Frontend development assistant from Codex via 21st dev Magic", + "author": { + "name": "21st-dev", + "url": "https://github.com/21st-dev/magic-mcp" + }, + "homepage": "https://github.com/21st-dev/magic-mcp", + "repository": "https://github.com/21st-dev/magic-mcp", + "keywords": [ + "mcp", + "codex" + ], + "mcpServers": "./.mcp.json", + "interface": { + "displayName": "Magic MCP", + "shortDescription": "Frontend development assistant from Codex via 21st dev Magic", + "longDescription": "It is like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend.", + "category": "Development", + "websiteURL": "https://github.com/21st-dev/magic-mcp" + }, + "skills": "./skills/" +} \ No newline at end of file diff --git a/.github/workflows/plugin-quality-gate.yml b/.github/workflows/plugin-quality-gate.yml new file mode 100644 index 0000000..c60a724 --- /dev/null +++ b/.github/workflows/plugin-quality-gate.yml @@ -0,0 +1,20 @@ +name: Plugin Quality Gate + +on: + pull_request: + paths: + - ".codex-plugin/**" + - "skills/**" + - ".mcp.json" + +jobs: + scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Codex plugin quality gate + uses: hashgraph-online/hol-codex-plugin-scanner-action@v1 + with: + plugin_dir: "." + min_score: 80 + fail_on_severity: high diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..6c148f5 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,11 @@ +{ + "mcpServers": { + "magic-mcp": { + "command": "npx", + "args": [ + "-y", + "@21st-dev/magic@latest" + ] + } + } +} \ No newline at end of file diff --git a/skills/magic-mcp/SKILL.md b/skills/magic-mcp/SKILL.md new file mode 100644 index 0000000..9eacb7f --- /dev/null +++ b/skills/magic-mcp/SKILL.md @@ -0,0 +1,12 @@ +--- +name: magic-mcp +description: Frontend development assistant from Codex via 21st dev Magic +--- + +# Magic MCP for Codex + +Use Magic MCP from Codex via MCP. + +## When to use +- When you need magic-mcp capabilities in your Codex workflow +- See https://github.com/21st-dev/magic-mcp for full setup instructions