用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/g-zenr/relay-api --skill rollback命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | rollback |
| description | Roll back a bad release to the previous known-good version (Marcus workflow) |
| disable-model-invocation | true |
Roll back: $ARGUMENTS
When a release causes production issues and a hotfix isn't feasible, roll back to the last known-good state.
git tag --sort=-v:refname | head -10
git log --oneline -10
Find the last known-good version (usually the tag BEFORE the current one).
git checkout v<known-good-version>
Run the test and type-check commands (see project config) to confirm it's stable.
git checkout main
git revert <bad-commit-hash>
git checkout main
git branch backup/pre-rollback
git reset --hard v<known-good-version>
git push origin main --force-with-lease
Run the test and type-check commands. Verify the app starts correctly using the dev run command (see project config).
git tag -a v<rollback-version> -m "Rollback: reverted to v<known-good>"
git push origin main
git push origin v<rollback-version>
/fix-issue or /hotfixgit revert over git reset --hard (preserves history)