Skip to content

Commit 75fdefe

Browse files
feat: add PSModule process marketplace
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 8927592 commit 75fdefe

6 files changed

Lines changed: 69 additions & 2 deletions

File tree

.github/plugin/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# PSModule process marketplace
2+
3+
This repository is a GitHub Copilot CLI plugin marketplace. The marketplace
4+
and its `psmodule-process` plugin are versioned **1.0.0**.
5+
6+
## Install
7+
8+
Add the marketplace and install the plugin:
9+
10+
```console
11+
copilot plugin marketplace add PSModule/Process-PSModule
12+
copilot plugin install psmodule-process
13+
```
14+
15+
The plugin provides the
16+
[`pester-migration`](./plugins/psmodule-process/skills/pester-migration/SKILL.md)
17+
skill for migrating every Pester test set in a PSModule repository to Pester
18+
6.1.0. Verify the installation with:
19+
20+
```console
21+
copilot plugin list
22+
/skills list
23+
```
24+
25+
The marketplace manifest is
26+
[`marketplace.json`](./marketplace.json); plugin metadata is in
27+
[`plugin.json`](./plugins/psmodule-process/plugin.json).

.github/plugin/marketplace.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "psmodule-process",
3+
"owner": {
4+
"name": "PSModule"
5+
},
6+
"metadata": {
7+
"description": "Plugins for building, testing, documenting, and publishing PowerShell modules with the PSModule process.",
8+
"version": "1.0.0"
9+
},
10+
"plugins": [
11+
{
12+
"name": "psmodule-process",
13+
"description": "PSModule process guidance and reusable skills for PowerShell module repositories.",
14+
"version": "1.0.0",
15+
"source": "./plugins/psmodule-process"
16+
}
17+
]
18+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "psmodule-process",
3+
"description": "PSModule process guidance and reusable skills for PowerShell module repositories.",
4+
"version": "1.0.0",
5+
"author": {
6+
"name": "PSModule",
7+
"url": "https://github.com/PSModule"
8+
},
9+
"repository": "https://github.com/PSModule/Process-PSModule",
10+
"license": "MIT",
11+
"keywords": [
12+
"powershell",
13+
"psmodule",
14+
"pester",
15+
"testing",
16+
"github-actions"
17+
],
18+
"skills": "skills/"
19+
}

skills/pester-migration/SKILL.md renamed to .github/plugin/plugins/psmodule-process/skills/pester-migration/SKILL.md

File renamed without changes.

docs/content/guides/pester-migration.md

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

66
# Migrating Pester tests
77

8-
Use the reusable [`pester-migration`](https://github.com/PSModule/Process-PSModule/tree/main/skills/pester-migration/SKILL.md)
9-
agent skill to migrate every Pester test set in a PSModule repository. It is
8+
Install the version 1.0.0 [`psmodule-process` marketplace
9+
plugin](https://github.com/PSModule/Process-PSModule/tree/main/.github/plugin/marketplace.json)
10+
and use its reusable `pester-migration` agent skill to migrate every Pester test
11+
set in a PSModule repository. It is
1012
written for Pester **6.1.0** and distinguishes required compatibility changes
1113
from optional v6 modernization.
1214

docs/content/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +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 marketplace](https://github.com/PSModule/Process-PSModule/tree/main/.github/plugin) | Install the version 1.0.0 Copilot CLI plugin and its reusable skills. |
4445
| [Skipping framework tests](guides/skipping-framework-tests.md) | Skip individual framework tests on a per-file basis. |
4546
| [Versioning and releases](guides/versioning-and-releases.md) | Label-driven versioning, prereleases, and what a release produces. |
4647
| [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)