Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计提醒

conductor-revert导体恢复

Agent Skill

conductor-revert 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

372

周安装

16

GitHub Stars

693

下载量

131
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:conductor-revert(导体恢复)
来源仓库:https://github.com/rmyndharis/antigravity-skills
仓库路径:skills/conductor-revert
安装命令:
npx skills add https://github.com/rmyndharis/antigravity-skills --skill conductor-revert
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rmyndharis/antigravity-skills --skill conductor-revert

简介

用于按逻辑工作单元回滚变更,支持整条 track、特定阶段或单个任务撤销。

  • 具备 git 感知能力,确保回退操作准确无误且不破坏历史记录。
  • 适合开发过程中发现错误需快速还原的场景。
  • 执行前必须明确目标范围,避免过度回退影响其他关联任务进展。
  • conductor-revert 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Revert Track

Revert changes by logical work unit with full git awareness. Supports reverting entire tracks, specific phases, or individual tasks.

Use this skill when

  • Working on revert track tasks or workflows
  • Needing guidance, best practices, or checklists for revert track

Do not use this skill when

  • The task is unrelated to revert track
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Pre-flight Checks

  1. Verify Conductor is initialized:

- Check conductor/tracks.md exists - If missing: Display error and suggest running /conductor:setup first

  1. Verify git repository:

- Run git status to confirm git repo - Check for uncommitted changes - If uncommitted changes exist: WARNING: Uncommitted changes detected Files with changes: {list of files} Options: 1. Stash changes and continue 2. Commit changes first 3. Cancel revert

  1. Verify git is clean enough to revert:

- No merge in progress - No rebase in progress - If issues found: Halt and explain resolution steps

Target Selection

If argument provided:

Parse the argument format:

Full track: {trackId}

  • Example: auth_20250115
  • Reverts all commits for the entire track

Specific phase: {trackId}:phase{N}

  • Example: auth_20250115:phase2
  • Reverts commits for phase N and all subsequent phases

Specific task: {trackId}:task{X.Y}

  • Example: auth_20250115:task2.3
  • Reverts commits for task X.Y only

If no argument:

Display guided selection menu:

What would you like to revert?

Currently In Progress:
1. [~] Task 2.3 in dashboard_20250112 (most recent)

Recently Completed:
2. [x] Task 2.2 in dashboard_20250112 (1 hour ago)
3. [x] Phase 1 in dashboard_20250112 (3 hours ago)
4. [x] Full track: auth_20250115 (yesterday)

Options:
5. Enter specific reference (track:phase or track:task)
6. Cancel

Select option:

Commit Discovery

For Task Revert

  1. Search git log for task-specific commits: git log --oneline --grep="{trackId}" --grep="Task {X.Y}" --all-match
  2. Also find the plan.md update commit: git log --oneline --grep="mark task {X.Y} complete" --grep="{trackId}" --all-match
  3. Collect all matching commit SHAs

For Phase Revert

  1. Determine task range for the phase by reading plan.md
  2. Search for all task commits in that phase: git log --oneline --grep="{trackId}" | grep -E "Task {N}\.[0-9]"
  3. Find phase verification commit if exists
  4. Find all plan.md update commits for phase tasks
  5. Collect all matching commit SHAs in chronological order

For Full Track Revert

  1. Find ALL commits mentioning the track: git log --oneline --grep="{trackId}"
  2. Find track creation commits: git log --oneline -- "conductor/tracks/{trackId}/"
  3. Collect all matching commit SHAs in chronological order

Execution Plan Display

Before any revert operations, display full plan:

================================================================================
                           REVERT EXECUTION PLAN
================================================================================

Target: {description of what's being reverted}

Commits to revert (in reverse chronological order):
  1. abc1234 - feat: add chart rendering (dashboard_20250112)
  2. def5678 - chore: mark task 2.3 complete (dashboard_20250112)
  3. ghi9012 - feat: add data hooks (dashboard_20250112)
  4. jkl3456 - chore: mark task 2.2 complete (dashboard_20250112)

Files that will be affected:
  - src/components/Dashboard.tsx (modified)
  - src/hooks/useData.ts (will be deleted - was created in these commits)
  - conductor/tracks/dashboard_20250112/plan.md (modified)

Plan updates:
  - Task 2.2: [x] -> [ ]
  - Task 2.3: [~] -> [ ]

================================================================================
                              !! WARNING !!
================================================================================

This operation will:
- Create {N} revert commits
- Modify {M} files
- Reset {P} tasks to pending status

This CANNOT be easily undone without manual intervention.

================================================================================

Type 'YES' to proceed, or anything else to cancel:

CRITICAL: Require explicit 'YES' confirmation. Do not proceed on 'y', 'yes', or enter.

Revert Execution

Execute reverts in reverse chronological order (newest first):

Executing revert plan...

[1/4] Reverting abc1234...
      git revert --no-edit abc1234
      ✓ Success

[2/4] Reverting def5678...
      git revert --no-edit def5678
      ✓ Success

[3/4] Reverting ghi9012...
      git revert --no-edit ghi9012
      ✓ Success

[4/4] Reverting jkl3456...
      git revert --no-edit jkl3456
      ✓ Success

On Merge Conflict

If any revert produces a merge conflict:

================================================================================
                           MERGE CONFLICT DETECTED
================================================================================

Conflict occurred while reverting: {sha} - {message}

Conflicted files:
  - src/components/Dashboard.tsx

Options:
1. Show conflict details
2. Abort revert sequence (keeps completed reverts)
3. Open manual resolution guide

IMPORTANT: Reverts 1-{N} have been completed. You may need to manually
resolve this conflict before continuing or fully undo the revert sequence.

Select option:

HALT immediately on any conflict. Do not attempt automatic resolution.

Plan.md Updates

After successful git reverts, update plan.md:

  1. Read current plan.md
  2. For each reverted task, change marker:

- [x] -> [] - [~] -> []

  1. Write updated plan.md
  2. Update metadata.json:

- Decrement tasks.completed - Update status if needed - Update updated timestamp

Do NOT commit plan.md changes - they are part of the revert operation

Track Status Updates

If reverting entire track:

  • In tracks.md: Change [x] or [~] to []
  • Consider offering to delete the track directory entirely

If reverting to incomplete state:

  • In tracks.md: Ensure marked as [~] if partially complete, [] if fully reverted

Verification

After revert completion:

================================================================================
                           REVERT COMPLETE
================================================================================

Summary:
  - Reverted {N} commits
  - Reset {P} tasks to pending
  - {M} files affected

Git log now shows:
  {recent commit history}

Plan.md status:
  - Task 2.2: [ ] Pending
  - Task 2.3: [ ] Pending

================================================================================

Verify the revert was successful:
  1. Run tests: {test command}
  2. Check application: {relevant check}

If issues are found, you may need to:
  - Fix conflicts manually
  - Re-implement the reverted tasks
  - Use 'git revert HEAD~{N}..HEAD' to undo the reverts

================================================================================

Safety Rules

  1. NEVER use git reset --hard - Only use git revert
  2. NEVER use git push --force - Only safe push operations
  3. NEVER auto-resolve conflicts - Always halt for human intervention
  4. ALWAYS show full plan - User must see exactly what will happen
  5. REQUIRE explicit 'YES' - Not 'y', not enter, only 'YES'
  6. HALT on ANY error - Do not attempt to continue past failures
  7. PRESERVE history - Revert commits are preferred over history rewriting

Edge Cases

Track Never Committed

No commits found for track: {trackId}

The track exists but has no associated commits. This may mean:
- Implementation never started
- Commits used different format

Options:
1. Delete track directory only
2. Cancel

Commits Already Reverted

Some commits appear to already be reverted:
  - abc1234 was reverted by xyz9876

Options:
1. Skip already-reverted commits
2. Cancel and investigate

Remote Already Pushed

WARNING: Some commits have been pushed to remote

Commits on remote:
  - abc1234 (origin/main)
  - def5678 (origin/main)

Reverting will create new revert commits that you'll need to push.
This is the safe approach (no force push required).

Continue with revert? (YES/no):

Undo the Revert

If user needs to undo the revert itself:

To undo this revert operation:

  git revert HEAD~{N}..HEAD

This will create new commits that restore the reverted changes.

Alternatively, if not yet pushed:
  git reset --soft HEAD~{N}
  git checkout -- .

(Use with caution - this discards the revert commits)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

24.6%
按下载量换算32

Codex

24.45%
按下载量换算32

windsurf

16.83%
按下载量换算22

trae

12.43%
按下载量换算16

Gemini CLI

7%
按下载量换算9

Antigravity

3.55%
按下载量换算5

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills