

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# Using `wt` CLI for Git Worktree Management78**Your Task: When managing Git worktrees, especially for integration with the Cursor editor, use the `wt` command-line tool. This document provides its usage instructions, examples, and important operational guidelines.**910**Initial Setup Note:** If `wt` commands fail, the tool might need to be installed globally. Refer to `https://www.npmjs.com/package/@johnlindquist/worktree` for installation instructions (e.g., `pnpm add -g @johnlindquist/worktree`).1112## Operational Guidelines for AI:1314- **Default Action:** When the user expresses intent related to a new worktree (e.g., "create a worktree for branch X", "start work on Y"), assume they want to create a *new* worktree using `wt new [branchName]` unless they explicitly specify another `wt` command (like `list`, `remove`, etc.).15- **Post-Creation Pause:** After successfully creating a new worktree using `wt new`, pause and await the user's next instruction. Do not automatically proceed with other actions unless explicitly part of a larger, pre-defined plan.16- **Dependency Installation (CRITICAL DEFAULT):** When executing `wt new`, **ALWAYS append `-i pnpm`** to the command to ensure dependencies are installed using `pnpm` by default. For example: `wt new feature/login -i pnpm`.1718## `wt` Command Reference1920Usage: `wt [options] [command]`2122Description: Manage git worktrees and open them in the Cursor editor.2324### Options:25 `-V, --version` Output the version number26 `-h, --help` Display help for command2728### Commands:2930 `new [options] [branchName]`31 Create a new worktree for the specified branch.32 Installs dependencies if specified (see `-i` option under command-specific options, and AI default above).33 Opens in editor.3435 `list | ls`36 List all existing worktrees for this repository.3738 `remove | rm [options] [pathOrBranch]`39 Remove a specified worktree. Cleans up `.git/worktrees` references.4041 `merge [options] <branchName>`42 Commit changes in the target branch and merge them into the current branch, then remove the branch/worktree.4344 `purge`45 Safely remove all worktrees except for the main branch, with confirmation.4647 `pr [options] <prNumber>`48 Fetch the branch for a given GitHub PR number and create a worktree.4950 `config`51 Manage CLI configuration settings.5253 `help [command]`54 Display help for a specific command.5556### Examples for `wt new`:5758- `wt new feature/login -i pnpm` (AI Default: creates worktree, installs with pnpm)59- `wt new feature/chat --checkout -i pnpm` (AI Default: creates, checks out, installs with pnpm)60- `wt new feature/auth -p ./auth-worktree -i pnpm` (AI Default: creates at path, installs with pnpm)61- `wt new feature/vscode -e code -i pnpm` (AI Default: creates, opens in VSCode, installs with pnpm)6263*(Note: The examples above have been updated to include the AI's default `-i pnpm` behavior.)*6465**REMEMBER: Use `wt` for Git worktree operations. Always assume `wt new` is the primary intent for new worktree requests and ALWAYS include `-i pnpm` with `wt new` for dependency installation.**66
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| skillrecordings/egghead-next.cursor/rules/_global.mdc · 1.4k | Cursor rules | teststyletypesgit+1 | 89/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/benchmarks-create.mdc · 1.4k | Cursor rules | no sections | 38/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/cli-github-search.mdc · 1.4k | Cursor rules | no sections | 51/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/cli-wrangler.mdc · 1.4k | Cursor rules | styledatabase | 52/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-openapi-spec.mdc · 1.4k | Cursor rules | archapi | 58/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-prd.mdc · 1.4k | Cursor rules | archagent-behaviourdocs | 58/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-structure.mdc · 1.4k | Cursor rules | archdocs | 49/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-sync.mdc · 1.4k | Cursor rules | docs | 45/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/docs-tech-stack.mdc · 1.4k | Cursor rules | testlint-formatarchagent-behaviour+1 | 58/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-docs-sync.mdc · 1.4k | Cursor rules | docs | 53/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-continue.mdc · 1.4k | Cursor rules | git | 65/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/gh-task-plan.mdc · 1.4k | Cursor rules | teststylearchtypes+2 | 96/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/logging-session.mdc · 1.4k | Cursor rules | lint-formatstylearchgit | 62/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/pnpm-fixes.mdc · 1.4k | Cursor rules | setupbuildstyledependencies | 68/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-todos-next.mdc · 1.4k | Cursor rules | docs | 45/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/project-update-user-rules.mdc · 1.4k | Cursor rules | buildtestlint-formatstyle+7 | 96/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/pull-request-create.mdc · 1.4k | Cursor rules | git | 69/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/scripts-create.mdc · 1.4k | Cursor rules | types | 53/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/task-next.mdc · 1.4k | Cursor rules | no sections | 45/100 | 14 days ago | |
| skillrecordings/egghead-next.cursor/rules/task-outline.mdc · 1.4k | Cursor rules | do-not | 52/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/skillrecordings-egghead-next-cursor-rules-cli-worktree)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.