Msstore-Cli
Msstore-Cli是一款code方向的AI技能,核心价值是Microsoft Store Developer CLI (msstore) for publishing Windows applications to the Microsoft Store,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。
Microsoft Store Developer CLI (msstore) for publishing Windows applications to the Microsoft Store. Use when asked to configure Store credentials, list Store apps, check submission status, publish sub
mkdir -p ./skills/msstore-cli && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/msstore-cli/SKILL.md -o ./skills/msstore-cli/SKILL.md Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).
Skill Content
# Microsoft Store Developer CLI (msstore)
The Microsoft Store Developer CLI (`msstore`) is a cross-platform command-line interface for publishing and managing applications in the Microsoft Store. It integrates with Partner Center APIs and supports automated publishing workflows for various application types.
When to Use This Skill
Use this skill when you need to:
- Configure Store credentials for API access
- List applications in your Store account
- Check the status of a submission
- Publish submissions to the Store
- Package applications for Store submission
- Initialize projects for Store publishing
- Manage package flights (beta testing)
- Set up CI/CD pipelines for automated Store publishing
- Manage gradual rollouts of submissions
- Update submission metadata programmatically
Prerequisites
- Windows 10+, macOS, or Linux
- .NET 9 Desktop Runtime (Windows) or .NET 9 Runtime (macOS/Linux)
- Partner Center account with appropriate permissions
- Azure AD app registration with Partner Center API access
- msstore CLI installed via one of these methods:
- **Microsoft Store**: [Download](https://www.microsoft.com/store/apps/9P53PC5S0PHJ)
- **WinGet**: `winget install "Microsoft Store Developer CLI"`
- **Manual**: Download from [GitHub Releases](https://aka.ms/msstoredevcli/releases)
Partner Center Setup
Before using msstore, you need to create an Azure AD application with Partner Center access:
1. Go to [Partner Center](https://partner.microsoft.com/dashboard)
2. Navigate to **Account settings** > **User management** > **Azure AD applications**
3. Create a new application and note the **Tenant ID**, **Client ID**, and **Client Secret**
4. Grant the application appropriate permissions (Manager or Developer role)
Core Commands Reference
info - Print Configuration
Display the current credential configuration.
msstore info**Options:**
| Option | Description |
| ------ | ----------- |
| `-v, --verbose` | Print verbose output |
reconfigure - Configure Credentials
Configure or update Microsoft Store API credentials.
msstore reconfigure [options]**Options:**
| Option | Description |
| ------ | ----------- |
| `-t, --tenantId` | Azure AD Tenant ID |
| `-s, --sellerId` | Partner Center Seller ID |
| `-c, --clientId` | Azure AD Application Client ID |
| `-cs, --clientSecret` | Client Secret for authentication |
| `-ct, --certificateThumbprint` | Certificate thumbprint (alternative to client secret) |
| `-cfp, --certificateFilePath` | Certificate file path (alternative to client secret) |
| `-cp, --certificatePassword` | Certificate password |
| `--reset` | Reset credentials without full reconfiguration |
**Examples:**
# Configure with client secret
msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --clientSecret $CLIENT_SECRET
# Configure with certificate
msstore reconfigure --tenantId $TENANT_ID --sellerId $SELLER_ID --clientId $CLIENT_ID --certificateFilePath ./cert.pfx --certificatePassword MyPasswordsettings - CLI Settings
Change settings of the Microsoft Store Developer CLI.
msstore settings [options]**Options:**
| Option | Description |
| ------ | ----------- |
| `-t, --enableTelemetry` | Enable (true) or disable (false) telemetry |
#### Set Publisher Display Name
msstore settings setpdn <publisherDisplayName>Sets the default Publisher Display Name for the `init` command.
apps - Application Management
List and retrieve application information.
#### List Applications
msstore apps listLists all applications in your Partner Center account.
#### Get Application Details
msstore apps get <productId>**Arguments:**
| Argument | Description |
| -------- | ----------- |
| `productId` | The Store product ID (e.g., 9NBLGGH4R315) |
**Example:**
# Get details of a specific app
msstore apps get 9NBLGGH4R315submission - Submission M
🎯 Best For
- Claude users
- GitHub Copilot users
- Software engineers
- Development teams
- Tech leads
💡 Use Cases
- Code quality improvement
- Best practice enforcement
📖 How to Use This Skill
- 1
Install the Skill
Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.
- 2
Load into Your AI Assistant
Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.
- 3
Apply Msstore-Cli to Your Work
Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.
- 4
Review and Refine
Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.
❓ Frequently Asked Questions
Is Msstore-Cli compatible with Cursor and VS Code?
Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.
Do I need specific dependencies for Msstore-Cli?
Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.
How do I install Msstore-Cli?
Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/msstore-cli/SKILL.md, ready to use.
Can I customize this skill for my team?
Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.
⚠️ Common Mistakes to Avoid
Skipping validation
Always test AI-generated code changes, even for simple refactors.
Missing dependency updates
Check if the skill requires updated dependencies or new packages.