Skip to content

Ensure all agents have correct tools in their YAML frontmatter#73

Merged
Malcolmnixon merged 2 commits intomainfrom
copilot/apply-pull-request-64
Mar 24, 2026
Merged

Ensure all agents have correct tools in their YAML frontmatter#73
Malcolmnixon merged 2 commits intomainfrom
copilot/apply-pull-request-64

Conversation

Copy link
Contributor

Copilot AI commented Mar 24, 2026

Pull Request

Description

Ports TemplateDotNetLibrary#64 to this repository. Several agent files were missing tools in their YAML frontmatter tools: list, which would prevent those agents from functioning correctly.

Changes per agent file (all in .github/agents/):

  • code-quality.agent.md — added agent; reordered
  • code-review.agent.md — added edit, web; reordered
  • repo-consistency.agent.md — added execute; reordered
  • requirements.agent.md — added github, web, agent; reordered
  • software-developer.agent.md — added agent; reordered
  • technical-writer.agent.md — added github, agent; reordered
  • test-developer.agent.md — added github, agent; reordered

Changes are confined to the tools: line in each file's YAML frontmatter — no agent instructions or logic were modified.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code quality improvement

Related Issues

Pre-Submission Checklist

Before submitting this pull request, ensure you have completed the following:

Build and Test

  • Code builds successfully: dotnet build --configuration Release
  • All unit tests pass: dotnet test --configuration Release
  • Self-validation tests pass:
    dotnet run --project src/DemaConsulting.TemplateDotNetTool --configuration Release --framework net10.0
    --no-build -- --validate
  • Code produces zero warnings

Code Quality

  • Code formatting is correct: dotnet format --verify-no-changes
  • New code has appropriate XML documentation comments
  • Static analyzer warnings have been addressed

Quality Checks

Please run the following checks before submitting:

  • All linters pass: ./lint.sh (Unix/macOS) or cmd /c lint.bat / ./lint.bat (Windows)

Testing

  • Added unit tests for new functionality
  • Updated existing tests if behavior changed
  • All tests follow the AAA (Arrange, Act, Assert) pattern
  • Test coverage is maintained or improved

Documentation

  • Updated README.md (if applicable)
  • Updated ARCHITECTURE.md (if applicable)
  • Added code examples for new features (if applicable)
  • Updated requirements.yaml (if applicable)

Additional Notes

Changes are confined to YAML frontmatter tools: lines only — no agent instructions or logic were modified.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Malcolmnixon Malcolmnixon marked this pull request as ready for review March 24, 2026 11:41
Copilot AI review requested due to automatic review settings March 24, 2026 11:41
Copy link
Contributor

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

Updates the GitHub Copilot agent definitions under .github/agents/ to align tool permissions and ordering with the upstream TemplateDotNetLibrary pattern.

Changes:

  • Standardize tools: ordering across agent frontmatter to [read, search, edit, execute, github, (web), agent].
  • Add missing tool capabilities (github, web, agent, and/or execute) to specific agents to match their intended responsibilities.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/agents/code-quality.agent.md Reorders tools and adds agent to match standardized tool set.
.github/agents/code-review.agent.md Adds edit + web and standardizes tool ordering.
.github/agents/repo-consistency.agent.md Adds execute and standardizes tool ordering.
.github/agents/requirements.agent.md Adds github, web, agent and standardizes tool ordering.
.github/agents/software-developer.agent.md Adds agent and standardizes tool ordering.
.github/agents/technical-writer.agent.md Adds github + agent and standardizes tool ordering.
.github/agents/test-developer.agent.md Adds github + agent and standardizes tool ordering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI changed the title [WIP] Apply pull request #64 from TemplateDotNetLibrary Ensure all agents have correct tools in their YAML frontmatter Mar 24, 2026
Copilot AI requested a review from Malcolmnixon March 24, 2026 11:43
@Malcolmnixon Malcolmnixon merged commit 6623e0e into main Mar 24, 2026
25 of 26 checks passed
@Malcolmnixon Malcolmnixon deleted the copilot/apply-pull-request-64 branch March 24, 2026 11:59
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