Agent skill
fork-project
Create an isolated copy of the current project for parallel feature development. Use when the user wants to work on a feature in isolation with multiple agents.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/fork-project
SKILL.md
Fork Project
Creates a fully isolated copy of the current project for parallel development.
What it does
- Clones the project to
../<projectName>_copy_<feature-name>/usinggit clone --no-hardlinks(fully isolated.git) - Creates branch
work/<feature-name>in the copy - Installs dependencies (
pnpm install) - Reports the path and next steps
Usage
/fork-project <feature-name>
How to execute
Run the fork script:
bash .claude/skills/fork-project/scripts/fork-project.sh "<feature-name>"
Where <feature-name> is the name provided by the user (e.g., auth-refactor, new-dashboard, fix-perf).
Important
- The copy is created in the parent directory of the current project
- The copy has a completely isolated
.git- no shared state with the original - The original project remote is removed from the copy to prevent accidental pushes
- Always inform the user of the full path to the copy so they can open Claude Code there
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?