ワンクリックで
copilot-studio-sample-review
Review PRs for Microsoft Copilot Studio samples (mcs-* folders) in pnp/copilot-pro-dev-samples.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review PRs for Microsoft Copilot Studio samples (mcs-* folders) in pnp/copilot-pro-dev-samples.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | copilot-studio-sample-review |
| description | Review PRs for Microsoft Copilot Studio samples (mcs-* folders) in pnp/copilot-pro-dev-samples. |
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").
gh pr checkout <number>mcs-samples/mcs-*README.md, assets/, src/assets/sample.json exists and includes correct sample folder references.zip exports are committed under samples/mcs-* (e.g., samples/mcs-example/export.zip). Extracted source files are required, whether the contributor used pac solution clone or the VS Code clone method./templates/mcs-copilot-studio/README.mdpac solution clone)assets/sample.json name uses pnp-copilot-pro-dev-<sample-folder>url and downloadUrl target the correct samples/mcs-* pathGitHub 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:
gh pr view <PR> --json headRefOid
Create review.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., .zip files in samples/mcs-*/, missing required mcs-* structure, or incorrect sample metadata paths)COMMENT: non-blocking feedback (e.g., small README wording/template improvements)APPROVE: checks passSubmit:
gh api repos/pnp/copilot-pro-dev-samples/pulls/<PR>/reviews --method POST --input review.json