copilot-pro-dev-samples: Skill for Claude Code

.github/skills/declarative-agent-sample-review/SKILL.md

declarative-agent-sample-review is a skill for Claude Code, Codex from pnp/copilot-pro-dev-samples. It costs 69 tokens per session (716 once invoked), scanned A, original, MIT.

A review process for declarative agent samples, which are Microsoft 365 Copilot agent projects described by configuration files.

In plain words
What is it for?
It is for reviewing pull requests that add or change folders beginning with da- in the specified sample repository.
Why use it?
It provides checks for required folder names, manifest versions, project settings, and README structure before accepting a sample.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is pnp/copilot-pro-dev-samples's own configuration. It tells Claude Code and Codex how to work on copilot-pro-dev-samples itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-pro-dev-samples configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pnp/copilot-pro-dev-samples. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pnp/copilot-pro-dev-samples/main/.github/skills/declarative-agent-sample-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pnp/copilot-pro-dev-samples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for declarative-agent-sample-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review/github.svg)](https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review)
Your own site
<a href="https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review"><img src="https://agentmods.dev/badge/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for declarative-agent-sample-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review"><img src="https://agentmods.dev/badge/skills/pnp/copilot-pro-dev-samples/declarative-agent-sample-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00716
Opus 5.5 $0.00028 $0.00286
Sonnet 5.5 $0.00014 $0.00143
Haiku 4.5 $0.00007 $0.00072

Measured 2mo ago against content hash 3a93cccd28bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

declarative-agent-sample-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/declarative-agent-sample-review/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Declarative Agent Sample Review

Review declarative agent sample PRs (folders starting with da-) for compliance with repo guidelines.

Workflow

  1. Checkout PR: gh pr checkout <number>
  2. Verify sample folder starts with da-
  3. Run checks below, collecting comments (file, line, issue)
  4. Submit all comments in single API call (GitHub limitation)

Checks

1. Manifest Schema Versions

Fetch latest versions from Microsoft Learn docs (never use other samples as reference):

Manifest File Property Docs
App appPackage/manifest.json manifestVersion learn.microsoft.com/microsoft-365/extensibility/schema
Declarative Agent appPackage/*DeclarativeAgent.json version + $schema learn.microsoft.com/microsoft-365-copilot/extensibility/declarative-agent-manifest
API Plugin appPackage/ai-plugin.json schema_version learn.microsoft.com/microsoft-365-copilot/extensibility/api-plugin-manifest

2. m365agents.yml

  • No projectId - auto-generated on provision, must not be committed
  • Check both m365agents.yml and m365agents.local.yml

3. README.md

Compare against templates/da-declarative-agent/README.md:

  • Contributors section present with actual author names
  • Version history lists real author (not "Microsoft")
  • Tracking image uses markdown format at end of file:
    ![](https://m365-visitor-stats.azurewebsites.net/copilot-pro-dev-samples/<sample-folder>)
    
  • URLs consistent (avoid mixed en-us/ locales in same file)
  • No trailing --- at end

4. assets/sample.json

Compare against templates/sample-template.json:

  • name: pnp-copilot-pro-dev-<sample-folder>
  • url/downloadUrl: correct sample folder path
  • authors: matches actual contributors (verify against PR author)
  • URLs: consistent locale format

Submitting Reviews

GitHub API cannot add comments to pending reviews after creation. Collect all comments first.

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 89 lines · 69 tokens per session scan A 3a93cccd28bd

Subscribe to this mod's changes

declarative-agent-sample-review is a skill published in the GitHub repository pnp/copilot-pro-dev-samples (169 stars, last pushed 24d ago), licensed MIT. It adds 69 tokens to every session and 716 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

github-review-pr

Review GitHub pull requests with detailed, multi-perspective code analysis using parallel subagents. Use this skill whenever the user wants to review a PR, asks for code review on a pull request, mentions "review PR", "check this PR", "look at pull request", or references a PR number or GitHub PR URL. Do NOT use for…

feiskyer/claude-code-settings · 90 tokens

github-review-pr

Review a GitHub pull request by number or URL for evidence-backed defects. Not for reviewing local uncommitted changes.

feiskyer/codex-settings · 28 tokens

code-simplifier

Simplify existing code for clarity and maintainability without changing behavior. Use when asked to clean up or simplify code, especially recent changes.

feiskyer/codex-settings · 32 tokens

code-review

Review pull requests for repository fit, meaningful value, trustworthy provenance, differentiation, and maintainability in awesome-copilot.

github/awesome-copilot · 27 tokens

sage-review

Deep, platform-neutral code review for PRs and CRs in ONE thorough single pass — design reasoning (Problem Worth Solving & Solution Fit) as one dimension alongside the 9 code-level dimensions, with chain-of-consequences, self-critique, and draft-only comments. The single app-owned source of truth.

kirodotdev/KiroCrew · 68 tokens

learn-from-sage

Detection-gap (miss) analysis for Code Review Sage. Learn from shipped fixes, acted-on human comments, and design outcomes to close reviewer blind spots. Inline during review stages a candidate; a human triggers a one-shot AI consolidation into the live ruleset.

kirodotdev/KiroCrew · 56 tokens