<< All versions
Skill v1.0.1
currentAutomated scan100/100pnp/copilot-pro-dev-samples/copilot-studio-sample-review
+2 new
──Details
PublishedJuly 28, 2026 at 09:32 PM
Content Hashsha256:3b017417098c91a9...
Git SHAb5c9a1a53c89
Bump Typepatch
──Files
Files (1 file, 2.5 KB)
SKILL.md2.5 KBactive
SKILL.md · 76 lines · 2.5 KB
version: "1.0.1" name: copilot-studio-sample-review description: Review PRs for Microsoft Copilot Studio samples (mcs-* folders) in pnp/copilot-pro-dev-samples.
Copilot Studio Sample Review
Review Copilot Studio sample PRs (folders starting with mcs-) for compliance with repo guidelines. Use when a request asks to review an mcs-* sample PR (e.g., "review PR" or "review this sample").
Workflow
- Checkout PR:
gh pr checkout <number> - Verify sample folder starts with
mcs- - Run checks below, collecting comments (file, line, issue)
- Submit all comments in single API call (GitHub limitation)
Checks
1. Folder and file structure
- Sample is under
samples/mcs-* - Required top-level files/folders are present:
README.md,assets/,src/ assets/sample.jsonexists and includes correct sample folder references
2. No packaged exports
- Request changes if any packaged
.zipexports are committed undersamples/mcs-*(e.g.,samples/mcs-example/export.zip). Extracted source files are required, whether the contributor usedpac solution cloneor the VS Code clone method. - Copilot Studio exports must be committed as extracted source files only
3. README and template alignment
- README is based on
/templates/mcs-copilot-studio/README.md - Setup steps include one of the supported contributor flows:
- Solution export via Power Platform CLI (
pac solution clone) - Copilot Studio Visual Studio Code clone method
4. Metadata consistency
assets/sample.jsonnameusespnp-copilot-pro-dev-<sample-folder>urlanddownloadUrltarget the correctsamples/mcs-*path- Author information and thumbnail paths match repository conventions
Submitting Reviews
GitHub API does not support adding comments to a review after it has been created. Collect all comments first and submit them in one API call.
Get commit SHA:
bash
gh pr view <PR> --json headRefOid
Create review.json:
json
{"commit_id": "<sha>","event": "<REQUEST_CHANGES|COMMENT|APPROVE>","body": "Summary message","comments": [{"path": "file/path", "line": 10, "body": "Issue description"}]}
Use the review event type based on findings:
REQUEST_CHANGES: blocking issues (e.g.,.zipfiles insamples/mcs-*/, missing requiredmcs-*structure, or incorrect sample metadata paths)COMMENT: non-blocking feedback (e.g., small README wording/template improvements)APPROVE: checks pass
Submit:
bash
gh api repos/pnp/copilot-pro-dev-samples/pulls/<PR>/reviews --method POST --input review.json