Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
手动触发:将主仓库与 apps/lina-plugins 对齐最新 main 后, 按提示在两侧各建独立分支;分支就绪后继续处理提示词中的后续请求。
$ npx skills add linaproai/linapro --skill lina-community-new-branch -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install linaproai/linapro lina-community-new-branch --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/linaproai/linapro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/lina-community-new-branch .claude/skills/lina-community-new-branch && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "lina-community-new-branch" agent skill from https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branch into .claude/skills/lina-community-new-branch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lina-community-new-branch", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branchType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add linaproai/linapro --skill lina-community-new-branch -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install linaproai/linapro lina-community-new-branch --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linaproai/linapro.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/lina-community-new-branch .agents/skills/lina-community-new-branch && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "lina-community-new-branch" agent skill from https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branch into .agents/skills/lina-community-new-branch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lina-community-new-branch", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add linaproai/linapro --skill lina-community-new-branch -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install linaproai/linapro lina-community-new-branch --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linaproai/linapro.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/lina-community-new-branch .cursor/skills/lina-community-new-branch && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "lina-community-new-branch" agent skill from https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branch into .cursor/skills/lina-community-new-branch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lina-community-new-branch", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/linaproai/linapro.git --path .agents/skills/lina-community-new-branch--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add linaproai/linapro --skill lina-community-new-branch -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install linaproai/linapro lina-community-new-branch --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linaproai/linapro.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/lina-community-new-branch .gemini/skills/lina-community-new-branch && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "lina-community-new-branch" agent skill from https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branch into .gemini/skills/lina-community-new-branch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lina-community-new-branch", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install linaproai/linapro lina-community-new-branchInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add linaproai/linapro --skill lina-community-new-branch -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/linaproai/linapro.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/lina-community-new-branch .github/skills/lina-community-new-branch && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "lina-community-new-branch" agent skill from https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branch into .github/skills/lina-community-new-branch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lina-community-new-branch", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add linaproai/linapro --skill lina-community-new-branch -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install linaproai/linapro lina-community-new-branch --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/linaproai/linapro.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/lina-community-new-branch .opencode/skills/lina-community-new-branch && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "lina-community-new-branch" agent skill from https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-community-new-branch into .opencode/skills/lina-community-new-branch/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lina-community-new-branch", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
lina-community-new-branch手动触发:将主仓库与 apps/lina-plugins 对齐最新 main 后, 按提示在两侧各建独立分支;分支就绪后继续处理提示词中的后续请求。
Lina Community New Branch is an agent skill from linaproai/linapro. 手动触发:将主仓库与 apps/lina-plugins 对齐最新 main 后, 按提示在两侧各建独立分支;分支就绪后继续处理提示词中的后续请求。 必须用户手动触发,禁止自动触发该技能。
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development. It works with Git. The repository describes itself as: AI-native full-stack framework engineered for sustainable delivery. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 75395c8. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Lina Community New Branch loads about 1.5k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 311 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from linaproai/linapro at commit 75395c8, republished under its Apache-2.0 licence (© linaproai). 311 words, ~1,534 tokens.
.claude/skills/lina-community-new-branch/SKILL.md (or your agent's skills folder).将主仓库与子模块切到最新 main,再按用户提示在两侧各创建独立任务分支。分支创建(或切换)成功后,必须继续处理同一条提示词中除“建分支”以外的后续请求,不得只建分支就结束。
linaproai/linapro。apps/lina-plugins,远端从 .gitmodules / git -C apps/lina-plugins remote -v 读取,通常 linaproai/official-plugins。origin/main;创建分支前必须 fetch 且快进对齐 main。--force、reset --hard、clean -fd。脏工作区允许继续建分支:未提交改动随分支切换一并携带;前置检查中须报告脏状态,但不得仅因脏工作区阻断。若 git switch / merge 因本地改动冲突而失败,则停止并交用户处理,仍不得丢弃改动。commit / push / 创建 PR。后续请求若本身需要提交/PR,应改走对应技能(如 lina-community-commit-push-and-pr),而非在本技能建分支步骤中执行。/ 分层、数字字母与连字符;推荐 feature/<slug>、fix/<slug>、chore/<slug>。origin/main(优先 ff-only merge);远端有本地无则 switch --track;冲突或分叉则停止交用户。main 失败(非快进、冲突、分离 HEAD 无法安全处理)立即停止,不硬切。识别用户给出的:
新建分支 / new branchfeature/cloud-storage)未给出分支线索时先问清再执行,不得自造无依据分支名。
进入执行前,把用户消息拆成两部分并记下来:
| 部分 | 含义 | 示例 |
|---|---|---|
| A. 分支意图 | 要建/切的分支名或可推导 slug 的描述 | 新建分支 feature/foo、基于 main 开 fix/bar |
| B. 后续请求 | 去掉建分支语句后仍需完成的工作 | 实现插件卸载禁用、/opsx:propose ...、继续 tasks.md |
规则:
git rev-parse --show-toplevel
git status --short --branch
git branch --show-current
git remote -v
cat .gitmodules
git submodule status apps/lina-plugins
git -C apps/lina-plugins status --short --branch
git -C apps/lina-plugins branch --show-current
git -C apps/lina-plugins remote -v主仓库或子模块存在未提交改动时:
git status --short),并在最终输出中注明“未提交改动已随分支携带”。stash(除非用户明确要求)、reset --hard、clean -fd 或覆盖用户本地改动。git switch / git merge --ff-only 因本地改动与目标树冲突而失败,报告冲突文件与命令输出,停止阶段 A,交用户处理;不得强行丢弃或覆盖。阻断条件(任一成立则停止并报告;不得进入阶段 B):
注意:脏工作区不是阻断条件。
feature/ / fix/ / chore/,默认 feature/。branch_name,再执行后续步骤。git fetch origin main
git -C apps/lina-plugins fetch origin maingit switch main
git merge --ff-only origin/main--ff-only 失败或 switch 因本地改动冲突失败则停止。
git -C apps/lina-plugins switch main
git -C apps/lina-plugins merge --ff-only origin/main--ff-only 失败或 switch 因本地改动冲突失败则停止。此时主仓库可能显示子模块指针变化,不要为此提交。
主仓库:
if git show-ref --verify --quiet "refs/heads/$branch_name"; then
git switch "$branch_name"
git merge --ff-only origin/main # 失败则停止
elif git ls-remote --exit-code --heads origin "$branch_name" >/dev/null 2>&1; then
git fetch origin "$branch_name"
git switch --track "origin/$branch_name"
else
git switch -c "$branch_name"
fi子模块:
if git -C apps/lina-plugins show-ref --verify --quiet "refs/heads/$branch_name"; then
git -C apps/lina-plugins switch "$branch_name"
git -C apps/lina-plugins merge --ff-only origin/main # 失败则停止
elif git -C apps/lina-plugins ls-remote --exit-code --heads origin "$branch_name" >/dev/null 2>&1; then
git -C apps/lina-plugins fetch origin "$branch_name"
git -C apps/lina-plugins switch --track "origin/$branch_name"
else
git -C apps/lina-plugins switch -c "$branch_name"
fi脏工作区下:上述 switch / switch -c 会尽量携带未提交改动;若 Git 拒绝切换,按「脏工作区策略」停止并报告。
git status --short --branch
git rev-parse --short HEAD
git merge-base --is-ancestor origin/main HEAD && echo "main: contains origin/main"
git -C apps/lina-plugins status --short --branch
git -C apps/lina-plugins rev-parse --short HEAD
git -C apps/lina-plugins merge-base --is-ancestor origin/main HEAD && echo "sub: contains origin/main"阶段 A 失败 → 报告原因并停止,不要假装进入后续请求。
阶段 A 成功 → 先给出简短分支结果(可并入最终回复),有后续请求则立即进入阶段 B。
origin/main 或已按规则处理已有分支)。openspec-propose / openspec-apply-change / lina-feedback 等对应技能与项目规则。AGENTS.md 与命中的 .agents/rules/* 执行;本技能不豁免任何规则域。lina-community-commit-push-and-pr 等专门技能,且仍须用户按该技能的手动触发规则授权。仅输出阶段 A 结果,明确说明“未检测到后续请求,分支已就绪”,然后结束。
## 新分支结果
- 分支名:`<branch_name>`
- 主仓库:当前分支 / HEAD / 是否含 `origin/main` / 工作区(含是否脏、脏文件摘要)
- 子模块:当前分支 / HEAD / 是否含 `origin/main` / 工作区(含是否脏、脏文件摘要)
- 动作摘要:对齐 main / 新建或切换;脏工作区是否已携带
- 未执行:commit、push、PR
- 后续请求:无(本次仅建分支)先简要给出分支结果,再汇报后续请求进展(或最终完成情况):
## 新分支结果
- 分支名:`<branch_name>`
- 主仓库 / 子模块:…(同上,可从简;若有预存脏改动须注明已携带)
- 后续请求:已继续处理 → `<一句话概括后续请求>`
## 后续请求进展
- …(按实际技能/实现结果填写:做了什么、验证了什么、还剩什么)main© linaproai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/lina-community-new-branch of linaproai/linapro.
Open the folder on GitHubat commit 75395c8
Lina Community New Branch next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Lina Community New Branch this skilllinaproai/linapro | 161 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Finishing A Development Branchfarm-fe/farm | 5.6k | 35 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Migrate Internal Package into GhostTryGhost/Ghost | 56k | — | ~3.8k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
farm-fe/farm
A skill your agent uses when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for…
TryGhost/Ghost
Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.
JetBrains/ideavim
Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.
linaproai/linapro
通过 make db.init/mock 重置数据库、重启服务、安装并启用所有内置插件、准备压测数据,并启动并发子代理; 通常需要几十分钟到数小时,且会消耗大量 Token。不得从其他技能、CI、定时任务、 Git 钩子或模糊的性能请求中触发。
linaproai/linapro
Vben Admin 5.0 前端框架开发技能。用于开发基于 Vue3、Vite、TypeScript 的中后台管理系统。
linaproai/linapro
手动触发:为 LinaPro 主仓库及 apps/lina-plugins 子模块完成提交、PR 前 rebase、推送、创建 PR, 主仓 CI 修复回路,以及 PR 合并后恢复原始分支并同步 main。禁止自动触发。
linaproai/linapro
排查并修复给定的 LinaPro GitHub Actions 失败问题;修复完成后保留本地改动, 禁止自动提交、推送或创建 PR。
linaproai/linapro
审查 LinaPro 社区 GitHub Issues,并按项目规范和源码实现分类处理. An agent skill from linaproai/linapro.
linaproai/linapro
审查 LinaPro 社区 GitHub Pull Request,并按项目规范发表评论. An agent skill from linaproai/linapro.
Works with
Categories
手动触发:将主仓库与 apps/lina-plugins 对齐最新 main 后, 按提示在两侧各建独立分支;分支就绪后继续处理提示词中的后续请求。. Lina Community New Branch is an agent skill from linaproai/linapro.
Lina Community New Branch fits situations like: development work in your project.
Run `npx skills add linaproai/linapro --skill lina-community-new-branch -a claude-code`. Or copy the skill folder (.agents/skills/lina-community-new-branch in linaproai/linapro) into .claude/skills/lina-community-new-branch in your project. Claude Code loads it when a task matches its description.
Run `npx skills add linaproai/linapro --skill lina-community-new-branch -a codex`. Or copy the skill folder (.agents/skills/lina-community-new-branch in linaproai/linapro) into .agents/skills/lina-community-new-branch in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add linaproai/linapro --skill lina-community-new-branch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lina-community-new-branch, .gemini/skills/lina-community-new-branch, .github/skills/lina-community-new-branch and .opencode/skills/lina-community-new-branch in your project.
Going by SKILL.md and its folder, Lina Community New Branch needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Lina Community New Branch is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Lina Community New Branch: Finishing a Development Branch (obra/superpowers, 297k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Finishing A Development Branch (farm-fe/farm, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
linaproai (a GitHub organization) maintains it in linaproai/linapro, which has 161 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 7, 2026.
Source: linaproai/linapro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.