git-worktrees
Skill4 starsChanged 7 months agoApache-2.0View on GitHub
Before starting any feature implementation (after architecture approval), create an isolated worktree so the main branch stays clean. When forge, react-forge, or fullstack-orchestrator starts implementation: After completion:
- Installs packages
- Commits and pushes
12 other projects use a version of this.
Adopted by
Most recently taken up by
- choegyumin/agent-skillstheir own version, first seen Sep 19, 2026
- nafeeur/MaskShifttheir own version, first seen Sep 12, 2026
- KhaledSaeed18/dotclaudetheir own version, first seen Jul 4, 2026
- tomimor/skillstheir own version, first seen Jun 26, 2026
- itallstartedwithaidea/claude-googleadsagenttheir own version, first seen May 21, 2026
- sergeeey/Claude-cod-top-2026their own version, first seen May 13, 2026
Used with
Projects with it also use workflow-orchestration, data-analysis and 10 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.
shyamsridhar123Skillworkflow-orchestration
Build multi-agent workflows and graph-based orchestration using Microsoft Agent Framework. Use this skill when creating agent pipelines, connecting multiple agents, implementing human-in-the-loop patterns, streaming, checkpointing, or time-travel debugging.
Also in 3 projects that use this
shanggqmSkilldata-analysis
数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。
Also in 4 projects that use this
mrgoonieSkillcontext-engineering
Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.
Also in 4 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 3 projects that use this
OpenAISkillexecuting-plans
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Also in 4 projects that use this
ElasticSkillcreate-skill
Interactively create a new Claude Code skill and add it to the elastic-docs-skills catalog. Use when the user wants to generate a new skill, scaffold a slash command, or build automation for docs tasks.
Also in 3 projects that use this
- +5 more from openai
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- xenitV1/claude-code-maestro★ 229same name
- jamesrochabrun/skills★ 214same name
- itallstartedwithaidea/agent-skills★ 39same name
- CarbeneAI/Forge★ 9same name
- sergeeey/Claude-cod-top-2026★ 9same name
- KhaledSaeed18/dotclaude★ 5same name
- itallstartedwithaidea/claude-googleadsagent★ 2same name
- nafeeur/MaskShift★ 2same name
- tomimor/skills★ 2same name
2 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 repository54 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/code-review.mdcCursor rule
- .cursor/rules/db-design.mdcCursor rule
- .cursor/rules/debug.mdcCursor rule
- .cursor/rules/django-forge.mdcCursor rule
- .cursor/rules/dotnet-forge.mdcCursor rule
- .cursor/rules/flutter-forge.mdcCursor rule
- .cursor/rules/nestjs-forge.mdcCursor rule
- .cursor/rules/neuraforge.mdcCursor rule
- .cursor/rules/pr-review.mdcCursor rule
- .cursor/rules/react-forge.mdcCursor rule
- .cursor/rules/refactor.mdcCursor rule
- .cursor/rules/rn-forge.mdcCursor rule
- .cursor/rules/scaffold.mdcCursor rule
- .cursor/rules/spring-forge.mdcCursor rule
- .cursor/rules/test-forge.mdcCursor rule
- api-designSkill
- api-testingSkill
- architecture-reviewSkill
- changelogSkill
- codebase-graphSkill
- code-reviewSkill
- db-designSkill
- debugSkill
- deps-auditSkill
- design-syncSkill
- devils-advocateSkill
- devopsSkill
- django-forgeSkill
- doc-generatorSkill
- documentationSkill
- domain-setupSkill
- dotnet-forgeSkill
- explainSkill
- feature-pipelineSkill
- flutter-forgeSkill
- fullstack-orchestratorSkill
- load-testingSkill
- migrateSkill
- nestjs-forgeSkill
- performance-reviewSkill
- presentation-builderSkill
- product-managerSkill
- pr-reviewSkill
- react-forgeSkill
- refactorSkill
- rn-forgeSkill
- scaffoldSkill
- security-reviewSkill
- spring-forgeSkill
- test-forgeSkill
- ui-validationSkill
- video-creatorSkill
- workspace-protocolSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Before starting any feature implementation (after architecture approval), create an isolated worktree so the main branch stays clean.
- Very specific: line 49
When forge, react-forge, or fullstack-orchestrator starts implementation:
“Common” is measured: kept by at least 6 in 10 of the 12 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.
Files
Git Worktrees — Isolated Feature Development
When This Activates
Before starting any feature implementation (after architecture approval), create an isolated worktree so the main branch stays clean.
Workflow
# 1. Create worktree on a new branch
git worktree add ../feature-${feature_name} -b feature/${feature_name}
# 2. Move into it
cd ../feature-${feature_name}
# 3. Install dependencies (verify clean baseline)
npm install # or dotnet restore, etc.
# 4. Run existing tests (must pass before any changes)
npm test # or dotnet test
# 5. Develop in isolation — main branch untouched
# ... all changes happen here ...
# 6. When done — merge or create PR
git push -u origin feature/${feature_name}
# Create MR/PR from this branch
# 7. Clean up worktree
cd ..
git worktree remove feature-${feature_name}Rules
- Never develop on main/master — always create a worktree
- Verify clean baseline — tests must pass BEFORE you write any code
- One feature per worktree — don't mix concerns
- Clean up after merge — remove worktree once PR is merged
When to Skip
- Single-file hotfix (< 10 lines)
- Documentation-only changes
- Config changes that don't affect code
For Agents
When forge, react-forge, or fullstack-orchestrator starts implementation:
# Check if we're on main
CURRENT=$(git branch --show-current)
if [ "$CURRENT" = "main" ] || [ "$CURRENT" = "master" ]; then
git worktree add "../wt-${FEATURE}" -b "feature/${FEATURE}"
cd "../wt-${FEATURE}"
echo "Working in isolated worktree: $(pwd)"
fiAfter completion:
git add -A
git commit -m "feat: ${FEATURE_DESCRIPTION}"
git push -u origin "feature/${FEATURE}"
# Return to original directory
cd -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.

