openspec-git-merge
仓库创建 2026年7月26日最近提交 4 天前SkillHot 收录 3 天前
这个 Skill 做什么
在把一个 OpenSpec 变更归档完后自动收尾:把移动到 archive/ 的文件做一次提交,然后把 feature 分支以 --no-ff 的方式合并回 main 并删除该分支。常在你请求“归档/完成/最终化”变更时触发,用来把归档记录写入历史并保持合并历史清晰。特点是只在官方归档流程完全结束后才跑,保证不破坏已有的归档检查或同步步骤。
▸ 展开 SKILL.md 英文原文
MANDATORY skill that activates whenever the OpenSpec archive phase runs. Triggers: /opsx:archive or /opsx:bulk-archive runs, openspec-archive-change or openspec-bulk-archive-change is referenced or active, `openspec archive` is invoked, or the user asks to archive/finalize/complete an OpenSpec change. Runs AFTER the vanilla archive workflow completes: commits the archive move, merges the feature branch into the main branch with --no-ff, and deletes the feature branch.
0
Stars
0
Forks
3
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/sh1ny/openspec-git-flow/main/skills/openspec-git-merge/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/sh1ny/openspec-git-flow/main/skills/openspec-git-merge/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# OpenSpec Git Merge ## Mission Run only **after** the vanilla `openspec-archive-change` workflow (verified source: `OpenSpec/src/core/templates/workflows/archive-change.ts`) has fully completed — including its completion checks, spec sync, the `changeRoot` → `archive/` move, and its own summary. This skill: 1. Commits the archive move (plus any synced spec edits) on the feature branch. 2. Merges the feature branch into the main branch with `--no-ff`. 3. Deletes the feature branch. The vanilla archive workflow owns everything about archiving (selection, completion checks, spec sync, directory move, summary). This skill owns only the git operations that follow. --- ## Behavioral contrac
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有