mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
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:
@@ -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": {
|
||||
|
||||
Vendored
+3
-3
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user