branch
Skill by mjthoraval
Runs a branch-based development procedure for work that must stay off the shared clone's main. It covers starting a separate clone, merging the branch back, and handing off to other sessions.
Install branch
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mjthoraval/Weavero /tmp/Weavero && mkdir -p ~/.claude/skills && cp -r /tmp/Weavero/.claude/skills/branch ~/.claude/skills/branchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mjthoraval/Weavero /tmp/Weavero && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Weavero/.claude/skills/branch ~/.gemini/antigravity-cli/skills/branchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The branch skill is a step-by-step procedure for parallel development work that must not touch the shared clone's main branch. It covers starting a separate clone named weavero-<name> off the current main, choosing suffixed version numbers, and deciding which Zotero instance a session tests in. It also covers issue branches cut from the last release tag, with test builds handed over through a GitHub workflow.
The skill then describes merging the branch back into main in the shared clone. The steps include discarding the branch's suffixed versions, running typecheck and the full test suite, bumping to the next dev version, installing and self-testing, and sending a handoff message to other live sessions. The source says it is for a second agent session, a risky feature, or an isolated test build.
Written from the project's SKILL.md and checked against it.
What it can do
- Start a branch cloneCreates a sibling clone named weavero-<name> on a branch off the current main tip.
- Version suffixesAssigns branch builds the next version with a -<name>.N suffix, never main's -dev.N.
- Issue branchesCuts issue-<N> branches off the last release tag so a reporter can test one fix alone.
- Test build workflowStarts a test-build GitHub workflow for an issue branch with gh workflow run.
- Pre-commit diff checkRequires running git diff before any commit to catch hunks that are not yours.
- Merge back procedureMerges the branch into main in the shared clone and discards the branch's suffixed versions.
- Merged suite checkRuns npm run typecheck and the full npm test on the merged tree before the merge is done.
- Install and self-testInstalls the merged build into the running instance and live-tests both sides' features.
- Handoff message templateProvides a template for telling other live sessions about a completed merge.
What you need
- Git
- Node.js and npm for typecheck and tests
- GitHub CLI (gh) for test builds
- A Zotero instance to install and test builds
Try asking
- Start a separate branch clone for a risky feature and set its version suffix.
- Cut issue 48 onto its own branch and trigger a test build for the reporter.
- Merge the defatt branch back into main and run the full test suite.
Good to know
- Pushes stay held until the user gives explicit approval.
- Branch work must not commit to the shared clone's main.
- Registers live in the main clone, not in the branch clone.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/branch/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to branch
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
branch: common questions
When should I use this branch skill?
The source says to use it when work must not touch the shared clone's main, such as a second agent session, a risky feature, or an isolated test build. It also applies when merging such a branch back.
How are branch versions numbered?
Branch builds use the next version with a -<name>.N suffix, and the merged line takes the next -dev.N. Issue branches use the form <next>-issue<N>.dev.M.
What happens to old test build files?
The source says old XPIs stay on the release on purpose so links in old issues keep working. An old build installed later updates itself.
How do I install branch?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is branch free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is branch safe to use?
It scores 62 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to branch?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
