feat: add copy install command from skills list and modal#1424
Merged
aaronpowell merged 3 commits intostagedfrom Apr 17, 2026
Merged
feat: add copy install command from skills list and modal#1424aaronpowell merged 3 commits intostagedfrom
aaronpowell merged 3 commits intostagedfrom
Conversation
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>
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>
Copilot created this pull request from a session on behalf of
aaronpowell
April 17, 2026 01:35
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Awesome Copilot docs and website UI to promote/support the new gh skill install command, including adding one-click copy of the install command from the skills list and from the file modal.
Changes:
- Add a shared
REPO_IDENTIFIERconstant for buildinggh skill install …commands in the website scripts. - Add “Copy Install” UI in the skills list and in the modal (skills only), with clipboard copy + toast feedback.
- Update docs to recommend
gh skill install github/awesome-copilot <skill-name>as the primary installation method, keeping manual copy as a fallback.
Show a summary per file
| File | Description |
|---|---|
| website/src/scripts/utils.ts | Exports REPO_IDENTIFIER for consistent install command generation. |
| website/src/scripts/pages/skills.ts | Handles “Copy Install” clicks and copies the CLI install command to clipboard. |
| website/src/scripts/pages/skills-render.ts | Renders a “Copy Install” button per skill card. |
| website/src/scripts/modal.ts | Adds a modal toolbar “Copy Install” button (skills only) and copies the install command. |
| website/src/components/Modal.astro | Adds the modal “Copy Install” button markup. |
| website/src/content/docs/learning-hub/cli-for-beginners/05-skills.md | Documents gh skill install usage + examples and keeps manual install section. |
| eng/constants.mjs | Updates generated skills usage text to include gh skill install as primary. |
| docs/README.skills.md | Updates skills README usage to include gh skill install as primary. |
Copilot's findings
- Files reviewed: 8/8 changed files
- Comments generated: 4
Comment on lines
112
to
+117
| list.addEventListener("click", (event) => { | ||
| const target = event.target as HTMLElement; | ||
|
|
||
| const copyInstallButton = target.closest( | ||
| ".copy-install-btn" | ||
| ) as HTMLButtonElement | null; |
| ); | ||
| if (success) { | ||
| btn.innerHTML = | ||
| '<svg viewBox="0 0 16 16" width="16" height="16" fill="currentColor"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z"/></svg> Copied!'; |
aaronpowell
reviewed
Apr 17, 2026
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>
Copilot
AI
changed the title
feat: add
feat: add copy install command from skills list and modal
Apr 17, 2026
gh skill install support — copy install command from skills list and modal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.stagedbranch for this pull request.Description
Surfaces a one-click copy of the
gh skill installcommand directly from the skills UI, and updates docs to recommendgh skill install github/awesome-copilot <skill-name>as the primary installation method.Docs updates (
eng/constants.mjs,docs/README.skills.md)gh skill install github/awesome-copilot <skill-name>as the primary install method; manualcpkept as fallbackWebsite UI (
skills-render.ts,skills.ts,Modal.astro,modal.ts,utils.ts)gh skill install github/awesome-copilot <skill-id>to clipboard with a brief ✓ feedback stateREPO_IDENTIFIERconstant inutils.tsto avoid duplication# What gets copied to clipboard gh skill install github/awesome-copilot code-checklistType of Contribution
gh skill installCLI commandAdditional Notes
REPO_IDENTIFIERis exported fromutils.tsand consumed by bothskills.tsandmodal.ts, so a future repo rename is a single-line change.By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.