Skip to content
Agentmart
Submit a tool

revert

Revert a specific phase or the entire feature by logical unit.

Skill by aitechnerd

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aitechnerd-revert

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Revert a specific phase or the entire feature by logical unit. Uses auto-commits from /build-phase to cleanly undo work. Use /revert phase 3, /revert feature, /revert last.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/revert

What's inside

Skill name
revert
Description
Revert a specific phase or the entire feature by logical unit. Uses auto-commits from /build-phase to cleanly undo work. Use /revert phase 3, /revert feature, /revert last.
License
MIT
Instructions
82 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Revert — Semantic Undo by Logical Unit

## Overview

Reverts work by logical unit (phase, feature, or last commit), not by
hunting individual commits. Works because `/build-phase` auto-commits
with structured messages like `[feature-name] Phase 3: Add auth middleware`.

## Usage

### `/revert phase [N]`

Revert a specific phase's commits:

```bash
# Find commits for this phase
FEATURE=$(cat .ai-team/.active)
git log --oneline --grep="\[$FEATURE\] Phase $N"
```

Show the commits that will be reverted:
> "These commits will be reverted:
> - abc1234 [patient-search] Phase 3: Add fuzzy matching
> - def5678 [patient-search] Phase 3: fix test for fuzzy matching
>
> This will undo Phase 3 but keep Phases 1-2 intact.
> Proceed? (yes/no)"

If confirmed:
```bash
# Revert in reverse order (newest first)
git revert --no-commit <commits in reverse>
git commit -m "[{feature}] Revert Phase $N: [phase title]"
```

Update technical-plan.md: mark Phase N back to `- [ ]`.

### `/revert feature`

Revert the entire active feature:

```bash
FEATURE=$(cat .ai-team/.active)
# Find all commits for this feature
git log --oneline --grep="\[$FEATURE\]"
```

Show summary:
> "This will revert ALL commits for `{feature}` ([N] commits).
> The branch will remain but code returns to pre-feature state.
> Proceed? (yes/no)"

If confirmed:
```bash
git revert --no-commit <all feature commits in reverse>
git commit -m "[{feature}] Revert entire feature"
```

### `/revert last`

Revert just the most recent commit:

```bash
git log -1 --oneline
```

> "Revert this commit?
> - abc1234 [patient-search] Phase 2: Add search endpoint
> (yes/no)"

```bash
git revert HEAD --no-edit
```

## Safety

- Always shows what will be reverted BEFORE doing it
- Uses `git revert` (creates new commits), never `git reset` (preserves history)
- Updates technical-plan.md checkboxes to reflect reverted state
- Does NOT delete feature docs (SOW, plan, reviews remain for reference)

From aitechnerd/ai-dev-team, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Mar 22, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aitechnerd

Cite this page

revert skill. Agent Mart. https://agentmart.dev/skills/aitechnerd-revert (last updated 2026-10-24)