Index of every page on this site: llms.txt
All skills
microsoft avatar

/skill-reviewer

@147c081 official
Run it yourself

Review skill PRs with structured severity-rated feedback covering token budgets, routing conflicts, and repo conventions. WHEN: "review skill", "review skill PR", "review skill changes", "check skill quality", "skill PR feedback".

Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/skill-reviewer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesrouting-analysis.md

≈856 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Routing Analysis

Skill routing depends on the TriggerMatcher. It extracts keywords from a skill's name and description, may add Azure service keywords when those services appear anywhere in the SKILL.md body content, and fires when a user prompt matches ≥2 keywords or ≥20% keyword confidence. This makes trigger phrase specificity critical.

How TriggerMatcher Works

  1. Extracts words with ≥3 characters from skill name and words with ≥4 characters from description, plus the word ai
  2. Adds Azure service keywords when those services appear anywhere in the SKILL.md body content (not just name/description)
  3. Matches are substring-based against the user prompt
  4. Triggers if: ≥2 keyword matches OR ≥20% of keywords match (matchedKeywords.length / keywords.length)

Conflict Detection Steps

For each trigger phrase in the new/modified skill:

  1. Load existing skills — Read tests/skills.json for the full skill list
  2. Compare keyword sources — Check overlaps from skill names, descriptions, and content-derived Azure service keywords
  3. Flag conflicts where the new skill's trigger phrases appear in another skill's description

Common Conflict Patterns

Pattern Risk Example
Generic action + Azure service High "deploy to Azure Container Apps" conflicts with azure-prepare
Migration without source qualifier High "migrate from GCP" conflicts with azure-cloud-migrate
Generic "create" or "build" phrases Medium "create API" conflicts with azure-prepare
Overlapping modernize language Medium "modernize application" owned by azure-prepare

Resolution Strategies

1. Scope trigger phrases to skill-specific domain

# Bad — too generic
WHEN: "migrate from GCP", "assess Google Cloud migration"

# Good — domain-specific
WHEN: "migrate Cloud Run to Container Apps", "convert Cloud Run services to ACA"

2. Add DO NOT USE FOR when disambiguation-critical

Only when a specialized skill shares triggers with a broader skill:

description: "... DO NOT USE FOR: general GCP-to-Azure migration (use azure-cloud-migrate), new Container Apps without migration (use azure-prepare)."

3. Verify with integration tests

After changes, run:

cd tests && npm run test:vally -- --plugin {plugin-dirname} --skill {skill-name}

Known Broad Skills (High Overlap Risk)

These skills own many generic phrases. New skills must avoid conflicting with them:

Skill Owns These Phrases
azure-prepare create app, build web app, create API, deploy to Azure *, modernize, host on Azure, generate Bicep/Terraform
azure-cloud-migrate migrate from AWS/GCP, cross-cloud migration, migration readiness
azure-deploy run azd up/deploy, execute deployment, push to production, ship it
azure-diagnostics debug, troubleshoot, analyze logs, root cause
cost-analysis historical spend, cost breakdowns, anomalies, AKS or AI costs
cost-estimation forecasts, planned-resource pricing, retail or negotiated prices
cost-optimization rightsizing, waste, Reservations, Savings Plans
cost-governance budgets, alerts, cost tags, SKU or region guardrails

Check the new skill's triggers against this table. Any overlap must be scoped more specifically or use a DO NOT USE FOR clause.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo4 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill acts as a code reviewer for skill-related pull requests, utilizing both manual checklists and local repository scripts. While functional and following standard developer workflows, its primary security consideration is the potential for indirect prompt injection from the external files it is tasked with reviewing.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 147c081. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated last month
metadata
{
  "author": "Microsoft",
  "version": "1.0.4"
}
  • skill-review
  • code-review
  • github
  • pr
  • quality-assurance
  • routing
  • token-budget
  • conventions

README badge

README badge for microsoft/github-copilot-for-azure/skill-reviewer

Reviews skill PRs for token budget compliance, routing conflicts, missing required sections, and adherence to repo conventions. Targets skills in `plugin/skills/` or `.github/skills/` directories and outputs severity-classified findings with actionable fixes.

Generated from the current SKILL.md.

What does this skill review?
It reviews pull requests that add or modify skills in `plugin/skills/` or `.github/skills/` directories, checking for token budget compliance, routing conflicts, required sections, and adherence to repo conventions.
Does this skill apply to both plugin skills and meta-skills?
Yes, but with caveats. Checklist sections 8-9 apply only to `plugin/skills/` service skills, not to `.github/skills/` meta-skills, which have different conventions.
What output format does the review produce?
Severity-classified findings with actionable fixes, positive acknowledgment, and a summary table, following the structured output format defined in the skill's references.
Does this skill handle token counting if unavailable?
Yes. If token counting is unavailable, it estimates at approximately 4 characters per token.

Generated from the current SKILL.md. These answers refresh after source changes.