Agent skill · aliyun

alibabacloud-migration-dbm-redis-shake-migration

端到端管理 RedisShake 数据迁移任务:从用户提供的 Excel 表格、文本描述或逐项问答中提取迁移信息,生成 shake.toml 配置文件,并在本地或通过 SSH 远程部署、启动、停止、监控迁移任务。当用户需要配置 Redis 迁移/同步、提供了含 Redis 地址密码等信息的文本/表格、需要启动或管理 RedisShake 任务、或通过 SSH 远程操作服务器时触发。本 skill 不适用于:MongoDB/MySQL/ES 等非 Redis 数据迁移、Redis 内存 dump 备份、集群拓扑改造、未提供 SSH 凭证的远程操作;本 skill 不验证迁移后的数据一致性(推荐使用redis-full-check进行校验),仅在已部署 redis-shake 二进制的 Linux 服务器上运行。

What it needs

About 10k tokens when loaded.

What this skill does

RedisShake Migration Task Management This skill works well on Agent platforms that support Bash/Shell tools (Qoder, Claude Code, Cursor, etc.); it does not support browser-only Agents. End-to-end workflow: collect info -> generate config -> deploy to server -> start running -> monitor progress User-facing language: Communicate with the user in their language (Chinese by default for this skill). All user-facing templates in this document (e.g., confirmation prompts, clarification lists, authorization recitations) are written in English for reference - when presenting them to the user, render them in the user's language. Prerequisites Local machine (the machine running the Agent) bash 4+ OpenSSH client (ssh / scp / ssh-copy-id) tar, sha256sum Target server Linux x8664 (glibc >= 2.17) bash 4+ Optional: systemd (production mode) Troubleshooting and verification tools (as needed) redis-cli (data sampling before/after migration) python3 >= 3.11 (tomllib module, for validating toml syntax) Optional hardening envsubst (from the gettext package, used by the credential-hardening approach) --- ReAct Execution Rules Max tool calls: 10 (migration tasks involve multiple steps; when exceeded, report to the user and ask whether to continue) SSH connection failure retries: at most 2; if it still fails, stop and output the error log for the user to troubleshoot Config validation failure: do not retry; return the specific offending field and correction advice directly Repeated commands: stop after the same command fails twice in a row; do not auto-retry further --- Entry Routing: jump by user intent Determine which stage is needed based on the user input. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aliyun/alibabacloud-migration-dbm-redis-shake-migration

View the source on GitHub

Browse the @skills marketplace