From 6beba0975b85682ef571ebf419d21e2367916533 Mon Sep 17 00:00:00 2001 From: Garfield Date: Sun, 29 Mar 2026 13:35:23 +0800 Subject: [PATCH] fix: address Copilot review comments - Remove displayName from plugin.json (not in Copilot manifest schema) - Use ln -sf for idempotent skill symlinks - Use rm -f for safer uninstall Co-Authored-By: Claude Sonnet 4.6 --- .copilot-plugin/plugin.json | 1 - .vscode/INSTALL.md | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.copilot-plugin/plugin.json b/.copilot-plugin/plugin.json index c1a0f00..cadcb4c 100644 --- a/.copilot-plugin/plugin.json +++ b/.copilot-plugin/plugin.json @@ -1,6 +1,5 @@ { "name": "understand-anything", - "displayName": "Understand Anything", "description": "AI-powered codebase understanding — analyze, visualize, and explain any project", "version": "2.0.0", "author": { diff --git a/.vscode/INSTALL.md b/.vscode/INSTALL.md index 0c46a57..81b895e 100644 --- a/.vscode/INSTALL.md +++ b/.vscode/INSTALL.md @@ -28,7 +28,7 @@ Skills will appear when you type `/` in GitHub Copilot Chat. mkdir -p ~/.copilot/skills SKILLS_DIR=~/understand-anything/understand-anything-plugin/skills for skill in "$SKILLS_DIR"/*/; do - ln -s "$skill" ~/.copilot/skills/$(basename "$skill") + ln -sf "$skill" ~/.copilot/skills/$(basename "$skill") done # Universal plugin root symlink — lets the dashboard skill find packages/dashboard/ # Skip if already exists (e.g. another platform was installed first) @@ -75,8 +75,8 @@ Skills update instantly through the symlinks. ```bash for skill in understand understand-chat understand-dashboard understand-diff understand-explain understand-onboard; do - rm ~/.copilot/skills/$skill + rm -f ~/.copilot/skills/$skill done -rm ~/.understand-anything-plugin +rm -f ~/.understand-anything-plugin rm -rf ~/understand-anything ```