From dddab5e459a65b4f162f33b948e45557fdfea946 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 17 Apr 2026 18:52:15 +1000 Subject: [PATCH] feat: add copy install command from skills list and modal (#1424) * docs: reference gh skill install command for managing agent skills Agent-Logs-Url: https://github.com/github/awesome-copilot/sessions/e8324f6a-26ee-4d2c-b86f-028cf78499d5 Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> * feat: add copy install command button to skills list and modal Agent-Logs-Url: https://github.com/github/awesome-copilot/sessions/efbb7ae2-6ff7-40d2-a8fe-45253caea717 Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> * revert: undo changes to 05-skills.md as requested Agent-Logs-Url: https://github.com/github/awesome-copilot/sessions/ba67c365-f36a-47de-af44-629305b9eb94 Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> --- docs/README.skills.md | 3 +- eng/constants.mjs | 3 +- website/src/components/Modal.astro | 21 +++++++++++++ website/src/scripts/modal.ts | 36 ++++++++++++++++++++++ website/src/scripts/pages/skills-render.ts | 9 ++++++ website/src/scripts/pages/skills.ts | 33 ++++++++++++++++++++ website/src/scripts/utils.ts | 5 +++ 7 files changed, 108 insertions(+), 2 deletions(-) diff --git a/docs/README.skills.md b/docs/README.skills.md index 26affb64..6041106c 100644 --- a/docs/README.skills.md +++ b/docs/README.skills.md @@ -21,7 +21,8 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to **Usage:** - Browse the skills table below to find relevant capabilities -- Copy the skill folder to your local skills directory +- Install a skill using the GitHub CLI: `gh skill install github/awesome-copilot ` (requires [GitHub CLI v2.90.0+](https://github.blog/changelog/2026-04-16-manage-agent-skills-with-github-cli/)) +- Or copy the skill folder manually to your local skills directory - Reference skills in your prompts or let the agent discover them automatically | Name | Description | Bundled Assets | diff --git a/eng/constants.mjs b/eng/constants.mjs index 21a11053..7f1cf724 100644 --- a/eng/constants.mjs +++ b/eng/constants.mjs @@ -103,7 +103,8 @@ See [CONTRIBUTING.md](../CONTRIBUTING.md#adding-skills) for guidelines on how to **Usage:** - Browse the skills table below to find relevant capabilities -- Copy the skill folder to your local skills directory +- Install a skill using the GitHub CLI: \`gh skill install github/awesome-copilot \` (requires [GitHub CLI v2.90.0+](https://github.blog/changelog/2026-04-16-manage-agent-skills-with-github-cli/)) +- Or copy the skill folder manually to your local skills directory - Reference skills in your prompts or let the agent discover them automatically`, hooksSection: `## 🪝 Hooks diff --git a/website/src/components/Modal.astro b/website/src/components/Modal.astro index 59c401bd..82b2e395 100644 --- a/website/src/components/Modal.astro +++ b/website/src/components/Modal.astro @@ -50,6 +50,27 @@ +
+