You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: Add a lightweight new-workflow scaffold command that generates the canonical source, example trigger, and README files for a new gh-agent-workflows workflow slug.
Why a Customer Would Want This
Maintainers extending this project currently create new workflows through several manual, convention-heavy steps across multiple directories. A scaffold command would reduce authoring mistakes, make contributions faster, and keep workflow packaging consistent as the catalog grows.
Rough Implementation Sketch
Add scripts/new-gh-agent-workflow.sh <slug> [--detector|--fixer|--event] to generate:
.github/workflows/gh-aw-<slug>.md
gh-agent-workflows/<slug>/example.yml
gh-agent-workflows/<slug>/README.md
Include baseline workflow_call wiring and common inputs (additional-instructions, setup-commands) in the generated .md file, matching existing conventions.
Add a Make target like make new-workflow SLUG=<slug> as a wrapper and checklist output (make compile, docs update).
Document the scaffold flow in gh-agent-workflows/DEVELOPING.md under “Adding a new workflow”.
Why It Won't Be That Hard
This is additive and localized to scripting/docs. The repository already has strict, repeatable file conventions and helper scripts for syncing workflow artifacts; the scaffold can reuse those conventions without touching runtime behavior.
Evidence
gh-agent-workflows/DEVELOPING.md#L156-L163 defines a fully manual multi-file workflow creation process.
Feature Idea
Summary: Add a lightweight
new-workflowscaffold command that generates the canonical source, example trigger, and README files for a newgh-agent-workflowsworkflow slug.Why a Customer Would Want This
Maintainers extending this project currently create new workflows through several manual, convention-heavy steps across multiple directories. A scaffold command would reduce authoring mistakes, make contributions faster, and keep workflow packaging consistent as the catalog grows.
Rough Implementation Sketch
scripts/new-gh-agent-workflow.sh <slug> [--detector|--fixer|--event]to generate:.github/workflows/gh-aw-<slug>.mdgh-agent-workflows/<slug>/example.ymlgh-agent-workflows/<slug>/README.mdworkflow_callwiring and common inputs (additional-instructions,setup-commands) in the generated.mdfile, matching existing conventions.make new-workflow SLUG=<slug>as a wrapper and checklist output (make compile, docs update).gh-agent-workflows/DEVELOPING.mdunder “Adding a new workflow”.Why It Won't Be That Hard
This is additive and localized to scripting/docs. The repository already has strict, repeatable file conventions and helper scripts for syncing workflow artifacts; the scaffold can reuse those conventions without touching runtime behavior.
Evidence
gh-agent-workflows/DEVELOPING.md#L156-L163defines a fully manual multi-file workflow creation process.gh-agent-workflows/DEVELOPING.md#L145-L150requires manual source/compiled artifact coordination.scripts/dogfood.sh#L53-L75assumes standardizedgh-agent-workflows/<slug>/example.ymlstructure when generatingtrigger-*.ymlfiles.Makefile#L50-L67andMakefile#L167-L183provide setup/sync/compile targets but no workflow scaffolding command.Duplicate Check Notes
[product-manager-impersonator] Add workflow artifact parity lint), which validates existing artifacts.Note
🔒 Integrity filter blocked 22 items
The following items were blocked because they don't meet the GitHub integrity level.
list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:What is this? | From workflow: Trigger Product Manager Impersonator
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.