Skip to content

Add agentic workflows skill - #2723

Open
VeVarunSharma wants to merge 5 commits into
github:mainfrom
VeVarunSharma:vevarunsharma-add-agentic-workflows-skill
Open

Add agentic workflows skill#2723
VeVarunSharma wants to merge 5 commits into
github:mainfrom
VeVarunSharma:vevarunsharma-add-agentic-workflows-skill

Conversation

@VeVarunSharma

@VeVarunSharma VeVarunSharma commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch for this pull request.

Description

Adds an installable agentic-workflows skill for designing, creating, updating, debugging, and upgrading GitHub Agentic Workflows (gh-aw).

The skill dynamically loads the current upstream create.md dispatcher and task-specific guidance, applies repository-local overlays, enforces read-only agent permissions with safe outputs, and documents a concrete issue-triage pattern for labeling, duplicate detection, clarification, and assignment.

Also repairs the PR Duplicate Check exposed by this fork contribution: fork pull_request tokens do not receive copilot-requests: write, so fork runs now skip the advisory AI job instead of failing authentication. Same-repository PRs retain the check, with the cached Copilot CLI exposed at the sandbox path expected by the current lock file.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • New canvas extension.
  • Update to existing instruction, prompt, agent, plugin, skill, workflow, or canvas extension.
  • Other (please specify):

Additional Notes

The skill intentionally keeps version-specific gh-aw syntax dynamic by fetching official upstream guidance instead of bundling a stale local copy. It has no bundled assets.

The workflow repair was compiled with the lock file's existing gh-aw v0.85.4 compiler. The original failure was caused by the fork token lacking CopilotRequests: write; a newer runner image also moved the cached Copilot executable out of /usr/local/bin, so a deterministic pre-agent link preserves same-repository execution.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings August 20, 2026 00:04
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 3 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 1
ℹ️ Info 0
Severity Rule File Line Match
🟠 unpinned-version-indicator .github/workflows/pr-duplicate-check.lock.yml 688 "DEBUG": "*",

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions github-actions Bot added new-submission PR adds at least one new contribution skills PR touches skills labels Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Vally Lint Results

✅ All checks passed

Scope Checked
Skills 1
Agents 0
Total 1
Severity Count
❌ Errors 0
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ ✅ agentic-workflows (2/2 checks passed)
ℹ️ ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
ℹ️ ✓ spec-compliance: All spec checks passed.
ℹ️ ✓ [valid-refs] All file references across 1 skill(s) are valid.
ℹ️ ✓ valid-refs: All file references resolve to existing files within the skill directory.
ℹ️ 1 skill(s) linted, 1 passed
Full linter output
### Linting skills/agentic-workflows
✅ agentic-workflows (2/2 checks passed)
    ✓ [spec-compliance] All 1 skill(s) are spec-compliant.
        ✓ spec-compliance: All spec checks passed.
    ✓ [valid-refs] All file references across 1 skill(s) are valid.
        ✓ valid-refs: All file references resolve to existing files within the skill directory.

1 skill(s) linted, 1 passed

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

Adds an installable skill for creating and maintaining secure GitHub Agentic Workflows using current upstream guidance.

Changes:

  • Adds workflow routing, security, validation, and issue-triage guidance.
  • Registers the skill in generated documentation.
Show a summary per file
File Description
skills/agentic-workflows/SKILL.md Defines the new skill.
docs/README.skills.md Adds the skill catalog entry.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 2/2 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment on lines +100 to +101
gh aw compile <workflow-id>
gh aw compile --validate
Comment thread skills/agentic-workflows/SKILL.md
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8938494a-c76a-4a44-bfd2-a98edff33860
Copilot AI review requested due to automatic review settings August 20, 2026 22:07
@github-actions github-actions Bot added the workflow PR touches workflow automation label Aug 20, 2026

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.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8938494a-c76a-4a44-bfd2-a98edff33860
Copilot AI review requested due to automatic review settings August 20, 2026 22:15

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.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment on lines +16 to +21
pre-agent-steps:
- name: Expose Copilot CLI to the sandbox
run: |
COPILOT_BIN="$(command -v copilot)"
test -x "$COPILOT_BIN"
sudo ln -sfn "$COPILOT_BIN" /usr/local/bin/copilot
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8938494a-c76a-4a44-bfd2-a98edff33860
Copilot AI review requested due to automatic review settings August 20, 2026 22:21

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.

Review details

Suppressed comments (1)

.github/workflows/pr-duplicate-check.md:12

  • This changes the repository's live PR duplicate-check workflow even though the PR is described as adding only an installable skill. The model pin also propagates to the generated threat-detection job, while the adjacent pre-agent step changes runner setup; please either revert these source and lock-file changes or document and justify this separate operational change.
model: claude-sonnet-5
  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Fork pull_request tokens cannot receive copilot-requests: write, so running the agent always fails authentication. Keep the check enabled for same-repository PRs and preserve the Copilot CLI sandbox path repair.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 8938494a-c76a-4a44-bfd2-a98edff33860
Copilot AI review requested due to automatic review settings August 20, 2026 22:29

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.

Review details

Suppressed comments (2)

Previously missed (1) — in code that hasn't changed since the last review.

.github/workflows/pr-duplicate-check.md:19

  • This step fails on the installer's cache-miss path. In that path install_copilot_cli.sh installs the binary at /usr/local/bin/copilot, so command -v returns that same path and ln -sfn /usr/local/bin/copilot /usr/local/bin/copilot exits nonzero under the step's fail-fast shell. Only create the symlink when the resolved binary is elsewhere, then recompile the lock file.
      COPILOT_BIN="$(command -v copilot)"
      test -x "$COPILOT_BIN"
      sudo ln -sfn "$COPILOT_BIN" /usr/local/bin/copilot

.github/workflows/pr-duplicate-check.md:15

  • This workaround is emitted only in the main agent job. The generated threat-detection job separately installs Copilot and invokes the same hard-coded /usr/local/bin/copilot path, so a tool-cache hit still leaves threat detection without that binary; its continue-on-error then masks the failure. Apply the shim through a runtime/compiler mechanism that covers every Copilot invocation, and regenerate the lock file.
pre-agent-steps:
  - name: Expose Copilot CLI to the sandbox
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Balanced

@@ -3,7 +3,6 @@ description: 'Checks PRs for potential duplicate agents, instructions, skills, a
on:
pull_request:
types: [opened, synchronize, reopened]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-submission PR adds at least one new contribution skills PR touches skills workflow PR touches workflow automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants