feat: add background-task skill and worktree shell helpers#77
Merged
michaelfarrell76 merged 3 commits intomainfrom Apr 9, 2026
Merged
feat: add background-task skill and worktree shell helpers#77michaelfarrell76 merged 3 commits intomainfrom
michaelfarrell76 merged 3 commits intomainfrom
Conversation
Add a background-task skill for parallel worktree workflows, along with safe shell helper functions (worktree-git, worktree-rm, gempty-branches) that are auto-loaded via the existing preToolUse hook. Update the commit-and-push rule to document worktree commands and add .worktrees to .gitignore.
@transcend-io/cli
@transcend-io/privacy-types
@transcend-io/sdk
@transcend-io/utils
@transcend-io/mcp-server
@transcend-io/mcp-server-admin
@transcend-io/mcp-server-assessments
@transcend-io/mcp-server-consent
@transcend-io/mcp-server-core
@transcend-io/mcp-server-discovery
@transcend-io/mcp-server-dsr
@transcend-io/mcp-server-inventory
@transcend-io/mcp-server-preferences
@transcend-io/mcp-server-workflows
commit: |
Not needed for this repo. Remove the shell function and all references from the skill and commit-and-push rule.
dipack95
approved these changes
Apr 9, 2026
michaelfarrell76
added a commit
that referenced
this pull request
Apr 10, 2026
* feat: add background-task skill and worktree shell helpers Add a background-task skill for parallel worktree workflows, along with safe shell helper functions (worktree-git, worktree-rm, gempty-branches) that are auto-loaded via the existing preToolUse hook. Update the commit-and-push rule to document worktree commands and add .worktrees to .gitignore. * chore: remove gempty-branches helper Not needed for this repo. Remove the shell function and all references from the skill and commit-and-push rule. * style: format SKILL.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows for running /background-task "description of change to make" -- and it will automatically create a new worktree and use worktree-* commands that can be auto-approved without worrying about them overwriting your current active branch not on a worktree
Summary
background-taskskill (.cursor/skills/background-task/SKILL.md) that documents the full worktree workflow for making changes on other branches without affecting the user's working directory — adapted from the main repo's skill for pnpm,mainbranch, and the tools repo's hook-based function loading.worktree-git— safe git wrapper that only runs inside.worktrees/directoriesworktree-rm— safe rm wrapper that only operates on.worktrees/paths (handles both full worktree removal and files within worktrees)gempty-branches— re-triggers CI on branches via empty commits using temporary worktrees.cursor/rules/commit-and-push.mdcto document worktree commands alongside existingtools-git/tools-rm.worktreesto.gitignoreMade with Cursor