# glennfaison/github-agent-workflow architecture

> Architecture diagram of the GitHub repository glennfaison/github-agent-workflow, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/glennfaison/github-agent-workflow
- Repository: https://github.com/glennfaison/github-agent-workflow

## Overview

This repository packages agent instructions for an unattended GitHub issue-to-merge workflow, not a conventional service. A scheduler or user invokes a skill; group skills select work and dispatch to an item skill. The README describes five stages—exploring, triaging, implementing, shepherding, and reviewing—that coordinate through GitHub labels, marker comments, and leases rather than calling one another. Utility skills and shared protocol provide supporting capabilities. Relationships among individual skills and utilities are shown only where documented; the skill bodies were not sampled.

Main entry points: [`skills/pipeline/explore-github-repo/SKILL.md`](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/explore-github-repo/SKILL.md) (Explore repositories), [`skills/pipeline/triage-github-issues/SKILL.md`](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/triage-github-issues/SKILL.md) (Triage issues), [`skills/pipeline/implement-github-issues/SKILL.md`](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/implement-github-issues/SKILL.md) (Implement issues), [`skills/pipeline/shepherd-github-prs/SKILL.md`](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/shepherd-github-prs/SKILL.md) (Shepherd PRs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pipeline["Workflow pipeline"]
  node_explore_group["Explore repositories<br/>[SKILL.md]"]
  node_file_issues["File issues<br/>[SKILL.md]"]
  node_triage_group["Triage issues<br/>[SKILL.md]"]
  node_triage_item["Triage one issue<br/>[SKILL.md]"]
  node_implement_group["Implement issues<br/>[SKILL.md]"]
  node_implement_item["Implement one issue<br/>[SKILL.md]"]
  node_shepherd_group["Shepherd PRs<br/>[SKILL.md]"]
  node_shepherd_item["Shepherd one PR<br/>[SKILL.md]"]
  node_review_group["Review PRs<br/>[SKILL.md]"]
  node_review_item["Review one PR<br/>[SKILL.md]"]
end

subgraph group_support["Shared support"]
  node_protocol["Workflow protocol<br/>[SKILL.md]"]
  node_helpers["Protocol helpers<br/>[helpers.mjs]"]
  node_guide["Pipeline guide<br/>[SKILL.md]"]
  node_setup["Repository setup<br/>[SKILL.md]"]
  node_prompts["Runner prompts<br/>[SKILL.md]"]
end

subgraph group_utilities["Utility skills"]
  node_unattended["Unattended triage<br/>[SKILL.md]"]
  node_grill["Comment grilling<br/>[SKILL.md]"]
  node_merge_safety["Merge safety<br/>[SKILL.md]"]
end

subgraph group_integrations["GitHub coordination"]
  node_github[("GitHub repository")]
end

node_runner(("Scheduler or user"))

node_runner -->|"invokes"| node_explore_group
node_runner -->|"invokes"| node_triage_group
node_runner -->|"invokes"| node_implement_group
node_runner -->|"invokes"| node_shepherd_group
node_runner -->|"invokes"| node_review_group
node_runner -->|"runs setup"| node_setup
node_runner -->|"requests prompts"| node_prompts
node_explore_group -->|"dispatches"| node_file_issues
node_triage_group -->|"dispatches"| node_triage_item
node_implement_group -->|"dispatches"| node_implement_item
node_shepherd_group -->|"dispatches"| node_shepherd_item
node_review_group -->|"dispatches"| node_review_item
node_explore_group -->|"coordinates through"| node_github
node_file_issues -->|"coordinates through"| node_github
node_triage_group -->|"coordinates through"| node_github
node_triage_item -->|"coordinates through"| node_github
node_implement_group -->|"coordinates through"| node_github
node_implement_item -->|"coordinates through"| node_github
node_shepherd_group -->|"coordinates through"| node_github
node_shepherd_item -->|"coordinates through"| node_github
node_review_group -->|"coordinates through"| node_github
node_review_item -->|"coordinates through"| node_github

click node_explore_group "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/explore-github-repo/SKILL.md"
click node_file_issues "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/file-github-issues/SKILL.md"
click node_triage_group "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/triage-github-issues/SKILL.md"
click node_triage_item "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/triage-github-issue/SKILL.md"
click node_implement_group "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/implement-github-issues/SKILL.md"
click node_implement_item "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/implement-github-issue/SKILL.md"
click node_shepherd_group "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/shepherd-github-prs/SKILL.md"
click node_shepherd_item "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/shepherd-github-pr/SKILL.md"
click node_review_group "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/review-github-prs/SKILL.md"
click node_review_item "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/review-github-pr/SKILL.md"
click node_protocol "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/agent-workflow-protocol/SKILL.md"
click node_helpers "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/agent-workflow-protocol/scripts/helpers.mjs"
click node_guide "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/pipeline-guide/SKILL.md"
click node_setup "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/setup-github-agent-workflow/SKILL.md"
click node_prompts "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/runner-prompts/SKILL.md"
click node_unattended "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/utility/unattended-triage/SKILL.md"
click node_grill "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/utility/grill-via-github-comments/SKILL.md"
click node_merge_safety "https://github.com/glennfaison/github-agent-workflow/blob/main/skills/utility/merge-safety/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_explore_group,node_file_issues,node_triage_group,node_triage_item,node_implement_group,node_implement_item,node_shepherd_group,node_shepherd_item,node_review_group,node_review_item toneBlue
class node_protocol,node_helpers,node_guide,node_setup,node_prompts toneAmber
class node_unattended,node_grill,node_merge_safety toneMint
class node_github,node_runner toneRose
```

## Components

### Workflow pipeline

- [Explore repositories](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/explore-github-repo/SKILL.md): `skills/pipeline/explore-github-repo/SKILL.md`
- [File issues](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/file-github-issues/SKILL.md): `skills/pipeline/file-github-issues/SKILL.md`
- [Triage issues](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/triage-github-issues/SKILL.md): `skills/pipeline/triage-github-issues/SKILL.md`
- [Triage one issue](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/triage-github-issue/SKILL.md): `skills/pipeline/triage-github-issue/SKILL.md`
- [Implement issues](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/implement-github-issues/SKILL.md): `skills/pipeline/implement-github-issues/SKILL.md`
- [Implement one issue](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/implement-github-issue/SKILL.md): `skills/pipeline/implement-github-issue/SKILL.md`
- [Shepherd PRs](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/shepherd-github-prs/SKILL.md): `skills/pipeline/shepherd-github-prs/SKILL.md`
- [Shepherd one PR](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/shepherd-github-pr/SKILL.md): `skills/pipeline/shepherd-github-pr/SKILL.md`
- [Review PRs](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/review-github-prs/SKILL.md): `skills/pipeline/review-github-prs/SKILL.md`
- [Review one PR](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/pipeline/review-github-pr/SKILL.md): `skills/pipeline/review-github-pr/SKILL.md`

### Shared support

- [Workflow protocol](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/agent-workflow-protocol/SKILL.md): `skills/meta/agent-workflow-protocol/SKILL.md`
- [Protocol helpers](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/agent-workflow-protocol/scripts/helpers.mjs): `skills/meta/agent-workflow-protocol/scripts/helpers.mjs`
- [Pipeline guide](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/pipeline-guide/SKILL.md): `skills/meta/pipeline-guide/SKILL.md`
- [Repository setup](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/setup-github-agent-workflow/SKILL.md): `skills/meta/setup-github-agent-workflow/SKILL.md`
- [Runner prompts](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/meta/runner-prompts/SKILL.md): `skills/meta/runner-prompts/SKILL.md`

### Utility skills

- [Unattended triage](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/utility/unattended-triage/SKILL.md): `skills/utility/unattended-triage/SKILL.md`
- [Comment grilling](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/utility/grill-via-github-comments/SKILL.md): `skills/utility/grill-via-github-comments/SKILL.md`
- [Merge safety](https://github.com/glennfaison/github-agent-workflow/blob/main/skills/utility/merge-safety/SKILL.md): `skills/utility/merge-safety/SKILL.md`

### GitHub coordination

- **GitHub repository**

### Other components

- **Scheduler or user**

## Connections

- Scheduler or user → Explore repositories: invokes (evidence: `README.md`)
- Scheduler or user → Triage issues: invokes (evidence: `README.md`)
- Scheduler or user → Implement issues: invokes (evidence: `README.md`)
- Scheduler or user → Shepherd PRs: invokes (evidence: `README.md`)
- Scheduler or user → Review PRs: invokes (evidence: `README.md`)
- Scheduler or user → Repository setup: runs setup (evidence: `README.md`)
- Scheduler or user → Runner prompts: requests prompts (evidence: `README.md`)
- Explore repositories → File issues: dispatches (evidence: `README.md`)
- Triage issues → Triage one issue: dispatches (evidence: `README.md`)
- Implement issues → Implement one issue: dispatches (evidence: `README.md`)
- Shepherd PRs → Shepherd one PR: dispatches (evidence: `README.md`)
- Review PRs → Review one PR: dispatches (evidence: `README.md`)
- Explore repositories → GitHub repository: coordinates through (evidence: `README.md`)
- File issues → GitHub repository: coordinates through (evidence: `README.md`)
- Triage issues → GitHub repository: coordinates through (evidence: `README.md`)
- Triage one issue → GitHub repository: coordinates through (evidence: `README.md`)
- Implement issues → GitHub repository: coordinates through (evidence: `README.md`)
- Implement one issue → GitHub repository: coordinates through (evidence: `README.md`)
- Shepherd PRs → GitHub repository: coordinates through (evidence: `README.md`)
- Shepherd one PR → GitHub repository: coordinates through (evidence: `README.md`)
- Review PRs → GitHub repository: coordinates through (evidence: `README.md`)
- Review one PR → GitHub repository: coordinates through (evidence: `README.md`)
