Skip to content

Commit ab2a135

Browse files
feat: own PSModule plugin marketplace
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 1a3f83c commit ab2a135

4 files changed

Lines changed: 43 additions & 10 deletions

File tree

.github/plugin/README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
# PSModule process plugin
22

3-
This repository hosts the canonical `psmodule-process` GitHub Copilot CLI
4-
plugin. The shared MSXOrg marketplace publishes this plugin alongside the
5-
other initiative plugins.
3+
This repository hosts the `psmodule` GitHub Copilot CLI marketplace and its
4+
`psmodule-process` plugin. The marketplace and plugin are owned and released
5+
with the PSModule process.
6+
7+
## Install through the marketplace
8+
9+
Register this repository's marketplace and install the plugin:
10+
11+
```console
12+
copilot plugin marketplace add https://github.com/PSModule/Process-PSModule.git
13+
copilot plugin install psmodule-process
14+
```
615

716
## Install directly
817

@@ -22,7 +31,6 @@ copilot plugin list
2231
/skills list
2332
```
2433

25-
The shared marketplace is maintained in
26-
[MSXOrg/docs](https://github.com/MSXOrg/docs/tree/main/.github/plugin).
27-
Plugin metadata is in
34+
The marketplace catalog is in [`marketplace.json`](./marketplace.json), and
35+
plugin metadata is in
2836
[`plugin.json`](./plugins/psmodule-process/plugin.json).

.github/plugin/marketplace.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "https://agent-plugins.org/schemas/1.0.0/marketplace.schema.json",
3+
"name": "psmodule",
4+
"owner": {
5+
"name": "PSModule"
6+
},
7+
"metadata": {
8+
"description": "Agent plugins for the PSModule repository process.",
9+
"version": "1.0.0"
10+
},
11+
"plugins": [
12+
{
13+
"name": "psmodule-process",
14+
"description": "PSModule process guidance and reusable skills for PowerShell module repositories.",
15+
"version": "1.0.0",
16+
"source": "plugins/psmodule-process"
17+
}
18+
]
19+
}

docs/content/guides/pester-migration.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ description: A repository-wide checklist for migrating PSModule test sets to Pes
55

66
# Migrating Pester tests
77

8-
Install the `psmodule-process` plugin from the shared
9-
[MSXOrg marketplace](https://github.com/MSXOrg/docs/tree/main/.github/plugin)
10-
and use its reusable `pester-migration` agent skill to migrate every Pester
8+
Register the PSModule initiative marketplace and install its `psmodule-process`
9+
plugin:
10+
11+
```console
12+
copilot plugin marketplace add https://github.com/PSModule/Process-PSModule.git
13+
copilot plugin install psmodule-process
14+
```
15+
16+
Then use its reusable `pester-migration` agent skill to migrate every Pester
1117
test set in a PSModule repository. For direct installation during development,
1218
use `copilot plugin install
1319
PSModule/Process-PSModule:.github/plugin/plugins/psmodule-process`. It is

docs/content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Task-oriented deep dives into the pipeline's functionality.
4141
| [Structuring your module](guides/structuring-your-module.md) | The repository and module source layout the workflow expects, and how to declare dependencies. |
4242
| [Writing module tests](guides/writing-module-tests.md) | Test discovery, setup and teardown phases, and shared test infrastructure. |
4343
| [Migrating Pester tests](guides/pester-migration.md) | A repository-wide checklist for migrating every test set to Pester 6.1.0. |
44-
| [PSModule process plugin](https://github.com/PSModule/Process-PSModule/tree/main/.github/plugin) | Install the plugin directly or through the shared MSXOrg marketplace. |
44+
| [PSModule process marketplace](https://github.com/PSModule/Process-PSModule/tree/main/.github/plugin) | Register the initiative marketplace and install the PSModule process plugin. |
4545
| [Skipping framework tests](guides/skipping-framework-tests.md) | Skip individual framework tests on a per-file basis. |
4646
| [Versioning and releases](guides/versioning-and-releases.md) | Label-driven versioning, prereleases, and what a release produces. |
4747
| [Validating before review](guides/validating-before-review.md) | The PSModule validation pass before a draft pull request is marked ready. |

0 commit comments

Comments
 (0)