self-upgrade
Solid9-step in-place upgrade from marketplace remote. Triggered by bin/update-check returning UPGRADE_AVAILABLE OR /upgrade command. Backs up old version + git fetch + version sync + cache purge + changelog summary.
AI & Automation 49 stars
13 forks Updated 3 weeks ago Apache-2.0
Install
Quality Score: 82/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Self Upgrade
Per toprank pattern: 9-step upgrade with dev-symlink detection.
## Workflow
```
1. Log start to ~/.xuanran-seo/upgrade-log.json
2. Detect install dir + check for dev-symlink (skip upgrade if dev mode)
3. Save current version + state to /tmp/xs-upgrade-backup/
4. git fetch origin main + git reset --hard origin/main in marketplace clone
5. rsync to versioned cache dir
6. Update ~/.claude/plugins/installed_plugins.json:
- new installPath
- new version
- new gitCommitSha
7. Purge old cache (keep only latest 3 versions + dev)
8. Parse CHANGELOG.md between old and new versions → 3-7 bullets
9. Write ~/.xuanran-seo/just-upgraded-from = old_version
Clear ~/.xuanran-seo/last-update-check
Resume original skill that triggered upgrade
```
## Entry points
- Inline: `bin/update-check` returns `UPGRADE_AVAILABLE x.y.z` → auto-trigger
- Standalone: `/upgrade` command
## See also
- `bin/update-check`
- `bin/preamble.md` (consumed UPGRADE_AVAILABLE signal)
Details
- Author
- XuanRanL
- Repository
- XuanRanL/loamwright-SEO-Skill
- Created
- 1 months ago
- Last Updated
- 3 weeks ago
- Language
- Python
- License
- Apache-2.0
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
upgrade
Upgrade the NotFair plugin to the latest version. Updates the marketplace repo, installs the new version to the plugin cache, and updates installed_plugins.json. Use when asked to "upgrade notfair", "update notfair", or "get latest version". Also handles inline upgrade prompts when a skill detects UPGRADE_AVAILABLE at startup.
3,344 Updated 1 months ago
nowork-studio AI & Automation Listed
upgrade
Update marketplace, bundle and every module; show changelog since the installed version; apply migration notes; re-run doctor.
8 Updated 4 days ago
Adilmunawar