Skip to content

feature/AB#32037 - Compact Copilot Instructions#2120

Merged
JamesPasta merged 9 commits into
devfrom
feature/AB#32037-compact-copilot-instructions
Mar 12, 2026
Merged

feature/AB#32037 - Compact Copilot Instructions#2120
JamesPasta merged 9 commits into
devfrom
feature/AB#32037-compact-copilot-instructions

Conversation

@plavoie-BC
Copy link
Copy Markdown
Contributor

@plavoie-BC plavoie-BC commented Mar 11, 2026

Pull request overview

Adds a compact, structured set of Copilot instructions for the Unity Grant Manager solution, including reusable “skills”, scoped instruction files, custom agent definitions, and a VS Code setting to drive commit message generation.

Changes:

  • Adds applications/Unity.GrantManager/.github/copilot-instructions.md plus scoped instruction files under .github/instructions/ (C#, EF Core, testing).
  • Adds skill reference docs under .github/skills/ (testing, EF Core, DDD, module structure, application layer).
  • Adds Copilot agent definition markdown files under .github/agents/ and a catalog in .github/AGENTS.md.
  • Adds .vscode/settings.json to point Copilot commit message generation at .github/commit-message-instructions.md, and adds root-level .github/copilot-instructions.md.

Notes:

  • This is a reduced version of the previous Copilot branch to ensure we start off small. It merges content from the pervious branch with ABPs own skill and agent files. The previous branch has been archived here.
  • Agents for various tasks have been added, but are optional. I expect we'll add and remove some of these.
  • Custom Agents and Custom Skills currently only work in VS Code
  • image

Copy link
Copy Markdown
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

Adds a compact, structured set of Copilot instructions for the Unity Grant Manager solution, including reusable “skills”, scoped instruction files, custom agent definitions, and a VS Code setting to drive commit message generation.

Changes:

  • Adds applications/Unity.GrantManager/.github/copilot-instructions.md plus scoped instruction files under .github/instructions/ (C#, EF Core, testing).
  • Adds skill reference docs under .github/skills/ (testing, EF Core, DDD, module structure, application layer).
  • Adds Copilot agent definition markdown files under .github/agents/ and a catalog in .github/AGENTS.md.
  • Adds .vscode/settings.json to point Copilot commit message generation at .github/commit-message-instructions.md, and adds root-level .github/copilot-instructions.md.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
applications/Unity.GrantManager/.vscode/settings.json Configures Copilot commit message generation to use a repo-provided instruction file.
applications/Unity.GrantManager/.github/skills/unity-testing/SKILL.md Documents testing stack and conventions (xUnit/Shouldly/NSubstitute, ABP test base).
applications/Unity.GrantManager/.github/skills/unity-module-structure/SKILL.md Documents ABP module layout and dependency direction rules.
applications/Unity.GrantManager/.github/skills/unity-ef-core/SKILL.md Documents EF Core patterns, contexts, repositories, and migrations guidance.
applications/Unity.GrantManager/.github/skills/unity-domain-driven-design/SKILL.md Documents DDD conventions for entities, aggregates, repos, services, events.
applications/Unity.GrantManager/.github/skills/unity-application-layer/SKILL.md Documents application layer conventions (DTOs, mapping, authorization, errors).
applications/Unity.GrantManager/.github/instructions/testing.instructions.md Adds scoped Copilot instructions for test code files.
applications/Unity.GrantManager/.github/instructions/efcore.instructions.md Adds scoped Copilot instructions for EntityFrameworkCore code.
applications/Unity.GrantManager/.github/instructions/csharp.instructions.md Adds scoped Copilot instructions for all C# files.
applications/Unity.GrantManager/.github/copilot-instructions.md Provides consolidated project overview + pointers to skills/agents.
applications/Unity.GrantManager/.github/commit-message-instructions.md Defines commit message format derived from branch name AB# ID.
applications/Unity.GrantManager/.github/agents/test-triage.agent.md Adds a test failure triage agent definition.
applications/Unity.GrantManager/.github/agents/test-strategy.agent.md Adds a test strategy/planning agent definition.
applications/Unity.GrantManager/.github/agents/pr-readiness.agent.md Adds a pre-PR readiness/quality gate agent definition.
applications/Unity.GrantManager/.github/agents/permissions-localization-auditor.agent.md Adds a permissions/localization compliance audit agent definition.
applications/Unity.GrantManager/.github/agents/feature-planner.agent.md Adds a feature planning agent definition.
applications/Unity.GrantManager/.github/agents/efcore-migration-planner.agent.md Adds an EF Core migration planning agent definition.
applications/Unity.GrantManager/.github/agents/ddd-modeler.agent.md Adds a DDD modeling agent definition (currently has a broken skill reference).
applications/Unity.GrantManager/.github/agents/application-service-designer.agent.md Adds an application service contract/design agent definition.
applications/Unity.GrantManager/.github/AGENTS.md Adds an agent catalog for discoverability.
.github/copilot-instructions.md Adds repo-root Copilot instructions and points to the app-specific instructions.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment thread applications/Unity.GrantManager/.github/copilot-instructions.md Outdated
Comment thread applications/Unity.GrantManager/.github/agents/ddd-modeler.agent.md Outdated
Comment thread applications/Unity.GrantManager/.github/copilot-instructions.md Outdated
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@plavoie-BC plavoie-BC requested a review from Copilot March 11, 2026 22:37
@plavoie-BC plavoie-BC marked this pull request as ready for review March 11, 2026 22:42
Copy link
Copy Markdown
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

Copilot reviewed 21 out of 21 changed files in this pull request and generated 11 comments.


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

You can also share your feedback on Copilot code review. Take the survey.

Comment thread applications/Unity.GrantManager/.github/instructions/testing.instructions.md Outdated
Comment thread applications/Unity.GrantManager/.github/instructions/efcore.instructions.md Outdated
Comment thread applications/Unity.GrantManager/.github/copilot-instructions.md Outdated
Comment thread applications/Unity.GrantManager/.github/copilot-instructions.md Outdated
Comment thread applications/Unity.GrantManager/.github/skills/unity-testing/SKILL.md Outdated
Comment thread applications/Unity.GrantManager/.github/agents/test-strategy.agent.md Outdated
Comment thread applications/Unity.GrantManager/.github/copilot-instructions.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 466
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Updated architecture rules for ABP layering and preferred usage, emphasizing separation of concerns and guidelines for new code.
@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 466
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 466
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@github-actions

This comment was marked as duplicate.

1 similar comment
@github-actions
Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 466
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@JamesPasta JamesPasta merged commit 3aba2b3 into dev Mar 12, 2026
22 checks passed
@JamesPasta JamesPasta deleted the feature/AB#32037-compact-copilot-instructions branch March 12, 2026 20:52
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