Skip to content

Add agent skills and AGENTS.md file#142

Merged
simonkurtz-MSFT merged 9 commits intomainfrom
agent-skills
Mar 6, 2026
Merged

Add agent skills and AGENTS.md file#142
simonkurtz-MSFT merged 9 commits intomainfrom
agent-skills

Conversation

@vieiraae
Copy link
Copy Markdown
Contributor

@vieiraae vieiraae commented Feb 4, 2026

  • Added skills under .github/skills with skills for bicep, terraform, policies and create other skills.
  • Added comprehensive agent instructions for working with Azure API Management (APIM) Samples.

- Introduced `init_skill.py` for initializing new skills with templates and structure.
- Added `package_skill.py` to create distributable .skill files from skill folders.
- Implemented `quick_validate.py` for basic validation of skill structure and frontmatter.
- Created output patterns and workflow patterns documentation for consistent skill output.
- Added comprehensive agent instructions for working with Azure API Management (APIM) Samples.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

🐍 Python 3.13 Results

Metric Status Value
Ruff 0 issue(s)
Unit Tests success
Code Coverage 📊 100%

Full Workflow Logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

🐍 Python 3.14 Results

Metric Status Value
Ruff 0 issue(s)
Unit Tests success
Code Coverage 📊 100%

Full Workflow Logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

Python 3.14 Detailed Test Results

1 676 tests  ±0   1 676 ✅ ±0   13s ⏱️ -5s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit ed9e68c. ± Comparison against base commit cbff21c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

Python 3.13 Detailed Test Results

1 676 tests  ±0   1 676 ✅ ±0   17s ⏱️ -1s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit ed9e68c. ± Comparison against base commit cbff21c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

🐍 Python 3.12 Results

Metric Status Value
Ruff 0 issue(s)
Unit Tests success
Code Coverage 📊 100%

Full Workflow Logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 4, 2026

Python 3.12 Detailed Test Results

1 676 tests  ±0   1 676 ✅ ±0   18s ⏱️ ±0s
    1 suites ±0       0 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit ed9e68c. ± Comparison against base commit cbff21c.

♻️ This comment has been updated with latest results.

Comment thread .github/skills/skill-creator/scripts/quick_validate.py Fixed
Copilot AI review requested due to automatic review settings March 6, 2026 20:16
@simonkurtz-MSFT simonkurtz-MSFT self-assigned this Mar 6, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds structured agent guidance to the repository by introducing a new AGENTS.md file at the root and five agent skills under .github/skills/. It also applies a consistent URL convention fix across several existing files, removing locale-specific (/en-us/) path segments from Microsoft Learn and MDN links.

Changes:

  • Added AGENTS.md: a comprehensive reference document for AI agents covering repository structure, available skills, Python/Bicep modules, naming conventions, and testing guidance.
  • Added five agent skills under .github/skills/: apim-bicep, apim-policies, apim-terraform, sample-creator, and skill-creator — each providing domain-specific templates, patterns, and step-by-step workflows, along with supporting scripts (init_skill.py, quick_validate.py, package_skill.py) for the skill-creator skill.
  • URL normalization: removed /en-us/ locale segments from Microsoft Learn and MDN links in shared/apim-policies/fragments/pf-remove-request-headers.xml, samples/oauth-3rd-party/main.bicep, samples/azure-maps/main.bicep, SECURITY.md, and README.md. Also added .github/CODEOWNERS.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
AGENTS.md New root-level agent instruction document covering repository structure, skills, modules, and testing
.github/skills/apim-bicep/SKILL.md Skill guide for Bicep APIM templates with patterns and examples
.github/skills/apim-bicep/references/apim-resources.md Detailed Bicep resource reference for APIM
.github/skills/apim-bicep/references/avm-patterns.md Azure Verified Modules usage patterns
.github/skills/apim-bicep/references/mcp-patterns.md MCP server Bicep patterns (contains typo bug)
.github/skills/apim-policies/SKILL.md Skill guide for APIM XML policy authoring
.github/skills/apim-policies/references/policy-reference.md Complete APIM policy reference
.github/skills/apim-policies/references/policy-expressions.md C# policy expression reference
.github/skills/apim-policies/references/ai-gateway-examples.md AI Gateway policy examples
.github/skills/apim-terraform/SKILL.md Skill guide for Terraform APIM configurations
.github/skills/apim-terraform/references/apim-resources.md Terraform APIM resource reference
.github/skills/apim-terraform/references/ai-gateway-patterns.md AI Gateway Terraform patterns
.github/skills/sample-creator/SKILL.md Skill guide for creating new APIM samples
.github/skills/skill-creator/SKILL.md Skill guide for creating new skills (contains spelling error)
.github/skills/skill-creator/scripts/init_skill.py Skill directory initializer script (contains encoding and doc inconsistency issues)
.github/skills/skill-creator/scripts/quick_validate.py Skill validation script
.github/skills/skill-creator/scripts/package_skill.py Skill packaging script
.github/skills/skill-creator/references/workflows.md Workflow pattern reference
.github/skills/skill-creator/references/output-patterns.md Output pattern reference
.github/skills/skill-creator/LICENSE.txt Apache 2.0 license for skill-creator
.github/CODEOWNERS New CODEOWNERS file assigning default reviewers
shared/apim-policies/fragments/pf-remove-request-headers.xml Removed /en-us/ from MDN URL
samples/oauth-3rd-party/main.bicep Removed /en-us/ from MS Learn comment URLs
samples/azure-maps/main.bicep Removed /en-us/ from MS Learn comment URL
SECURITY.md Removed /en-us/ from MSRC FAQ link
README.md Removed /en-us/ from two MS Learn links

Comment thread .github/skills/apim-bicep/references/mcp-patterns.md Outdated
Comment thread .github/skills/skill-creator/SKILL.md Outdated
Comment thread .github/skills/skill-creator/scripts/init_skill.py Outdated
Comment thread .github/skills/skill-creator/scripts/init_skill.py Outdated
Comment thread AGENTS.md
Copilot AI review requested due to automatic review settings March 6, 2026 20:42
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Comment thread .github/skills/apim-bicep/references/mcp-patterns.md Outdated
Comment thread .github/skills/apim-bicep/references/mcp-patterns.md Outdated
Comment thread .github/skills/apim-bicep/references/mcp-patterns.md Outdated
Comment thread .github/skills/sample-creator/SKILL.md
@simonkurtz-MSFT simonkurtz-MSFT self-requested a review March 6, 2026 20:55
Copy link
Copy Markdown
Member

@simonkurtz-MSFT simonkurtz-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simonkurtz-MSFT simonkurtz-MSFT merged commit 403c065 into main Mar 6, 2026
10 checks passed
@simonkurtz-MSFT simonkurtz-MSFT deleted the agent-skills branch March 6, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants