بنقرة واحدة
ck-worktree
Create isolated git worktree for parallel development in monorepos.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create isolated git worktree for parallel development in monorepos.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | ck:worktree |
| description | Create isolated git worktree for parallel development in monorepos. |
| argument-hint | [feature-description] OR [project] [feature] |
| metadata | {"author":"claudekit","version":"1.0.0"} |
Create an isolated git worktree for parallel feature development.
node .opencode/skills/worktree/scripts/worktree.cjs info --json
Parse JSON response for: repoType, baseBranch, projects, worktreeRoot, worktreeRootSource.
Check for exact branch name first:
If caller provides a pre-formed branch name (contains uppercase letters, issue tracker keys like ABC-1234, forward slashes for multi-segment conventions like user/type/feature, or explicitly says "use this exact branch name"):
→ Use --no-prefix flag — skip Step 3, pass name directly as slug.
Examples:
"ND-1377-cleanup-docs" → --no-prefix → branch ND-1377-cleanup-docs"kai/feat/604-startup-option" → --no-prefix → branch kai/feat/604-startup-optionOtherwise, detect prefix from description:
fixrefactordocstestchoreperffeatSkip if --no-prefix was chosen in Step 2.
"add authentication system" → add-auth
"fix login bug" → login-bug
Max 50 chars, kebab-case.
If repoType === "monorepo" and project not specified, use AskUserQuestion:
AskUserQuestion({
questions: [{
header: "Project",
question: "Which project for the worktree?",
options: projects.map(p => ({ label: p.name, description: p.path })),
multiSelect: false
}]
})
Monorepo:
node .opencode/skills/worktree/scripts/worktree.cjs create "<PROJECT>" "<SLUG>" --prefix <TYPE>
Standalone:
node .opencode/skills/worktree/scripts/worktree.cjs create "<SLUG>" --prefix <TYPE>
Options:
--prefix - Branch type: feat|fix|refactor|docs|test|chore|perf--no-prefix - Skip branch prefix and preserve original case and slashes (for Jira keys, multi-segment branches like user/type/feature)--worktree-root <path> - Override default location (only if needed)--json - JSON output--dry-run - PreviewBased on project context, run in background:
bun.lock → bun installpnpm-lock.yaml → pnpm installyarn.lock → yarn installpackage-lock.json → npm installpoetry.lock → poetry installrequirements.txt → pip install -r requirements.txtCargo.toml → cargo buildgo.mod → go mod download| Command | Usage | Description |
|---|---|---|
create | create [project] <feature> | Create worktree |
remove | remove <name-or-path> | Remove worktree |
info | info | Repo info with worktree location |
list | list | List worktrees |
--worktree-root only to override defaults.env*.example) auto-copied with .example suffix removedAnalyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4, Nano Banana 2, MiniMax), videos (Veo 3, Hailuo), speech (MiniMax TTS), music (MiniMax). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.
Check context usage limits, monitor time remaining, optimize token consumption, debug context failures. Use when asking about context percentage, rate limits, usage warnings, context optimization, agent architectures, memory systems.
Create polished frontend interfaces from designs/screenshots/videos. Use for web components, 3D experiences, replicating UI designs, quick prototypes, immersive interfaces, avoiding AI slop.
Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis.
AI design generation with Google Stitch. Generate UI designs from text prompts, export Tailwind/HTML/DESIGN.md, orchestrate design-to-code pipeline. Use for rapid prototyping, UI generation, design exploration.