Loading...
Loading...
Check for skills-for-fabric marketplace updates at session start. Compares local version against GitHub releases and shows changelog if updates are available. Use when the user wants to: (1) check for skill updates, (2) see what's new in skills-for-fabric, (3) verify current version. Triggers: "check for updates", "am I up to date", "what version", "update skills", "show changelog".
npx skill4agent add microsoft/skills-for-fabric check-updates~/.config/fabric-collection/last-update-check.json{
"skills-for-fabric": "2026-02-17",
"another-plugin": "2026-02-16"
}~/.config/fabric-collection/last-update-check.jsonIMPORTANT — use UTC consistently: Always use the current UTC date when saving and comparing the last-update-check timestamp. Do not use the local system timezone, as it varies across environments and can cause the check to run too often or be skipped. In shell, use(Linux/macOS) ordate -u +%Y-%m-%d(PowerShell).(Get-Date).ToUniversalTime().ToString("yyyy-MM-dd")
Note: Create thedirectory if it does not exist. On Windows, use~/.config/fabric-collection/.$env:USERPROFILE\.config\fabric-collection\
versionpackage.jsonrepositoryplugin.jsonpackage.jsonownerrepoplugin.json → "repository": "https://github.com/<owner>/<repo>"
package.json → "repository.url": "https://github.com/<owner>/<repo>.git"CRITICAL: Use the owner string exactly as it appears in the URL. Do NOT alter, normalize, or "correct" the owner name (e.g., do NOT replace underscores with hyphens). The owneruses an underscore — this is intentional and correct.bocrivat_microsoft
IMPORTANT: Methods A and B work with both public and private repositories. Method C only works with public repos. Always attempt A or B first.
package.jsongit fetch origin main --quiet
git show origin/main:package.jsonversionget_file_contentspackage.jsonget_file_contents(owner: "<owner>", repo: "<repo>", path: "package.json")get_file_contents(owner: "bocrivat_microsoft", repo: "skills-for-fabric", path: "package.json")version⚠️ Only use this method if Methods A and B both fail or are unavailable. This method does not work with private repositories.
GET https://api.github.com/repos/<owner>/<repo>/releases/latesttag_namev0.2.0vNote: This method returns 404 for private repositories. If you receive a 404 error, do NOT assume the repository doesn't exist — retry with Method A or B.
✅ skills-for-fabric v0.1.0 is up to date.╔══════════════════════════════════════════════════════════════════╗
║ 🔄 skills-for-fabric Update Available ║
║ ║
║ Current: v0.1.0 → Latest: v0.2.0 ║
╚══════════════════════════════════════════════════════════════════╝
## What's New in v0.2.0
[Display relevant CHANGELOG.md entries here]
## Update Commands
Choose the update method based on how you installed skills-for-fabric:
### GitHub Copilot CLI
/plugin update skills-for-fabric@fabric-collection
### Manual (Git clone)
cd /path/to/skills-for-fabric
git pull
./install.ps1 # Windows
./install.sh # macOS/Linux
─────────────────────────────────────────────────────────────────
Would you like to update now? (The current skill will still work)~/.config/fabric-collection/last-update-check.json~/.config/fabric-collection/last-update-check.json⚠️ Could not check for skills-for-fabric updates (network error).
Continuing with current version (v0.1.0).
Run '/skill check-updates' manually to retry./skill check-updatesCHANGELOG.md