copilot_buttons_from_github
Generate VS Code install buttons for GitHub files by specifying owner, repo, path, and optional branch, simplifying code sharing and collaboration.
Instructions
Generate VS Code install buttons for a GitHub file using owner/repo/path and optional branch.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | main | |
kind | Yes | Install kind | |
owner | Yes | ||
path | Yes | Path within the repo | |
repo | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"branch": {
"default": "main",
"type": "string"
},
"kind": {
"description": "Install kind",
"enum": [
"chat-instructions",
"chat-prompt",
"chat-mode"
],
"type": "string"
},
"owner": {
"type": "string"
},
"path": {
"description": "Path within the repo",
"type": "string"
},
"repo": {
"type": "string"
}
},
"required": [
"kind",
"owner",
"repo",
"path"
],
"type": "object"
}