Skip to content

Add GitHub Copilot custom agent configurations#537

Merged
pethers merged 3 commits into
mainfrom
copilot/add-copilot-instructions
Nov 1, 2025
Merged

Add GitHub Copilot custom agent configurations#537
pethers merged 3 commits into
mainfrom
copilot/add-copilot-instructions

Conversation

Copilot AI commented Nov 1, 2025

Copy link
Copy Markdown
Contributor

Adds specialized agent configurations in .github/agents/ to provide domain-specific guidance for TypeScript/React development, testing, code review, documentation, and security/compliance.

Agents Added

  • typescript-react-agent.yml - Enforces strict typing, mandates reusability checks, references project-specific types/utilities
  • testing-agent.yml - Vitest/Cypress patterns, 80% coverage standards, test ID conventions
  • code-review-agent.yml - Reusability enforcement, security scanning, type safety verification
  • documentation-agent.yml - JSDoc/TypeDoc standards, Mermaid diagrams, C4 architecture docs
  • security-compliance-agent.yml - CIA triad principles, NIST/ISO/GDPR framework mapping

Key Features

Each agent references project-specific reusable items:

# Example from typescript-react-agent.yml
- **Types:** src/types/cia.ts, src/types/widgets.ts
- **Constants:** src/constants/securityLevels.ts, src/constants/testIds.ts
- **Utilities:** src/utils/securityLevelUtils.ts, src/utils/riskUtils.ts

All agents enforce v1.0 release priorities (bug fixes/stability only, no new features) and critical reusability checks before creating new code.

Files

  • 5 agent YAML configs (653 lines)
  • 1 comprehensive README (184 lines)
  • All YAML validated
Original prompt

This section details on the original issue you should resolve

<issue_title>Add Copilot coding agent instructions</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💡 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.

Copilot AI and others added 2 commits November 1, 2025 16:44
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add instructions for Copilot coding agent Add GitHub Copilot custom agent configurations Nov 1, 2025
Copilot AI requested a review from pethers November 1, 2025 16:49
@github-actions github-actions Bot added documentation Improvements or additions to documentation infrastructure labels Nov 1, 2025
@github-actions

github-actions Bot commented Nov 1, 2025

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@pethers
pethers marked this pull request as ready for review November 1, 2025 17:06
@pethers
pethers merged commit f767d48 into main Nov 1, 2025
18 of 20 checks passed
@pethers
pethers deleted the copilot/add-copilot-instructions branch November 1, 2025 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Copilot coding agent instructions

2 participants