Microsoft Store Publisher

Microsoft Store Publisher

Guides an agent through preparing, validating, submitting and monitoring a Windows desktop app in Microsoft Partner Center, with safeguards that require user confirmation for binding actions.

Skill files13 files

references/

scripts/

templates/

SKILL.md377 lines
1
---
2
name: "microsoft-store-publisher"
3
description: "Prepare, validate, submit, and monitor Windows desktop apps in Microsoft Partner Center. Use for MSIX packaging, Store identity, listings, WACK, Partner Center automation, certification, and publishing."
4
---
5
6
# Microsoft Store Publisher
7
8
Use this skill when the user wants to publish a Windows application to the
9
Microsoft Store, create or validate an MSIX, complete a Partner Center
10
submission, respond to certification findings, or monitor publishing status.
11
12
This skill is for Windows desktop applications, including packaged classic
13
Win32 apps that use `runFullTrust`. It is based on a successful end-to-end
14
submission using Partner Center, an unsigned Store MSIX, the Windows App
15
Certification Kit, and browser automation against Partner Center's current web
16
components.
17
18
## Required safeguards
19
20
Treat Partner Center as a production publishing system.
21
22
1. Never accept the Microsoft Application Developer Agreement or another
23
binding agreement without fresh, action-specific user confirmation.
24
2. Never press **Submit for certification** without fresh, action-specific user
25
confirmation after every section is complete and the final package is
26
validated.
27
3. Never cancel certification, delete a submission, change pricing, change
28
market availability, publish manually, or send Partner Center feedback
29
without confirmation for that exact action.
30
4. Never enter, retrieve, print, save, or expose passwords, passkeys, tokens,
31
recovery codes, MFA codes, or payment information. Let the user complete
32
credential and operating-system authentication prompts.
33
5. Do not use the user's everyday browser profile for automation. Use a
34
dedicated persistent profile and let the user authenticate interactively.
35
6. Do not infer legal, trademark, patent, privacy, export-control, or
36
open-source compliance. Identify the concern and state when professional
37
review is prudent.
38
7. Do not claim WACK passed from an exit code alone. Find and read the generated
39
report and verify its overall result.
40
8. Do not upload a package until its identity, publisher, display name,
41
architecture, version, and signing state have been inspected.
42
43
## Files in this skill
44
45
- `references/submission-playbook.md` - complete submission sequence.
46
- `references/msix-checklist.md` - package and manifest requirements.
47
- `references/partner-center-dom.md` - known routes, text, roles, custom
48
elements, selectors, and automation quirks.
49
- `references/worked-example.md` - concrete lessons from a successful
50
full-trust desktop app submission.
51
- `scripts/partner-center-control.mjs` - Playwright controller for a dedicated
52
Edge profile.
53
- `scripts/inspect-msix.ps1` - unpack and inspect an MSIX before upload.
54
- `scripts/invoke-wack.ps1` - run WACK, then find, verify, and save its XML and
55
HTML reports.
56
- `templates/run-full-trust-rationale.md` - restricted-capability explanation.
57
- `templates/certification-notes.md` - tester instructions.
58
- `templates/store-listing.md` - listing content worksheet.
59
- `templates/submission-record.json` - durable identity, package, validation,
60
and certification handoff record.
61
62
Read the relevant reference before performing that phase. Do not rely on
63
remembered Partner Center labels because Microsoft changes the UI.
64
65
## End-to-end workflow
66
67
### 1. Establish scope and readiness
68
69
Collect or determine:
70
71
- Application name and reserved Store product name.
72
- Repository and build command.
73
- Application version and intended MSIX version.
74
- Supported architectures and minimum Windows version.
75
- Whether the app is WinUI, UWP, packaged Win32, Electron, Wails, Tauri, .NET,
76
or another desktop technology.
77
- Native executables, helper processes, services, drivers, startup tasks,
78
protocol handlers, file associations, codecs, and restricted capabilities.
79
- Privacy policy, support URL, website, licensing, notices, and corresponding
80
source obligations.
81
- Real device and network requirements for certification.
82
- The Microsoft account the user wants selected during sign-in.
83
84
Inspect the repository before proposing package changes. Search for existing
85
manifest templates, package scripts, signing scripts, app icons, version
86
sources, privacy documents, third-party notices, and startup behavior.
87
88
### 2. Reserve the product and capture identity
89
90
In Partner Center, reserve an available product name. Avoid trademarked terms
91
in the product name unless the user has a documented right to use them.
92
93
After reservation, capture the exact values under:
94
95
**Product management > Product identity**
96
97
- Store product ID
98
- Package identity name
99
- Publisher ID, usually a `CN=...` value
100
- Publisher display name
101
- Package family name
102
- Reserved product display name
103
- Public Store URL
104
105
Never guess these values. The MSIX must use the Partner Center values exactly.
106
107
### 3. Build the Store package
108
109
Follow `references/msix-checklist.md`.
110
111
Important defaults:
112
113
- A Microsoft Store submission MSIX should be unsigned. Microsoft signs it
114
after certification.
115
- A package distributed outside the Store must be signed with a certificate
116
whose subject exactly matches the manifest publisher.
117
- The fourth version component must be `0` before Store submission because it
118
is reserved for Microsoft.
119
- The first version component must be nonzero.
120
- `Package/Properties/DisplayName` must exactly match a reserved product name.
121
Matching only the application's visual display name is not sufficient.
122
123
Prefer a repeatable build script that:
124
125
1. Validates input versions and identity values.
126
2. Builds or receives the production executable.
127
3. Stages the manifest, executable, assets, licenses, privacy information,
128
notices, and source links.
129
4. Packs with `makeappx.exe`.
130
5. Unpacks the generated MSIX into a verification directory.
131
6. Verifies the unpacked executable hash.
132
7. Emits a JSON receipt with identity values and SHA-256 hashes.
133
134
### 4. Inspect and test the MSIX
135
136
Run:
137
138
```powershell
139
.\scripts\inspect-msix.ps1 `
140
-PackagePath '<path-to-package.msix>' `
141
-ExpectedIdentityName '<Partner Center identity name>' `
142
-ExpectedPublisher '<Partner Center publisher ID>' `
143
-ExpectedDisplayName '<reserved product name>'
144
```
145
146
The script belongs to this skill directory, not necessarily the application
147
repository. Resolve its full path before invoking it.
148
149
Install and exercise the packaged app under real package identity when
150
possible. Test:
151
152
- First launch and upgrade.
153
- Startup tasks and persisted settings.
154
- Helper process launch.
155
- Tray behavior and clean exit.
156
- Network discovery and firewall behavior.
157
- File and registry access under package identity.
158
- Uninstall and data retention behavior.
159
- Restricted capability behavior.
160
161
### 5. Run WACK
162
163
Run:
164
165
```powershell
166
# Run this command from an elevated PowerShell terminal.
167
.\scripts\invoke-wack.ps1 `
168
-PackagePath '<path-to-package.msix>' `
169
-ReportPath '<artifact-directory>\WACK-report.xml'
170
```
171
172
The WACK command-line runner requires elevation. The model must not approve the
173
operating-system authentication prompt for the user.
174
175
WACK accepts a report path only when it ends in `.xml`. Any other extension
176
fails with exit code -1 and `The report output file path should point to a XML
177
file.` Current kits write the XML report to the requested path and an HTML
178
rendering of it to `%LOCALAPPDATA%\Microsoft\AppCertKit\<same base name>.htm`.
179
One earlier run left only an HTML report in that folder and no XML report.
180
181
The script:
182
183
- Always passes WACK an `.xml` path. A `-ReportPath` ending in `.htm` or
184
`.html` names the saved HTML report, and the XML report is saved beside it
185
with the same base name.
186
- Uses the XML report from this run at the requested path, or else the newest
187
WACK report in `%LOCALAPPDATA%\Microsoft\AppCertKit`. It skips files from
188
earlier runs and the unrelated XML files WACK keeps in that folder, and keeps
189
waiting while the report is still an unfinished interim report.
190
- Pairs the HTML report with the XML report by report time, then saves both
191
beside `-ReportPath`.
192
- Reports the XML `OVERALL_RESULT` the way the HTML report shows it: `PASS` is
193
`PASSED`, `FAIL` is `FAILED`, `WARNING` is `PASSED WITH WARNINGS`, and an
194
interim report is `INCOMPLETE`. The HTML result is used only when there is
195
no XML report.
196
- Fails when the result is not `PASSED`, not every test ran, the XML and HTML
197
reports disagree, `appcert.exe` exited with an error, or the report's
198
package identity name or version does not match the package. For a bundle,
199
it warns instead, so check the name and version by hand.
200
- Lists every test that did not pass in `nonPassingTests`, with WACK's
201
messages for it. An HTML-only result leaves this list empty.
202
203
When it finds a report, the script prints a JSON summary, then throws if
204
`passed` is `false`. Do not continue to submission unless `passed` is `true`.
205
`PASSED WITH WARNINGS` is not `PASSED`: fix the tests it names and rerun WACK.
206
Read every entry in `warnings`. Optional test failures do not block Store
207
onboarding, but investigate them.
208
209
Record the result in the submission record: `overallResult` as `wack.result`,
210
`xmlReport` as `wack.reportPath`, `kitVersion` as `wack.kitVersion`, and
211
`reportTime` as `wack.testedAt`. When `resultSource` is `html`, use
212
`htmlReport` as the report path and copy the kit version and report time from
213
the HTML report's header.
214
215
To parse and verify an existing report without running WACK again:
216
217
```powershell
218
.\scripts\invoke-wack.ps1 `
219
-PackagePath '<path-to-package.msix>' `
220
-ReportPath '<artifact-directory>\verified-WACK-report.xml' `
221
-ExistingReportPath '<existing-WACK-report.xml>'
222
```
223
224
Pass an `.htm` report only when no XML report exists. Given an XML report, the
225
script looks for the HTML report with the same base name, beside it or in
226
`%LOCALAPPDATA%\Microsoft\AppCertKit`, and uses it when the report times
227
match. Given an HTML report, it uses the XML report beside it when the two
228
match.
229
230
### 6. Automate Partner Center carefully
231
232
Prefer app-native browser or computer-use tools when they can inspect and act
233
on the page reliably. Use `scripts/partner-center-control.mjs` as a fallback
234
when Partner Center web components or file uploads are unreliable.
235
236
Setup:
237
238
```powershell
239
Set-Location '<skill-directory>\scripts'
240
npm install
241
$env:PARTNER_CENTER_PROFILE = '<dedicated-profile-directory>'
242
node .\partner-center-control.mjs launch
243
```
244
245
Run `launch` as an attached background process. The user completes Microsoft
246
authentication in the dedicated Edge window. In a separate command process,
247
use read-only commands such as:
248
249
```powershell
250
node .\partner-center-control.mjs status
251
node .\partner-center-control.mjs pages
252
node .\partner-center-control.mjs text
253
node .\partner-center-control.mjs anchors
254
node .\partner-center-control.mjs overview-state
255
node .\partner-center-control.mjs agreement-state
256
node .\partner-center-control.mjs button-state "Submit for certification"
257
```
258
259
State-changing controller commands require:
260
261
```powershell
262
$env:PARTNER_CENTER_ALLOW_WRITE = '1'
263
```
264
265
Set it only after the user has authorized the exact action. Remove it after the
266
action so later commands fail closed.
267
268
Read `references/partner-center-dom.md` before using selectors.
269
270
### 7. Complete every submission section
271
272
Read `references/submission-playbook.md`. Typical sections are:
273
274
- Pricing and availability
275
- Properties
276
- Age ratings
277
- Packages
278
- Store listings
279
- Submission options
280
- Additional Testing Information
281
282
After saving each section, reload it and verify persistence. Partner Center can
283
temporarily omit completion states while its APIs are still loading. Wait and
284
reload before deciding a section is incomplete.
285
286
Do not make unsupported marketing or accessibility claims. Use genuine app
287
screenshots. Describe network, hardware, account, and protected-content
288
limitations plainly.
289
290
For `runFullTrust`, explain the exact native functionality, helper processes,
291
Windows APIs, startup integration, and why a sandboxed app model is
292
insufficient. State whether the app uses elevation, services, drivers,
293
system-wide settings, or a cloud backend.
294
295
### 8. Final readiness review
296
297
Before asking for submission approval, verify:
298
299
- Every Partner Center section says **Complete**.
300
- The package says **Validated**.
301
- `invoke-wack.ps1` reported `passed: true` for the final package: the WACK
302
overall result is **PASSED**, and the report's identity name and version
303
match the package.
304
- Package identity and display name match Partner Center.
305
- Package is unsigned for Store submission.
306
- Privacy, support, website, license, and notices are reachable.
307
- Certification notes are saved and include reproducible test instructions.
308
- Restricted capabilities have explanations.
309
- Publishing timing is what the user intends.
310
- No known blocker is being hidden.
311
312
### 9. Agreement acceptance
313
314
If Partner Center displays an updated agreement:
315
316
1. Open the agreements page and identify the exact agreement name and version.
317
2. Tell the user it is a binding legal agreement governing the developer
318
account and Store submissions.
319
3. Ask for explicit approval to accept that exact version.
320
4. Reinspect the page after approval.
321
5. Accept only the intended row once.
322
6. Verify the status changed from `Not Accepted` to an acceptance date.
323
324
Do not reuse approval from another agreement or earlier action.
325
326
### 10. Submit for certification
327
328
When the button is enabled:
329
330
1. State that submission sends the product to Microsoft certification and
331
whether it will publish automatically if approved.
332
2. Ask for explicit approval to press **Submit for certification**.
333
3. Reinspect the button after approval.
334
4. Click it once.
335
5. Do not submit the optional feedback survey without separate approval.
336
6. Verify the overview says **In certification** and shows the certification
337
pipeline.
338
339
### 11. Monitor and respond
340
341
Certification commonly completes within a few hours but can take several
342
business days. Monitor:
343
344
- Submission
345
- Pre-processing
346
- Certification
347
- Publishing
348
349
If certification fails, quote the finding exactly, map it to the package,
350
listing, policy, or test behavior, make the smallest complete correction,
351
rebuild with a higher package version when required, rerun inspection and
352
WACK, and obtain fresh submission approval.
353
354
If the product is approved, verify the public Store URL from an unauthenticated
355
context. Do not claim it is live solely because Partner Center says
356
publishing completed.
357
358
## Output standard
359
360
Report concrete state:
361
362
- Product ID and reserved name.
363
- Package path, package version, architecture, signing state, and SHA-256.
364
- WACK result and report path.
365
- Completed Partner Center sections.
366
- Agreement name and acceptance state.
367
- Certification pipeline stage.
368
- Exact blockers and next action.
369
370
Never report a mutation as complete unless the resulting state was read back
371
from Partner Center or the generated artifact was inspected.
372
373
For long-running submissions, copy `templates/submission-record.json` into a
374
session artifact directory and update it after each meaningful state change.
375
Do not commit account identifiers, private URLs, credentials, or browser
376
profile data into the application repository.
377

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…