Skip to content

Instructions: prefer built-in skills:/plugins: frontmatter over on-the-fly installs - #54880

Merged
pelikhan merged 2 commits into
mainfrom
copilot/task-9919-1036865607-cac9d1ce-1917-439b-9435-11989c4624d9
Aug 22, 2026
Merged

Instructions: prefer built-in skills:/plugins: frontmatter over on-the-fly installs#54880
pelikhan merged 2 commits into
mainfrom
copilot/task-9919-1036865607-cac9d1ce-1917-439b-9435-11989c4624d9

Conversation

Copilot AI commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The authoring instructions covered skills: only in passing and said nothing about plugins:, leaving room for agents to generate run-time installation steps. gh-aw already resolves, pins, and installs both before the agent starts, so the guidance should point at the frontmatter fields and rule out on-the-fly installs.

.github/aw/skills.md

  • Top-level rule: user-requested skills/plugins go into skills: / plugins:; no gh skill install, copilot plugin install, npx, curl, git clone steps, and no prompt text asking the agent to install at run time.
  • New "Frontmatter plugins:" section: owner/repo[/path]@ref form, compile-time SHA pinning, engine support (copilot/claude/codex, behaviors.plugins), public-repo constraint, experimental warning.
  • New anti-pattern entry for on-the-fly installation.

Creator / updater / designer prompts

  • create-agentic-workflow.md: conditional load of skills.md plus a "Skills and Plugins" rule.
  • update-agentic-workflow.md: matching update rule and a minimal example.
  • designer.md: phase 7b now asks about plugins, the workflow skeleton includes plugins:, and the validation checklist gained pinned-plugin and no-runtime-install items.

Skills

  • agentic-workflows/SKILL.md: routing entry for skill/plugin requests.
  • custom-agents/SKILL.md: example extended with plugins: and the no-runtime-install rule.
skills:
  - mattpocock/skills/tdd@801dca688564c529fa84f247f64472520d9ebe28
plugins:
  - octo-org/agent-plugin@v1

Documentation/instruction-only change; no compiler or workflow behavior is affected.

Copilot AI and others added 2 commits August 22, 2026 17:59
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan August 22, 2026 18:00
@pelikhan
pelikhan marked this pull request as ready for review August 22, 2026 18:01
Copilot AI balanced review requested due to automatic review settings August 22, 2026 18:01
@pelikhan
pelikhan merged commit 4c6e33b into main Aug 22, 2026
@pelikhan
pelikhan deleted the copilot/task-9919-1036865607-cac9d1ce-1917-439b-9435-11989c4624d9 branch August 22, 2026 18:01
Copilot stopped reviewing on behalf of pelikhan due to an error August 22, 2026 18:01

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

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the agentic workflow guidance to treat agent plugins as first-class configuration alongside skills, emphasizing declaration via frontmatter rather than runtime installs.

Changes:

  • Adds consistent guidance across workflow docs to use top-level skills: / plugins: frontmatter and forbid on-the-fly installs.
  • Introduces/expands a dedicated .github/aw/skills.md section documenting plugins: usage and examples.
  • Updates designer/create/update workflow guides to reference the new plugins guidance and checklist items.
Show a summary per file
File Description
.github/skills/custom-agents/SKILL.md Extends skill-install guidance to include plugins: and forbids runtime installs.
.github/skills/agentic-workflows/SKILL.md Adds a pointer to the skills/plugins guidance doc.
.github/aw/update-agentic-workflow.md Adds instructions + example for adding skills:/plugins: in frontmatter.
.github/aw/skills.md Expands doc to cover plugins, adds rules/anti-patterns and a plugins: section.
.github/aw/designer.md Updates workflow design phase/checklist to include plugins: and no on-the-fly installs.
.github/aw/create-agentic-workflow.md Adds a “Skills and Plugins” section and references skills doc when relevant.

Review details

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

  • Files reviewed: 6/6 changed files
  • Comments generated: 4
  • Review effort level: Lite

Comment thread .github/aw/skills.md
Comment on lines 5 to 7
# Skills in Agentic Workflows

Use skills — domain-specific knowledge files (`SKILL.md`) under `skills/` or `.github/skills/` — in workflows.
Comment thread .github/aw/skills.md
Comment on lines +66 to +69
- Experimental: compiling a workflow that uses `plugins:` emits a warning.
- Supported by `copilot`, `claude`, `codex`, and imported engines that declare `engine.behaviors.plugins`; `gemini` and `pi` reject `plugins:` at compile time.
- Plugin repositories must be public — unlike `skills:`, there is no per-entry `github-token`/`github-app`.
- See [syntax-tools-imports.md](syntax-tools-imports.md) for the full field reference.
Comment thread .github/aw/skills.md

## Frontmatter `plugins:` (Preferred for Agent Plugins)

When the user asks for a specific [Agent Plugin](https://agent-plugins.org), declare it in the top-level `plugins:` array. The compiler resolves each `owner/repository[/path]@ref` to a commit SHA at compile time, and the agent job checks out and registers every plugin with the engine before the agent starts.
Comment on lines +403 to 405
Use the `skills:` frontmatter field as the preferred way to install external skills for workflow runs. This installs skills during activation and persists them correctly between jobs. Use the top-level `plugins:` field the same way for agent plugins. Never add on-the-fly installation steps or ask the agent to install a skill or plugin from the prompt.

Use `imports:` for workflow prompt/context files (including local custom agent files), not as the primary skill installation path.
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants