Skip to content

docs: add hidden agent prompt to README for agentic workflow setup#44679

Merged
pelikhan merged 1 commit into
mainfrom
copilot/add-agentic-workflows-prompt
Jul 10, 2026
Merged

docs: add hidden agent prompt to README for agentic workflow setup#44679
pelikhan merged 1 commit into
mainfrom
copilot/add-agentic-workflows-prompt

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Agents scanning README.md have no discoverable entry point for setting up agentic workflows in a repo. This adds a collapsed <details> block near the top of the README — invisible to humans by default, but fully visible to agents reading raw markdown.

Changes

  • README.md — adds a <details> section with a self-contained agent prompt that:
    • Installs gh aw via install-gh-aw.sh (no GitHub token required)
    • Runs gh aw init to configure the repo
    • Uses gh aw add --create-pull-request to scaffold a daily repo status workflow (copilot engine, copilot-requests: write)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review July 10, 2026 07:31
Copilot AI review requested due to automatic review settings July 10, 2026 07:31
@github-actions

Copy link
Copy Markdown
Contributor

🤖 PR Triage

Field Value
Category docs
Risk 🟢 Low
Score 22 / 100
Action ✅ auto_merge

Score breakdown: impact 8 + urgency 6 + quality 8

Rationale: README-only change adding a collapsed agent-readable block. No code or config touched. Safe to auto-merge.

Generated by 🔧 PR Triage Agent · 44.7 AIC · ⌖ 5.13 AIC · ⊞ 5.4K ·

@pelikhan
pelikhan merged commit 230f0f9 into main Jul 10, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/add-agentic-workflows-prompt branch July 10, 2026 07:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an agent-facing setup prompt near the top of README.md using a collapsed <details> block, intended to make agentic workflow setup discoverable to automated agents scanning raw markdown.

Changes:

  • Adds a new <details> section with step-by-step instructions to install gh aw, run gh aw init, and scaffold a daily repo status workflow via gh aw add --create-pull-request.
  • Introduces a visible README entry point (“Configure this project with agentic workflows”) intended to guide agents toward repo setup.
Show a summary per file
File Description
README.md Adds a collapsed agent setup prompt with installation, initialization, and workflow scaffolding instructions.

Review details

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Low

Comment thread README.md
-->

<details>
<summary>Configure this project with agentic workflows</summary>
Comment thread README.md
Comment on lines +20 to +22
```bash
curl -sL https://raw.githubusercontent.com/github/gh-aw/main/install-gh-aw.sh | bash
```
Comment thread README.md
Comment on lines +24 to +34
2. Run the `init` command to configure the repository:

```bash
gh aw init
```

3. Add a **daily repo status** agentic workflow using the `add` command:

```bash
gh aw add --create-pull-request
```
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants