Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 26, 2025

All GitHub Copilot agents now consistently reference essential project configuration files for environment setup and context. The agents README includes comprehensive environment documentation with improved mermaid diagram accessibility.

Changes

Workflow Permissions

  • Aligned .github/workflows/copilot-setup-steps.yml permissions to exact specification
  • Removed artifact-metadata: read permission

Agent Configuration Files (9 files)

Added "Project Configuration & Context" section to all agents after "Your Role":

## Project Configuration & Context

**Essential Files for Understanding the Environment:**

1. **Main Project Context**: [`README.md`](/README.md)
   - Project overview, tech stack, and documentation links
   - ISMS compliance framework and security standards
   - Combat mechanics and Korean martial arts game design philosophy

2. **Environment Setup**: [`.github/workflows/copilot-setup-steps.yml`](/.github/workflows/copilot-setup-steps.yml)
   - Development environment configuration (Node.js 24, npm dependencies)
   - Build and test commands that are run in CI
   - Available GitHub Actions permissions for automation

3. **MCP Server Configuration**: [`.github/copilot-mcp.json`](/.github/copilot-mcp.json)
   - Model Context Protocol servers (filesystem, github, git, memory, sequential-thinking, playwright, brave-search, aws)
   - Available tools and capabilities per MCP server
   - Integration patterns with GitHub, AWS, and browser automation

Agents README Enhancement

  • New "Environment & Configuration" section with:
    • Essential files reference table
    • MCP Servers architecture diagram (9 servers visualized)
    • Development environment specifications
    • CI permissions matrix
  • Enhanced all mermaid diagrams with stroke colors for accessibility:
    style Node fill:#8BC34A,stroke:#558B2F,color:#fff
    
    Loading

Files Modified

  • .github/workflows/copilot-setup-steps.yml
  • .github/agents/README.md
  • .github/agents/*.md (9 agent files)
Original prompt

Update all agents to always read .github/workflows/copilot-setup-steps.yml to understand setup and available env as well /.github/copilot-mcp-config.json . Main Readme will always contain main context

All .github/workflows/copilot-setup-steps.yml should have permissions

permissions:
contents: read
actions: read
attestations: read
checks: read
deployments: read
issues: write
models: read
discussions: read
pages: read
pull-requests: write
security-events: read
statuses: read

Then update .github/agents/README.md to reflect current state and improve mermaid and color coded diagrams

Custom agent used: hack23-agent-curator
Org-level curator for Hack23 Copilot agents, enforcing GitHub config, MCP standards, and documentation quality


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Nov 26, 2025
@sonarqubecloud
Copy link

Copilot AI changed the title [WIP] Update agents to read workflow and configuration files Configure agents to reference setup workflow, MCP config, and main README Nov 26, 2025
Copilot finished work on behalf of pethers November 26, 2025 22:07
Copilot AI requested a review from pethers November 26, 2025 22:07
@pethers pethers marked this pull request as ready for review November 26, 2025 22:39
@pethers pethers merged commit bfbff33 into main Nov 26, 2025
12 checks passed
@pethers pethers deleted the copilot/update-workflows-and-readme branch November 26, 2025 22:39
@github-actions github-actions bot added documentation Documentation updates infrastructure CI/CD and build infrastructure labels Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation updates infrastructure CI/CD and build infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants