/loom-engineering:loom-finishing-a-development-branch <branch or spec_dir>from loom-engineering
Cleans up a verified feature branch by merging, creating a PR, keeping, or discarding. Follows conventional commits and applies branch-completion rules.
Ships in loom-engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
loom-verification-before-completion 验证通过loom-index-update 索引已更新开始时宣布:"我正在使用 loom-finishing-a-development-branch skill 来完成这项工作。"
git status
git diff --stat
构建/检查/测试命令
读取 .loom/rules/constitution.md 中的 BUILD_CMD/VET_CMD/TEST_CMD 并执行验证。
向用户展示以下选项:
## 分支完成选项
**1. Merge(合并)** - 直接合并到主分支
**2. Pull Request** - 创建 PR 供审查
**3. Keep(保留)** - 保持分支,稍后继续
**4. Discard(丢弃)** - 丢弃所有变更
请选择?
如果分支上还有未提交的变更,先提交:
git add <specific-files>
git commit -m "$(cat <<'EOF'
feat: <功能描述>
- 变更 1
- 变更 2
Co-Authored-By: AI Assistant
EOF
)"
git checkout <branch> && git merge --no-ff feature/<date>-<name> && git push origin <branch>git push -u origin feature/<date>-<name> → gh pr create --title "feat: <描述>" --body "..."git checkout <branch> && git branch -D feature/<date>-<name>Conventional Commits 格式
提交信息必须遵循 Conventional Commits 格式:<type>(<scope>): <subject>
禁止在主分支实现
没有明确用户同意,永远不要在 main/master 分支上开始实现。
What SKILL.md sets; muted values are Claude Code's defaults
Finish a verified development branch by choosing merge, PR, keep, or discard handling.
Three short reads, in order
branch-management, merge-workflow, git-cleanup, feature-branch
22 skills in this plugin
/loom-analyze-artifactsRead-only cross-artifact consistency analysis after planning and before approval. Verifies that spec.md, requirements.json, plan.md, tasks/Tn.md, traceability.json are mutually consistent: no duplicate/ambiguous requirements, every behavior mapped to a task, no orphan tasks, no coverage gaps, no contradictions. Outputs artifact-analysis.json with coverage% and severity. CRITICAL/HIGH findings block the approval gate. Use when: planning produced plan.md + tasks + traceability.json, before the user approves the plan.
/loom-brainstormingExplore 2-3 implementation options with trade-offs when the user describes a new feature or requirement. Use when: the user asks for a new feature design, implementation options, or technical trade-off analysis.
/loom-Other plugins' skills for the same job
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest/PreSkillShellCommand at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest/PreSkillShellCommand at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.