git-task-workspace
Skill66 starsChanged 2 months agoMITView on GitHub
Manage task-oriented Git worktree workspaces from an upstream source pool. Use when starting a task, checking out worktrees, adding multi-repo dependencies, tearing down workspaces, or setting up the directory layout.
- Deletes or force-pushes
In this repository24 other files it gives its agents.
- antigravity-coding-agentSkill
- audio-transcriptionSkill
- brainstormSkill
- claude-code-coding-agentSkill
- codex-async-followupSkill
- codex-coding-agentSkill
- codex-session-controllerSkill
- codex-session-namingSkill
- cursor-coding-agentSkill
- deslopSkill
- explore-and-planSkill
- faster-learning-coachSkill
- frontend-harness-slidesSkill
- generate-commit-messageSkill
- grok-coding-agentSkill
- home-config-syncSkill
- llm-wiki-captureSkill
- local-file-organizerSkill
- log-driven-debuggingSkill
- long-task-controlSkill
- parallel-goal-workflowsSkill
- say-that-againSkill
- write-unit-testSkill
- x-twitter-readerSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Do not make dirty edits, run builds, or place temporary artifacts here.
- Distinctive: line 27
Start points can be the default trunk, an older commit, or an existing branch.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Git Task Workspace
Operate isolated, task-oriented worktrees from an upstream repository pool.
Invariants
source-pool: Clean, read-only upstream repository pool tracking trunk branches. Do not make dirty edits, run builds, or place temporary artifacts here.workspace: Task directory root where every work item gets a dedicated folder (<workspace>/<task-name>/). Worktrees are checked out here.single-owner: A task directory belongs to one active work stream. Multi-repo dependencies co-locate under that same task directory.
Workflow
start-task: Create<workspace>/<task-name>/. For each required repository in the source pool, add a worktree into the task directory:git -C <source>/<repo> worktree add <workspace>/<task-name>/<repo> -b <branch> [start-point]Start points can be the default trunk, an older commit, or an existing branch.multi-repo: When a task spans multiple repositories, check out worktrees for all affected repositories directly into<workspace>/<task-name>/.add-repo: If an un-cloned dependency is needed mid-task, clone it into the source pool first, then add a worktree into the active task directory.tear-down: After code is merged or abandoned, remove the task directory (rm -rf <workspace>/<task-name>) and prune worktree references:git -C <source>/<repo> worktree pruneThe source pool remains pristine.
Setup and Migration
To initialize a new source/workspace layout, generate local AGENTS.md rules,
or migrate existing repositories, read references/setup.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

