Commit 44a72cd
authored
feat: Support GitHub Copilot (#65)
Preparation to support GitHub Copilot via [Awesome GitHub Copilot](https://awesome-copilot.github.com/).
See:
- #38
- github/awesome-copilot#1889
- github/awesome-copilot#1890
JIRA: CPOUI5FOUNDATION-1240
* refactor: Remove duplicate plugin.json
Claude Code also supports the root `plugin.json` file.
* refactor(ui5-typescript-conversion): Move skill to sub-dir
Although this seems to have worked with Claude Code, it is generally
required to place each skill in a separate sub-directory with the same
name as the skill.
* refactor(ui5): Do not list skills individually
* ci: Verify plugin.json copies stay in sync with root
Add CI step that fails when any registered copy of plugins/<name>/plugin.json
differs from the root file. Currently checks .github/plugin/plugin.json,
required by github/awesome-copilot external-plugin smoke test.
* ci: Add plugin.json copies for awesome-copilot smoke test
Copy each plugins/<name>/plugin.json to <name>/.github/plugin/plugin.json,
required by github/awesome-copilot external-plugin install verification.
Sync with root enforced by CI step added in previous commit.
* fix(ui5): Normalize keywords to lowercase-hyphenated form
The github/awesome-copilot marketplace's external-plugin validator
rejects keywords containing spaces or uppercase characters; only
lowercase letters, digits, and hyphens are allowed (max 30 chars,
max 10 entries per plugin).
Replace 'api documentation', 'development guidelines', and
'best practices' with their hyphenated equivalents so the plugin
passes intake validation when listed in plugins/external.json.
Reference:
- awesome-copilot/eng/external-plugin-validation.mjs (regex /^[a-z0-9-]+$/)
- awesome-copilot/CONTRIBUTING.md - 'Adding External Plugins'
('keywords as lowercase hyphenated tags')
* fix(ui5): Wrap MCP server config in mcpServers key
Align with the plugin spec, which requires a top-level "mcpServers"
wrapper around server entries. Both Claude Code and Copilot CLI
tolerated the flat shape, but the spec-compliant form is safer for
strict validators down the line.1 parent 0450fe9 commit 44a72cd
7 files changed
Lines changed: 40 additions & 17 deletions
File tree
- .github/workflows
- plugins
- ui5-typescript-conversion
- .github/plugin
- skills/ui5-typescript-conversion
- references
- ui5
- .github/plugin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 22 | + | |
26 | 23 | | |
0 commit comments