Skip to content
Back to skills

Ac Workspace Manager

ASecurity

Manage git worktrees for isolated development. Use when creating isolated workspaces, managing parallel development, handling worktree lifecycle, or merging completed work.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentspythongitapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ac-workspace-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ac Workspace Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ac Workspace Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ac-workspace-manager-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-ac-workspace-manager-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ac-workspace-manager
description: Manage git worktrees for isolated development. Use when creating isolated workspaces, managing parallel development, handling worktree lifecycle, or merging completed work.
---

# AC Workspace Manager

Manage git worktrees for isolated autonomous development.

## Purpose

Provides workspace isolation using git worktrees, enabling parallel development and safe rollback without affecting the main branch.

## Quick Start

```python
from scripts.workspace_manager import WorkspaceManager

manager = WorkspaceManager(project_dir)
worktree = await manager.create_worktree("feature-auth")
await manager.merge_completed(worktree)
```

## Worktree Strategy

```
main branch (stable)
│
├── .worktrees/
│   ├── build-001/  ← Isolated worktree
│   ├── build-002/  ← Another build
│   └── build-003/  ← Parallel work
│
└── project files
```

## Workflow

1. **Create**: New worktree from main branch
2. **Develop**: All changes in isolated workspace
3. **Review**: Review changes before merge
4. **Merge**: Merge back to main
5. **Cleanup**: Remove worktree

## API

```python
# Create new worktree
worktree = await manager.create_worktree("build-001")

# Get current worktree
current = await manager.get_current_worktree()

# List all worktrees
worktrees = await manager.list_worktrees()

# Merge completed work
await manager.merge_completed(worktree)

# Cleanup worktree
await manager.cleanup_worktree(worktree)
```

## Integration

- Used by: `ac-session-manager` for session isolation
- Uses: `ac-checkpoint-manager` for rollback points

## API Reference

See `scripts/workspace_manager.py` for full implementation.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.