agentleFS
LuisUrrutiaLuisUrrutia/skills/worktrunk/SKILL.md

worktrunk

Skill2 starsChanged 57 days agoMITView on GitHub

Use whenever a task involves Worktrunk (`wt`) or `.config/wt.toml`.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use wt for the worktree lifecycle when it is available.

    line 8
  2. Very specific:

    Use --create for a new branch.

    line 19
  3. Very specific:

    Use wt <command> --help for version-specific flags.

    line 22
  4. Distinctive:

    Read only the reference that matches the task:

    line 26

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Worktrunk

Use wt for the worktree lifecycle when it is available. Run it inside the repository.

Core workflow

wt list
wt switch --create <branch>
wt switch <branch>
wt remove
  • Use --create for a new branch. Without it, wt switch enters an existing worktree or creates one for an existing branch.
  • wt switch opens the picker, wt switch - returns to the previous worktree, and wt switch ^ enters the default branch worktree.
  • Continue work in the directory reported by wt. When shell state does not persist between commands, set the next command's working directory explicitly.
  • Use wt <command> --help for version-specific flags. Use raw git worktree commands only when the user requests them or wt is unavailable.

References

Read only the reference that matches the task:

  • Creating or editing .config/wt.toml, choosing hooks, or handling hook approvals: references/project-config.md
  • Editing personal paths or defaults in ~/.config/worktrunk/config.toml: references/user-config.md
  • Using bases, shortcuts, remote branches, pull requests, or non-persistent shells with wt switch: references/switch.md
  • Filtering worktrees or consuming structured wt list output: references/list.md
  • Removing worktrees or branches, especially with force flags: references/remove.md
  • Fixing setup, directory switching, hooks, or slow status collection: references/troubleshooting.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.