Agent skill

loom-workspace

Use loom workspace to create/manage worktrees for isolated execution of tickets.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/loom-workspace

Metadata

Additional technical details for this skill

tags
git,workflow
version
1
created at
2026-01-27T17:03:09.731823+00:00
updated at
2026-01-27T17:03:09.731823+00:00

SKILL.md

Worktree basics (repo model)

Ensure a worktree exists for a branch:

  • compound_workspace(argv=["repo", "worktree", "add", "<branch>"])

List worktrees:

  • compound_workspace(argv=["repo", "worktree", "ls"])

Remove a worktree:

  • compound_workspace(argv=["repo", "worktree", "rm", "<branch>"])

Repo status:

  • compound_workspace(argv=["repo", "status"])

Branch naming

Recommended:

  • ticket-<ticket-id>-<short-slug>

Example:

  • ticket-42-streaming-chunking

Practical note

OpenCode runs inside one working directory. Typically, this is the main branch worktree. loom workspace creates the worktree path (usually under .loom-repo/worktrees/<branch>). Do the code changes in that worktree.

Manual notes

This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.

Didn't find tool you were looking for?

Be as detailed as possible for better results