mirror of
https://github.com/nextlevelbuilder/ui-ux-pro-max-skill.git
synced 2026-08-13 08:18:36 +00:00
* fix(copilot): generate .prompt.md file for VS Code Copilot slash commands VS Code Copilot requires reusable prompts to be files named `<name>.prompt.md` directly in `.github/prompts/`. The previous config generated `.github/prompts/ui-ux-pro-max/PROMPT.md` (a folder with PROMPT.md inside), which is not recognized as a slash command. Changes: - copilot.json: set skillPath to 'prompts', filename to 'ui-ux-pro-max.prompt.md', add dataPath for data/scripts location - copilot.json: use 'mode: agent' frontmatter (VS Code format) instead of 'name' field - template.ts: add dataPath support so data/scripts go to a separate directory from the prompt file when configured - template.ts: rewrite hardcoded script paths to platform-specific scriptPath for platforms that differ from the default - uninstall.ts: handle copilot-specific file layout during uninstall After this fix, `uipro init --ai copilot` produces: .github/prompts/ui-ux-pro-max.prompt.md (slash command file) .github/prompts/ui-ux-pro-max/data/ (search database) .github/prompts/ui-ux-pro-max/scripts/ (search engine) * fix(copilot): apply prompt-file layout fix to canonical source template Address review feedback on PR #328: - Update src/ui-ux-pro-max/templates/platforms/copilot.json (source of truth) with the same .prompt.md layout fix that was previously applied only to the packaged CLI asset copy - Sync cli/assets/templates/platforms/copilot.json byte-for-byte from the source template (also fixes stale '15 technology stacks' count; there are 16 stack CSVs) Smoke check (uipro init --ai copilot --offline): .github/prompts/ui-ux-pro-max.prompt.md (slash command, mode: agent) .github/prompts/ui-ux-pro-max/data/ (search database) .github/prompts/ui-ux-pro-max/scripts/ (search engine) uninstall --ai copilot removes both the prompt file and data directory. --------- Co-authored-by: vkayata <volkan.kayatas@mercedes-benz.com>
23 lines
950 B
JSON
23 lines
950 B
JSON
{
|
|
"platform": "copilot",
|
|
"displayName": "GitHub Copilot",
|
|
"installType": "full",
|
|
"folderStructure": {
|
|
"root": ".github",
|
|
"skillPath": "prompts",
|
|
"filename": "ui-ux-pro-max.prompt.md",
|
|
"dataPath": "prompts/ui-ux-pro-max"
|
|
},
|
|
"scriptPath": "prompts/ui-ux-pro-max/scripts/search.py",
|
|
"frontmatter": {
|
|
"description": "Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 22 technology stacks.",
|
|
"mode": "agent"
|
|
},
|
|
"sections": {
|
|
"quickReference": false
|
|
},
|
|
"title": "ui-ux-pro-max",
|
|
"description": "Comprehensive design guide for web, mobile, and desktop applications. Contains 67 styles, 161 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 22 technology stacks. Searchable database with priority-based recommendations.",
|
|
"skillOrWorkflow": "Workflow"
|
|
}
|