Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

Adds a prompt file that instructs GitHub Copilot agents to configure repositories for Agentic Workflows non-interactively.

Changes

  • Created copilot-setup.md - Agent prompt with 4-step setup flow:
    • Install gh-aw binary via install-gh-aw.sh from main
    • Run gh aw init --engine copilot to configure repository
    • Verify installation and changes
    • Commit and push modifications

Key Features

  • References canonical installation script from main branch
  • Includes verification commands after each step
  • Streamlined for non-interactive, automated execution by agents
  • Documents troubleshooting for common installation/authentication issues
  • Lists expected files created by init process

The file serves as a concise, actionable prompt for AI agents executing automated setup, compared to the more comprehensive install.md guide for human-assisted setup.

Original prompt

Add a copilot-setup.md file that is a prompt for the GitHub copilot agent to configure a repo for AW.

The prompt should tell the agent to run install.sh (from main) to get the gh-aw binary installed. Run "gh aw init --engine copilot" and push changes


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

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add copilot-setup.md for repo configuration Add copilot-setup.md prompt for automated repository configuration Jan 26, 2026
Copilot AI requested a review from pelikhan January 26, 2026 20:42
Copy link
Contributor

@pelikhan pelikhan left a comment

Choose a reason for hiding this comment

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

@copilot this prompt is meant to run NON-interactively. An agent will execute this prompt.

copilot-setup.md Outdated
Comment on lines 49 to 54
**Alternative**: If you want to skip MCP server configuration:
```bash
gh aw init --engine copilot --no-mcp
```

**Note**: The command may prompt for additional configuration or secrets. If secrets are needed, `gh aw init` will provide instructions for setting them up. You don't need to configure secrets as part of this initial setup.
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot remove

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed in 8871a03

copilot-setup.md Outdated
Comment on lines 74 to 90
Commit the initialization changes:

```bash
git add .
git commit -m "Initialize repository for GitHub Agentic Workflows"
git push
```

**Alternative**: Use the `--push` flag to automate this step:
```bash
gh aw init --engine copilot --push
```

Or create a pull request instead:
```bash
gh aw init --engine copilot --create-pull-request
```
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot remove

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed in 8871a03

…tive execution

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 26, 2026

@copilot this prompt is meant to run NON-interactively. An agent will execute this prompt.

Updated the prompt for non-interactive execution - removed optional alternatives and streamlined the flow in 8871a03

Copilot AI requested a review from pelikhan January 26, 2026 20:48
@pelikhan pelikhan marked this pull request as ready for review January 26, 2026 21:03
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.

2 participants