From b6d58f0116ccc933202dcc59e8fc0c452379fa1c Mon Sep 17 00:00:00 2001 From: Abhitej John Date: Thu, 4 Jun 2026 15:03:44 -0700 Subject: [PATCH] Add .codex-plugin/plugin.json manifests for Codex CLI plugin install The Codex CLI requires .codex-plugin/plugin.json as the plugin manifest entry point. Without it, 'codex plugin add' fails with 'missing plugin.json' even though the marketplace listing works. This adds .codex-plugin/plugin.json to all 14 plugin directories, with paths relative to the plugin root per the Codex docs. Also updates the agents marketplace to use dotnet-aspnetcore (per #711 rename) and adds missing dotnet-blazor and dotnet11 entries. Fixes #578 Fixes #724 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .agents/plugins/marketplace.json | 14 ++++++++-- plugins/dotnet-ai/.codex-plugin/plugin.json | 6 +++++ .../.codex-plugin/plugin.json | 6 +++++ .../dotnet-blazor/.codex-plugin/plugin.json | 6 +++++ plugins/dotnet-data/.codex-plugin/plugin.json | 6 +++++ plugins/dotnet-diag/.codex-plugin/plugin.json | 7 +++++ .../.codex-plugin/plugin.json | 6 +++++ plugins/dotnet-maui/.codex-plugin/plugin.json | 6 +++++ .../dotnet-msbuild/.codex-plugin/plugin.json | 26 +++++++++++++++++++ .../dotnet-nuget/.codex-plugin/plugin.json | 6 +++++ .../.codex-plugin/plugin.json | 7 +++++ plugins/dotnet-test/.codex-plugin/plugin.json | 19 ++++++++++++++ .../dotnet-upgrade/.codex-plugin/plugin.json | 6 +++++ plugins/dotnet/.codex-plugin/plugin.json | 7 +++++ plugins/dotnet11/.codex-plugin/plugin.json | 6 +++++ 15 files changed, 132 insertions(+), 2 deletions(-) create mode 100644 plugins/dotnet-ai/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-aspnetcore/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-blazor/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-data/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-diag/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-experimental/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-maui/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-msbuild/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-nuget/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-template-engine/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-test/.codex-plugin/plugin.json create mode 100644 plugins/dotnet-upgrade/.codex-plugin/plugin.json create mode 100644 plugins/dotnet/.codex-plugin/plugin.json create mode 100644 plugins/dotnet11/.codex-plugin/plugin.json diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index e69e40b798..71cc2c65ec 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -58,9 +58,19 @@ "description": "Skills for running, diagnosing, and migrating .NET tests: test execution, filtering, platform detection, and MSTest workflows." }, { - "name": "dotnet-aspnet", - "source": "./plugins/dotnet-aspnet", + "name": "dotnet-aspnetcore", + "source": "./plugins/dotnet-aspnetcore", "description": "ASP.NET Core web development skills including middleware, endpoints, real-time communication, and API patterns." + }, + { + "name": "dotnet-blazor", + "source": "./plugins/dotnet-blazor", + "description": "Skills for Blazor development: component authoring, interactivity, and web application patterns." + }, + { + "name": "dotnet11", + "source": "./plugins/dotnet11", + "description": "Skills for new .NET 11 APIs and language features." } ] } diff --git a/plugins/dotnet-ai/.codex-plugin/plugin.json b/plugins/dotnet-ai/.codex-plugin/plugin.json new file mode 100644 index 0000000000..20fbc8bec8 --- /dev/null +++ b/plugins/dotnet-ai/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-ai", + "version": "0.1.0", + "description": "AI and ML skills for .NET: technology selection, LLM integration, agentic workflows, RAG pipelines, MCP, and classic ML with ML.NET.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-aspnetcore/.codex-plugin/plugin.json b/plugins/dotnet-aspnetcore/.codex-plugin/plugin.json new file mode 100644 index 0000000000..14ed9b1d76 --- /dev/null +++ b/plugins/dotnet-aspnetcore/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-aspnetcore", + "version": "0.1.0", + "description": "ASP.NET Core web development skills including middleware, endpoints, real-time communication, and API patterns.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-blazor/.codex-plugin/plugin.json b/plugins/dotnet-blazor/.codex-plugin/plugin.json new file mode 100644 index 0000000000..1c0691c890 --- /dev/null +++ b/plugins/dotnet-blazor/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-blazor", + "version": "0.1.0", + "description": "Skills for Blazor development: component authoring, interactivity, and web application patterns.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-data/.codex-plugin/plugin.json b/plugins/dotnet-data/.codex-plugin/plugin.json new file mode 100644 index 0000000000..5fef08c1a6 --- /dev/null +++ b/plugins/dotnet-data/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-data", + "version": "0.1.0", + "description": "Skills for .NET data access and Entity Framework related tasks.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-diag/.codex-plugin/plugin.json b/plugins/dotnet-diag/.codex-plugin/plugin.json new file mode 100644 index 0000000000..8ae429331b --- /dev/null +++ b/plugins/dotnet-diag/.codex-plugin/plugin.json @@ -0,0 +1,7 @@ +{ + "name": "dotnet-diag", + "version": "0.1.0", + "description": "Skills for .NET performance investigations, debugging, and incident analysis.", + "skills": ["./skills/"], + "agents": ["./agents/optimizing-dotnet-performance.agent.md"] +} diff --git a/plugins/dotnet-experimental/.codex-plugin/plugin.json b/plugins/dotnet-experimental/.codex-plugin/plugin.json new file mode 100644 index 0000000000..8448b0b4bd --- /dev/null +++ b/plugins/dotnet-experimental/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-experimental", + "version": "0.1.0", + "description": "Experimental skills under active evaluation that may change or graduate to stable plugins.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-maui/.codex-plugin/plugin.json b/plugins/dotnet-maui/.codex-plugin/plugin.json new file mode 100644 index 0000000000..859a01b509 --- /dev/null +++ b/plugins/dotnet-maui/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-maui", + "version": "0.1.0", + "description": "Skills for .NET MAUI development: environment setup, diagnostics, troubleshooting, navigation, data binding, dependency injection, layout, and theming.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-msbuild/.codex-plugin/plugin.json b/plugins/dotnet-msbuild/.codex-plugin/plugin.json new file mode 100644 index 0000000000..1d82628530 --- /dev/null +++ b/plugins/dotnet-msbuild/.codex-plugin/plugin.json @@ -0,0 +1,26 @@ +{ + "name": "dotnet-msbuild", + "version": "0.1.0", + "description": "Comprehensive MSBuild and .NET build skills: failure diagnosis, performance optimization, code quality, and modernization.", + "skills": ["./skills/"], + "agents": [ + "./agents/build-perf.agent.md", + "./agents/msbuild-code-review.agent.md", + "./agents/msbuild.agent.md" + ], + "mcpServers": { + "binlog": { + "type": "stdio", + "command": "dotnet", + "args": [ + "dnx", + "Microsoft.AITools.BinlogMcp", + "--yes", + "--prerelease", + "--add-source", + "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" + ], + "tools": ["*"] + } + } +} diff --git a/plugins/dotnet-nuget/.codex-plugin/plugin.json b/plugins/dotnet-nuget/.codex-plugin/plugin.json new file mode 100644 index 0000000000..11b45202c2 --- /dev/null +++ b/plugins/dotnet-nuget/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-nuget", + "version": "0.1.0", + "description": "NuGet and .NET package management skills: dependency management and modernization.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet-template-engine/.codex-plugin/plugin.json b/plugins/dotnet-template-engine/.codex-plugin/plugin.json new file mode 100644 index 0000000000..6bfa099d85 --- /dev/null +++ b/plugins/dotnet-template-engine/.codex-plugin/plugin.json @@ -0,0 +1,7 @@ +{ + "name": "dotnet-template-engine", + "version": "0.1.0", + "description": ".NET Template Engine skills for dotnet new: create projects (console app, class library, web API, Blazor, MAUI), discover and search templates, inspect template parameters and frameworks (net8.0, net9.0, net10.0), scaffold solutions, author and validate custom templates, install template packages from NuGet.", + "skills": ["./skills/"], + "agents": ["./agents/template-engine.agent.md"] +} diff --git a/plugins/dotnet-test/.codex-plugin/plugin.json b/plugins/dotnet-test/.codex-plugin/plugin.json new file mode 100644 index 0000000000..ee96d9df3b --- /dev/null +++ b/plugins/dotnet-test/.codex-plugin/plugin.json @@ -0,0 +1,19 @@ +{ + "name": "dotnet-test", + "version": "0.1.0", + "description": "Skills for running, diagnosing, and migrating .NET tests: test execution, filtering, platform detection, and MSTest workflows.", + "skills": ["./skills/"], + "agents": [ + "./agents/code-testing-generator.agent.md", + "./agents/code-testing-researcher.agent.md", + "./agents/code-testing-planner.agent.md", + "./agents/code-testing-implementer.agent.md", + "./agents/code-testing-builder.agent.md", + "./agents/code-testing-tester.agent.md", + "./agents/code-testing-fixer.agent.md", + "./agents/code-testing-linter.agent.md", + "./agents/testability-migration.agent.md", + "./agents/test-quality-auditor.agent.md", + "./agents/test-migration.agent.md" + ] +} diff --git a/plugins/dotnet-upgrade/.codex-plugin/plugin.json b/plugins/dotnet-upgrade/.codex-plugin/plugin.json new file mode 100644 index 0000000000..0f3bc203bd --- /dev/null +++ b/plugins/dotnet-upgrade/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet-upgrade", + "version": "0.1.0", + "description": "Skills for migrating and upgrading .NET projects across framework versions, language features, and compatibility targets.", + "skills": ["./skills/"] +} diff --git a/plugins/dotnet/.codex-plugin/plugin.json b/plugins/dotnet/.codex-plugin/plugin.json new file mode 100644 index 0000000000..c657ad54f2 --- /dev/null +++ b/plugins/dotnet/.codex-plugin/plugin.json @@ -0,0 +1,7 @@ +{ + "name": "dotnet", + "version": "0.1.0", + "description": "Common everyday C#/.NET coding skills. Expected to be useful to all .NET developers.", + "skills": ["./skills/"], + "lspServers": "./lsp.json" +} diff --git a/plugins/dotnet11/.codex-plugin/plugin.json b/plugins/dotnet11/.codex-plugin/plugin.json new file mode 100644 index 0000000000..042c95447a --- /dev/null +++ b/plugins/dotnet11/.codex-plugin/plugin.json @@ -0,0 +1,6 @@ +{ + "name": "dotnet11", + "version": "0.1.0", + "description": "Skills for .NET 11 APIs and language features.", + "skills": ["./skills/"] +}