dev-worktree
Skill1.6k starsChanged 3 months agoApache-2.0View on GitHub
AI DevKit · Worktree setup and resume guidance for isolated feature work. Use when starting, resuming, switching, or verifying a feature branch/worktree for lifecycle, debugging, implementation, review, or multi-agent workflows.
- Installs packages
Trending
More talk lately.thin dataabout the whole repository
Who's talking about codeaholicguy/ai-devkit
- A Hacker News story“I collected all valuable AI Skills repositories”Hacker News · Feb 3, 2026 · 2 points
- A Hacker News story“AI-Devkit”Hacker News · Oct 16, 2025 · 1 points
- sudosubin/agents.nix“codex-plugins.github.codeaholicguy.ai-devkit: init at 0-unstable-2026-10-04”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.codeaholicguy.ai-devkit: 0-unstable-2026-09-27 → 0-unstable-2026-10-04”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.codeaholicguy.ai-devkit: 0.61.0-unstable-2026-09-20 → 0-unstable-2026-09-27”GitHub · Oct 3, 2026
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub and Hacker News (11 times).
On GitHub · 9
- Oct 4, 2026codex-plugins.github.codeaholicguy.ai-devkit: init at 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.codeaholicguy.ai-devkit: 0-unstable-2026-09-27 → 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.codeaholicguy.ai-devkit: 0.61.0-unstable-2026-09-20 → 0-unstable-2026-09-27 — sudosubin/agents.nix0 reactions
- Sep 26, 2026[Candidate] codeaholicguy/ai-devkit/skills/agent-orchestration - agent-orchestration — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] codeaholicguy/ai-devkit/skills/agent-management - agent-management — ProSkillsMD/proskills0 reactions · 2 comments
4 more on GitHub
- Sep 26, 2026[Candidate] codeaholicguy/ai-devkit/skills/agent-communication - agent-communication — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026agent-skills.github.codeaholicguy.ai-devkit: init at 0.61.0-unstable-2026-09-20 — sudosubin/agents.nix0 reactions
- Aug 27, 2026[Resource]: AI DevKit — hesreallyhim/awesome-claude-code0 reactions · 1 comment
- Apr 18, 2026Audit candidate: codeaholicguy/ai-devkit — xiaolai/nlpm0 reactions · 4 comments
On Hacker News · 2
- Feb 3, 2026I collected all valuable AI Skills repositories2 points
- Oct 16, 2025AI-Devkit1 point
In this repository28 other files it gives its agents.
- agent-communicationSkill
- agent-managementSkill
- agent-orchestrationSkill
- ai-devkit-setupSkill
- brainstormSkill
- changelogSkill
- dev-commitSkill
- dev-designSkill
- dev-implementationSkill
- dev-lifecycleSkill
- dev-planningSkill
- dev-prSkill
- dev-requirementsSkill
- dev-reviewSkill
- dev-testingSkill
- document-codeSkill
- memorySkill
- refactorSkill
- remote-from-slackSkill
- remote-from-telegramSkill
- security-reviewSkill
- session-compactSkill
- simplify-implementationSkill
- structured-debugSkill
- taskSkill
- tddSkill
- technical-writerSkill
- verifySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 14 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use feature-<name> for branch and worktree names, where <name> is normalized kebab-case without the prefix.
- Very specific: line 15
Prefer a project-local worktree at <project-root>/.worktrees/feature-<name>.
- Distinctive: line 16
Use no-worktree mode only when the user explicitly requests it.
- Distinctive: line 17
Run all follow-up commands in the verified target context.
- Distinctive: line 21
Use for a new feature start.
- Distinctive: line 25
If the user explicitly requests no worktree:
- Distinctive: line 27
Call out that branch/workspace isolation is reduced.
- Very specific: line 30
Ensure .worktrees is listed in the project .gitignore.
- Very specific: line 31
If branch does not exist, run git worktree add -b feature-<name> .worktrees/feature-<name>.
- Very specific: line 32
If branch exists and the target worktree does not, run git worktree add .worktrees/feature-<name> feature-<name>.
- Distinctive: line 33
If the target worktree already exists, reuse it after verifying it is clean enough for the requested work.
- Very specific: line 34
Verify worktree context with git -C .worktrees/feature-<name> branch --show-current.
- Distinctive: line 39
Use when continuing an existing feature.
- Distinctive: line 41
Check current branch with git branch --show-current.
- Distinctive: line 42
Check available worktrees with git worktree list.
- Very specific: line 43
Prefer <project-root>/.worktrees/feature-<name> when it exists.
- Distinctive: line 46
After approval, run future phase commands in the selected context.
- Distinctive: line 50
After selecting the target context:
- Distinctive: line 53
Prefer deterministic lockfile-based installs.
- Distinctive: line 54
Use the repository-native command:
- Distinctive: line 62
If no dependency manager is clearly detectable, continue and state what was checked.
≈ “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
Dev Worktree
Set up or resume the correct workspace before feature work. Keep this skill focused on repository context, worktree isolation, and dependency bootstrap. Do not perform requirements, design, planning, implementation, testing, or review work here.
Phase Contract
- Propose the exact workspace plan before changing branch or worktree state.
- Confirm the target branch/worktree with the user before switching contexts.
- Use
feature-<name>for branch and worktree names, where<name>is normalized kebab-case without the prefix. - Prefer a project-local worktree at
<project-root>/.worktrees/feature-<name>. - Use no-worktree mode only when the user explicitly requests it.
- Run all follow-up commands in the verified target context.
Start Feature Workspace
Use for a new feature start.
- Normalize feature name to kebab-case
<name>. - Determine the project root, the directory containing
.git. - If the user explicitly requests no worktree:
- Continue in the current repository and branch.
- Call out that branch/workspace isolation is reduced.
- Skip to dependency bootstrap.
- Otherwise use branch/worktree name
feature-<name>. - Ensure
.worktreesis listed in the project.gitignore; if not, add it. - If branch does not exist, run
git worktree add -b feature-<name> .worktrees/feature-<name>. - If branch exists and the target worktree does not, run
git worktree add .worktrees/feature-<name> feature-<name>. - If the target worktree already exists, reuse it after verifying it is clean enough for the requested work.
- Verify worktree context with
git -C .worktrees/feature-<name> branch --show-current; it must equalfeature-<name>. - Return the active workdir path for the next phase.
Resume Feature Workspace
Use when continuing an existing feature.
- Check current branch with
git branch --show-current. - Check available worktrees with
git worktree list. - Prefer
<project-root>/.worktrees/feature-<name>when it exists. - Otherwise use branch
feature-<name>in the current repository. - Include the selected target in the plan and wait for approval before switching.
- After approval, run future phase commands in the selected context.
Dependency Bootstrap
After selecting the target context:
- Detect ecosystem from lockfiles, manifests, and tooling configs.
- Prefer deterministic lockfile-based installs.
- Use the repository-native command:
- JavaScript/TypeScript:
npm ci,pnpm install --frozen-lockfile,yarn install --frozen-lockfile, orbun install --frozen-lockfile. - Python:
uv sync,poetry install --no-interaction,pipenv sync, orpip install -r requirements.txt. - Ruby:
bundle install. - Rust:
cargo fetch, orcargo buildwhen fetch-only is insufficient. - Go:
go mod download. - Java/Kotlin:
./gradlew dependencies,./gradlew build, or Maven equivalent.
- JavaScript/TypeScript:
- For workspaces whose packages resolve against built artifacts (for example
dist/output consumed via workspace aliases), run the repository build (for examplenpm run build) after install. Full-suite validation and commit hooks fail on stale or missing artifacts with errors that look like code regressions. State when the build was skipped and why. - If no dependency manager is clearly detectable, continue and state what was checked.
Output
End with:
- Active workdir.
- Branch name.
- Whether worktree or no-worktree mode is active.
- Dependency bootstrap command run, or why it was skipped.
- Workspace build command run (when applicable), or why it was skipped.
- Any workspace risks or blockers.
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.

