github-agentic-workflows
Copilot instructions2 starsChanged 8 months agoMITView on GitHub
This is the aw-author Claude Code plugin (v1.3.0) for authoring, validating, and maintaining GitHub Agentic Workflow (gh-aw) markdown files. The repository lives at zircote/github-agentic-workflows. gh-aw workflows are markdown files with YAML frontmatter in .github/workflows/, compiled to .lock.yml via gh aw compile. This plugin provides the reference materials, skills, and automated pipelines that keep those workflows correct and current. This workflow runs daily around 07:00 (fuzzy schedule) and executes: The pipeline checks before running: - Discussion titled "gh-aw Intelligence Report —…
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- aw-dailySkill
- gh-aw-reportSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 56
All write operations go through safe-outputs:
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Copilot Instructions — aw-author Plugin
Project Identity
This is the aw-author Claude Code plugin (v1.3.0) for authoring, validating, and maintaining GitHub Agentic Workflow (gh-aw) markdown files. The repository lives at zircote/github-agentic-workflows.
gh-aw workflows are markdown files with YAML frontmatter in .github/workflows/, compiled to .lock.yml via gh aw compile. This plugin provides the reference materials, skills, and automated pipelines that keep those workflows correct and current.
Repository Structure
commands/ Slash command entry points (/aw-author, /aw-daily, /aw-merge, /aw-report, /aw-status, /aw-upgrade)
skills/
aw-author/ Authoring skill + 9 reference files (the canonical gh-aw spec subset)
aw-daily/ Autonomous daily pipeline skill + gap analysis references
gh-aw-report/ Intelligence reporting skill + knowledge base + search queries
agents/
aw-analyst.md Deep analysis agent for workflow review
.github/workflows/
daily-intelligence.md Daily autonomous pipeline (gh-aw, fuzzy schedule)
daily-intelligence.lock.yml Compiled workflow (DO NOT EDIT)
weekly-develop-merge.md Weekly develop→main merge (gh-aw, fuzzy schedule)
weekly-develop-merge.lock.yml Compiled workflow (DO NOT EDIT)
outputs/gh-aw-reports/ Dated intelligence reportsBranching Strategy
main— stable, production branchdevelop— daily automated updates land here via PRdaily-intelligence-YYYY-MM-DD— ephemeral feature branches created by/aw-daily, deleted after merge todevelop- Weekly:
developmerges tomainvia/aw-merge(squash merge, then develop resets to main)
Daily Pipeline (.github/workflows/daily-intelligence.md)
This workflow runs daily around 07:00 (fuzzy schedule) and executes:
- Research — web fetch + GitHub API queries on 5 tracked repos (
github/gh-aw,github/github-mcp-server,github/copilot-cli,githubnext/agentics,zircote/github-agentic-workflows) - Knowledge base update — append stable facts to
skills/gh-aw-report/knowledge-base.md - Discussion posting — post report to Discussions in the "Project News" category
- Gap analysis — compare findings against 11 reference files in
skills/aw-author/references/andskills/gh-aw-report/references/ - Issue creation — file issues for identified gaps (max 5 per run, dedup by
[aw-daily]prefix) - Implementation — edit reference files on a branch from
develop - PR creation — PR to
developwithCloses #NNNlinks - Summary — report what changed
Idempotency
The pipeline checks before running:
- Discussion titled
"gh-aw Intelligence Report — {today}"already exists → skip research - PR with branch
daily-intelligence-{today}exists → skip entirely - Issue with
[aw-daily]prefix matching a gap → skip that issue
Safe-Output Constraints
All write operations go through safe-outputs:
create-discussion: title-prefix"gh-aw Intelligence Report — ", category"project news", max 1create-issue: title-prefix"[aw-daily] ", labels[automated, reference-update], max 5create-pull-request: title-prefix"docs(references): ", base-branchdevelop, max 1push-to-pull-request-branch: target"*", title-prefix"docs(references): ", labels[automated], max 10add-comment:discussions: false, max 3add-labels: allowed[automated, reference-update, intelligence], max 5
Weekly Merge (.github/workflows/weekly-develop-merge.md)
Runs weekly on Monday around 09:00. Checks if develop is ahead of main, creates a PR if so. Does NOT auto-merge — merge follows repository policy.
Reference Files — The Source of Truth
The 9 files in skills/aw-author/references/ are the canonical gh-aw specification subset for this plugin. They are the primary target of the daily pipeline's gap analysis and updates:
| File | Content |
frontmatter-schema.md | Complete YAML frontmatter field reference (~2100 lines) |
safe-outputs.md | All safe-output types, parameters, constraints (~850 lines) |
tools-reference.md | Tool types and configuration (~470 lines) |
production-gotchas.md | Runtime gotchas verified through production debugging (~380 lines) |
orchestration.md | 7 orchestration patterns + engine model selection (~325 lines) |
examples.md | 5 annotated example workflows + minimal template (~430 lines) |
validation.md | Validation checklist, anti-patterns, debugging (~230 lines) |
markdown-body.md | Prose body writing guide + instruction files (~320 lines) |
llms-resources.md | Fetchable spec URLs (~87 lines) |
Critical Rules
- Never edit
.lock.ymlfiles — they are generated bygh aw compile add-commentsafe-outputs must includediscussions: false— omitting this causes HTTP 422 when the App lacks Discussions permissionplugins:frontmatter field is DEPRECATED — usedependencies:and rungh aw fix --write- Write permissions are NOT allowed in
permissions:block — the compiler rejects them; all writes go through safe-outputs - Trigger field is
issues(plural), notissue - Event-triggered workflows need
reaction: eyesin theon:block ${{ }}expressions in fenced code blocks are NOT interpolated — use env vars instead- Knowledge base is append-only — mark superseded entries with
[SUPERSEDED by YYYY-MM-DD], never delete - Section headers are anchors, not line numbers — the daily pipeline uses headers to locate edit targets because line numbers shift between runs
- PRs are created as drafts — open with
--draftordraft: true, then mark ready withgh pr readyafter all changes are pushed and verified
GitHub Discussion Category
Reports post to the Project News category:
- Category ID:
DIC_kwDORSXBr84C61Lr - Repository:
zircote/github-agentic-workflows
Tracked Repositories for Activity Queries
| Repository | What to Extract |
github/gh-aw | New features, breaking changes, bug reports, version bumps |
github/github-mcp-server | Version changes, new tools, breaking changes |
github/copilot-cli | CLI updates, new agent modes |
githubnext/agentics | New sample workflows, pattern changes |
zircote/github-agentic-workflows | Self-referential activity |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

