Skip to content

Commit 7fed4e3

Browse files
authored
Add agentic workflow grumpy-reviewer (#195)
* Reinstall GH AW, update Grumpy reviewer agent * Add agentic workflow grumpy-reviewer
1 parent ba2aebf commit 7fed4e3

5 files changed

Lines changed: 164 additions & 134 deletions

File tree

Lines changed: 18 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing
2+
name: Agentic Workflows
3+
description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.
34
disable-model-invocation: true
45
---
56

@@ -24,9 +25,6 @@ This is a **dispatcher agent** that routes your request to the appropriate speci
2425
- **Reducing token consumption / cost optimization**: Routes to `token-optimization` guide — consult this whenever the user asks how to reduce token usage, lower costs, speed up workflows, or measure the impact of prompt changes with experiments
2526
- **Choosing workflow architectures and design patterns**: Routes to `patterns` guide — consult this whenever the user asks for strategy, architecture, operating models, or pattern selection for agentic workflows
2627

27-
> [!IMPORTANT]
28-
> For architecture/pattern-selection requests, load `https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/patterns.md` first.
29-
3028
Workflows may optionally include:
3129

3230
- **Project tracking / monitoring** (GitHub Projects updates, status reporting)
@@ -37,7 +35,7 @@ Workflows may optionally include:
3735
- Workflow files: `.github/workflows/*.md` and `.github/workflows/**/*.md`
3836
- Workflow lock files: `.github/workflows/*.lock.yml`
3937
- Shared components: `.github/workflows/shared/*.md`
40-
- Configuration: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/github-agentic-workflows.md
38+
- Configuration: `.github/aw/github-agentic-workflows.md`
4139

4240
## Problems This Solves
4341

@@ -60,7 +58,7 @@ When you interact with this agent, it will:
6058

6159
**Load when**: User wants to create a new workflow from scratch, add automation, or design a workflow that doesn't exist yet
6260

63-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/create-agentic-workflow.md
61+
**Prompt file**: `.github/aw/create-agentic-workflow.md`
6462

6563
**Use cases**:
6664

@@ -72,7 +70,7 @@ When you interact with this agent, it will:
7270

7371
**Load when**: User wants to modify, improve, or refactor an existing workflow
7472

75-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/update-agentic-workflow.md
73+
**Prompt file**: `.github/aw/update-agentic-workflow.md`
7674

7775
**Use cases**:
7876

@@ -84,7 +82,7 @@ When you interact with this agent, it will:
8482

8583
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
8684

87-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/debug-agentic-workflow.md
85+
**Prompt file**: `.github/aw/debug-agentic-workflow.md`
8886

8987
**Use cases**:
9088

@@ -96,7 +94,7 @@ When you interact with this agent, it will:
9694

9795
**Load when**: User wants to upgrade workflows to a new gh-aw version or fix deprecations
9896

99-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/upgrade-agentic-workflows.md
97+
**Prompt file**: `.github/aw/upgrade-agentic-workflows.md`
10098

10199
**Use cases**:
102100

@@ -108,7 +106,7 @@ When you interact with this agent, it will:
108106

109107
**Load when**: The workflow being created or updated produces reports — recurring status updates, audit summaries, analyses, or any structured output posted as a GitHub issue, discussion, or comment
110108

111-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/report.md
109+
**Prompt file**: `.github/aw/report.md`
112110

113111
**Use cases**:
114112

@@ -120,7 +118,7 @@ When you interact with this agent, it will:
120118

121119
**Load when**: User wants to create a reusable workflow component or wrap an MCP server
122120

123-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/create-shared-agentic-workflow.md
121+
**Prompt file**: `.github/aw/create-shared-agentic-workflow.md`
124122

125123
**Use cases**:
126124

@@ -132,7 +130,7 @@ When you interact with this agent, it will:
132130

133131
**Load when**: User needs to close or fix open Dependabot PRs that update dependencies in generated manifest files (`.github/workflows/package.json`, `.github/workflows/requirements.txt`, `.github/workflows/go.mod`)
134132

135-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/dependabot.md
133+
**Prompt file**: `.github/aw/dependabot.md`
136134

137135
**Use cases**:
138136

@@ -144,31 +142,19 @@ When you interact with this agent, it will:
144142

145143
**Load when**: The workflow reads, analyzes, or reports test coverage — whether triggered by a PR, a schedule, or a slash command. Always consult this prompt before designing the coverage data strategy.
146144

147-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/test-coverage.md
145+
**Prompt file**: `.github/aw/test-coverage.md`
148146

149147
**Use cases**:
150148

151149
- "Create a workflow that comments coverage on PRs"
152150
- "Analyze coverage trends over time"
153151
- "Add a coverage gate that blocks PRs below a threshold"
154152

155-
### Render ASCII Charts in Markdown
156-
157-
**Load when**: The workflow needs in-markdown charts (sparklines, bars, table+trend views) that must align cleanly and render reliably across GitHub surfaces, including mobile.
158-
159-
**Reference file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/asciicharts.md
160-
161-
**Use cases**:
162-
163-
- "Show a compact trend chart in an issue comment"
164-
- "Render a dashboard table with sparkline trends"
165-
- "Generate aligned ASCII bars for service metrics"
166-
167153
### CLI Commands Reference
168154

169155
**Load when**: The user asks how to run, compile, debug, or manage workflows from the command line; needs the MCP tool equivalent of a `gh aw` command; or is in a restricted environment (e.g., Copilot Cloud) without direct CLI access.
170156

171-
**Reference file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/cli-commands.md
157+
**Reference file**: `.github/aw/cli-commands.md`
172158

173159
**Use cases**:
174160

@@ -181,7 +167,7 @@ When you interact with this agent, it will:
181167

182168
**Load when**: The user asks how to reduce token usage, lower workflow costs, make a workflow faster or cheaper, or measure the impact of prompt or configuration changes.
183169

184-
**Reference file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/token-optimization.md
170+
**Reference file**: `.github/aw/token-optimization.md`
185171

186172
**Use cases**:
187173

@@ -196,7 +182,7 @@ When you interact with this agent, it will:
196182

197183
**Load when**: The user asks for architecture, strategy, operating model selection, or pattern recommendations for building agentic workflows.
198184

199-
**Reference file**: https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/patterns.md
185+
**Reference file**: `.github/aw/patterns.md`
200186

201187
**Use cases**:
202188

@@ -210,7 +196,7 @@ When you interact with this agent, it will:
210196
When a user interacts with you:
211197

212198
1. **Identify the task type** from the user's request
213-
2. **Load the appropriate prompt** from the GitHub repository URLs listed above
199+
2. **Load the appropriate prompt** from the repository paths listed above
214200
3. **Follow the loaded prompt's instructions** exactly
215201
4. **If uncertain**, ask clarifying questions to determine the right prompt
216202

@@ -249,12 +235,12 @@ gh aw compile --validate
249235

250236
## Important Notes
251237

252-
- Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/github-agentic-workflows.md for complete documentation
238+
- Always reference the instructions file at `.github/aw/github-agentic-workflows.md` for complete documentation
253239
- Use the MCP tool `agentic-workflows` when running in GitHub Copilot Cloud
254240
- Workflows must be compiled to `.lock.yml` files before running in GitHub Actions
255241
- **Bash tools are enabled by default** - Don't restrict bash commands unnecessarily since workflows are sandboxed by the AWF
256242
- Follow security best practices: minimal permissions, explicit network access, no template injection
257-
- **Network configuration**: Use ecosystem identifiers (`node`, `python`, `go`, etc.) or explicit FQDNs in `network.allowed`. Bare shorthands like `npm` or `pypi` are **not** valid. See https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/network.md for the full list of valid ecosystem identifiers and domain patterns.
243+
- **Network configuration**: Use ecosystem identifiers (`node`, `python`, `go`, etc.) or explicit FQDNs in `network.allowed`. Bare shorthands like `npm` or `pypi` are **not** valid. See `.github/aw/network.md` for the full list of valid ecosystem identifiers and domain patterns.
258244
- **Single-file output**: When creating a workflow, produce exactly **one** workflow `.md` file. Do not create separate documentation files (architecture docs, runbooks, usage guides, etc.). If documentation is needed, add a brief `## Usage` section inside the workflow file itself.
259245
- **Triggering runs**: Always use `gh aw run <workflow-name>` to trigger a workflow on demand — not `gh workflow run <file>.lock.yml`. `gh aw run` handles workflow resolution by short name, input parsing and validation, and correct run-tracking for agentic workflows. Use `--ref <branch>` to run on a specific branch.
260-
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see https://github.com/github/gh-aw/blob/v0.75.1/.github/aw/cli-commands.md
246+
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see `.github/aw/cli-commands.md`

.github/aw/actions-lock.json

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: agentic-workflows
3+
description: Route gh-aw workflow create/debug/upgrade requests to the right prompts.
4+
---
5+
6+
# Agentic Workflows Router
7+
8+
Use this skill when a user asks to create, update, debug, or upgrade GitHub Agentic Workflows in this repository.
9+
10+
This skill is a dispatcher: identify the task type, load the matching `.github/aw/*.md` file, and follow it directly. Keep responses concise and ask a clarifying question if the correct prompt is unclear.
11+
12+
Read only the files you need:
13+
Load these files from `github/gh-aw` (they are not available locally).
14+
15+
After loading the matching workflow prompt, follow it directly:
16+
17+
- Create new workflows: `.github/aw/create-agentic-workflow.md`
18+
- Update existing workflows: `.github/aw/update-agentic-workflow.md`
19+
- Debug, audit, or investigate workflows: `.github/aw/debug-agentic-workflow.md`
20+
- Upgrade workflows and fix deprecations: `.github/aw/upgrade-agentic-workflows.md`
21+
- Create shared components or MCP wrappers: `.github/aw/create-shared-agentic-workflow.md`
22+
- Create report-generating workflows: `.github/aw/report.md`
23+
- Fix Dependabot manifest PRs: `.github/aw/dependabot.md`
24+
- Analyze coverage workflows: `.github/aw/test-coverage.md`
25+
- Render compact markdown charts: `.github/aw/asciicharts.md`
26+
- Map CLI commands to MCP usage: `.github/aw/cli-commands.md`
27+
- Choose workflow architecture and patterns: `.github/aw/patterns.md`
28+
- Optimize token usage and cost: `.github/aw/token-optimization.md`
29+
30+
When the task involves OTEL, OTLP, traces, observability backends, or telemetry-driven analysis, also read and follow `skills/otel-queries/SKILL.md` after loading the matching workflow prompt.

0 commit comments

Comments
 (0)