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 <noreply@anthropic.com>
This commit is contained in:
Garfield
2026-03-29 13:35:23 +08:00
Unverified
parent b8a069a65b
commit 6beba0975b
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -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": {
+3 -3
View File
@@ -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
```