跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Toprank Upgrade

技能 已验证 活跃
属于:Toprank

Upgrade toprank 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 toprank", "update toprank", or "get latest version". Also handles inline upgrade prompts when a skill detects UPGRADE_AVAILABLE at startup.

目的

To ensure users always have the latest version of the toprank plugin installed with minimal manual effort, providing a reliable and up-to-date experience.

功能

  • Automated plugin upgrades
  • Marketplace repository updates
  • Plugin cache management
  • installed_plugins.json updates
  • Handles inline upgrade prompts
  • Detects and respects dev symlinks

使用场景

  • When asked to upgrade or update the toprank plugin.
  • When a skill detects an UPGRADE_AVAILABLE prompt at startup.
  • Ensuring the toprank plugin is always on the latest stable version.

非目标

  • Performing any other plugin management tasks.
  • Upgrading any plugins other than toprank.
  • Installing toprank for the first time (assumes existing installation).

工作流

  1. Check for dev symlink; if found, stop.
  2. Detect current installation path and marketplace repo.
  3. Save the old version number.
  4. Fetch and reset the marketplace repo to main.
  5. Get the new version number and git SHA.
  6. Copy plugin files to the new versioned cache directory.
  7. Update installed_plugins.json with the new version.
  8. Clean up old cache versions, preserving 'dev'.
  9. Write a marker indicating the previous version and clear update state.
  10. Read and summarize the CHANGELOG.md for user-facing changes.
  11. Display 'What's New' summary and continue with the original skill.

安装

请先添加 Marketplace

/plugin marketplace add nowork-studio/toprank
/plugin install toprank@nowork-studio

质量评分

已验证
100 /100
1 day ago 分析

信任信号

最近提交4 days ago
星标2.1k
许可证MIT
状态
查看源代码