agentleFS
ShakhzodbekBabakulovShakhzodbekBabakulov/worktree-guard/skills/work/SKILL.md

work

Skill1 starsChanged 3 months agoMITView on GitHub

Start or resume an isolated coding workspace on the user's /work request.

21 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use docs, review and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    docs

    Also in 5 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 6 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 5 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

  • Other versions21 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 21

    1. cwinvestments/memstack★ 422same name
    2. automagik-dev/genie★ 345same name
    3. ohad6k/emulo★ 293same name
    4. OutThisLife/brooklyn-skills★ 197same name
    5. guardana/guardana★ 145same name
    6. Towow-ai/Flowness★ 105same name
    7. assaio/assaio★ 63same name
    8. dwiedeman/work-harness★ 4same name
    9. therealtinhtute/mono-harness★ 4same name
    10. dakl/engram★ 2same name

    11 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Distinctive:

    Prefer native workspace tools: Claude EnterWorktree.

    line 14
  2. Distinctive:

    Only when no native workspace facility exists, use the terminal fallback:

    line 15
  3. Distinctive:

    Follow documented project dependency/setup instructions there.

    line 23

“Common” is measured: kept by at least 6 in 10 of the 17 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

/work — start or resume

Host: {{WG_HOST}}. Workflow: /work → /push → /ship → /done. Respect repository instructions, task scope, and normal host permissions.

  1. Inspect instructions, Git status, registered worktrees, current branch and remote default. Use the user's branch name; otherwise derive a short task name, prefixed codex/ for Codex or worktree- for Claude. Ask only if the task is unclear.
  2. Resume an exact matching workspace or existing branch before creating anything. Reuse an already suitable isolated workspace, including an unnamed native Codex worktree. Preserve edits; never stash, reset, discard, or relocate unrelated work automatically. Do not use substring matches to choose among branches.
  3. Prefer native workspace tools: Claude EnterWorktree; Codex Worktree/Handoff. Never nest another worktree or create a separate Codex task unless requested. If the host has native UI controls but cannot move this task itself, explain the required handoff and wait.
  4. Only when no native workspace facility exists, use the terminal fallback:

    {{WG_HELPERS}}/worktree-start <exact-branch-name>

    --path <directory> selects a new location. This resumes exact existing work, checks out an existing branch, or creates fresh work from the fetched remote default. Do not override refusals with force.

  5. Verify the host task's actual working directory and Git workspace. A shell cd does not move a desktop task. If a native transition is unavailable, stop with the UI instruction instead of silently pointing tools elsewhere. In a terminal-only host, enter the printed workspace explicitly.
  6. Follow documented project dependency/setup instructions there. Do not copy secrets or share dependency folders automatically. Report missing local configuration.
  7. Report the workspace and branch (or isolated unnamed native worktree), then continue the authorized task. Next: /push for review, or /ship to prepare and merge.

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.