Skip to content

Commit 868f655

Browse files
fix(docs): update install badges to use aka.ms redirect URLs (#114)
# Pull Request ## Description Update README install badges to use aka.ms short links instead of raw `vscode:` URI schemes. GitHub sanitizes custom URI schemes in markdown for security reasons, causing the install badges to not work when clicked. The fix uses the pattern: `aka.ms` → `vscode.dev/redirect` → `vscode:` URI This is the official Microsoft pattern for VS Code extension install links on GitHub, as documented in [github/awesome-copilot](https://github.com/github/awesome-copilot). ## Related Issue(s) Fixes #113 ## Type of Change Select all that apply: **Code & Documentation:** - [ ] Bug fix (non-breaking change fixing an issue) - [ ] New feature (non-breaking change adding functionality) - [ ] Breaking change (fix or feature causing existing functionality to change) - [x] Documentation update **Infrastructure & Configuration:** - [ ] GitHub Actions workflow - [ ] Linting configuration (markdown, PowerShell, etc.) - [ ] Security configuration - [ ] DevContainer configuration - [ ] Dependency update **AI Artifacts:** - [ ] Reviewed contribution with `prompt-builder` chatmode and addressed all feedback - [ ] Copilot instructions (`.github/instructions/*.instructions.md`) - [ ] Copilot prompt (`.github/prompts/*.prompt.md`) - [ ] Copilot chatmode (`.github/chatmodes/*.chatmode.md`) **Other:** - [ ] Script/automation (`.ps1`, `.sh`, `.py`) - [ ] Other (please describe): ## Testing - [ ] Verified badges render correctly in GitHub README preview - [ ] Tested aka.ms links redirect to vscode.dev/redirect (pending aka.ms link creation) - [ ] Confirmed vscode.dev/redirect properly triggers VS Code install **Note:** aka.ms short links must be created in the aka.ms portal with the following targets: - `https://aka.ms/install-hve-core` → `https://vscode.dev/redirect?url=vscode%3Achat-agent%2Finstall%3Furl%3Dhttps%253A%252F%252Fraw.githubusercontent.com%252Fmicrosoft%252Fhve-core%252Frefs%252Fheads%252Fmain%252F.github%252Fagents%252Fhve-core-installer.agent.md` - `https://aka.ms/install-hve-core-insiders` → `https://vscode.dev/redirect?url=vscode-insiders%3Achat-agent%2Finstall%3Furl%3Dhttps%253A%252F%252Fraw.githubusercontent.com%252Fmicrosoft%252Fhve-core%252Frefs%252Fheads%252Fmain%252F.github%252Fagents%252Fhve-core-installer.agent.md` ## Checklist ### Required Checks - [x] Documentation is updated (if applicable) - [x] Files follow existing naming conventions - [x] Changes are backwards compatible (if applicable) ### Required Automated Checks The following validation commands must pass before merging: - [ ] Markdown linting: `npm run lint:md` - [ ] Spell checking: `npm run spell-check` - [ ] Frontmatter validation: `npm run lint:frontmatter` - [ ] Link validation: `npm run lint:md-links` - [ ] PowerShell analysis: `npm run lint:ps` ## Security Considerations - [x] This PR does not contain any sensitive or NDA information - [x] Any new dependencies have been reviewed for security issues - [x] Security-related scripts follow the principle of least privilege ## Additional Notes The vscode.dev/redirect service is Microsoft's official solution for handling custom URI schemes on platforms that sanitize them (like GitHub). This pattern is used by the official GitHub Copilot awesome-list. 🔗 - Generated by Copilot
1 parent c3af708 commit 868f655

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ estimated_reading_time: 2
1717

1818
An open-source library of Hypervelocity Engineering components that accelerates Azure solution development by enabling advanced conversational workflows.
1919

20-
[![Install HVE Core](https://img.shields.io/badge/Install_HVE_Core-007ACC?style=for-the-badge&logo=visualstudiocode&logoColor=white)](vscode:chat-agent/install?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2Fhve-core%2Fmain%2F.github%2Fagents%2Fhve-core-installer.agent.md) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=for-the-badge&logo=visualstudiocode&logoColor=white)](vscode-insiders:chat-agent/install?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmicrosoft%2Fhve-core%2Fmain%2F.github%2Fagents%2Fhve-core-installer.agent.md)
20+
[![Install HVE Core](https://img.shields.io/badge/Install_HVE_Core-007ACC?style=for-the-badge&logo=visualstudiocode&logoColor=white)](https://aka.ms/install-hve-core) [![Install in VS Code Insiders](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=for-the-badge&logo=visualstudiocode&logoColor=white)](https://aka.ms/install-hve-core-insiders)
2121

2222
**Quick Install:** Automated installation via the `hve-core-installer` agent in VS Code (~30 seconds)
2323

0 commit comments

Comments
 (0)