openspec-git-commit

仓库创建 2026年7月26日最近提交 4 天前SkillHot 收录 3 天前
这个 Skill 做什么

在开始把 OpenSpec 变更落地实现时,按“每完成一项任务就做一次提交”的节奏包裹原生的 apply 循环:每个任务单独提交,全部任务结束后再做提交校验。用在你执行/应用变更、逐步实现功能的时候,能把工作分成清晰可回溯的提交。特别之处是把实现过程变成可审计的一系列小提交,便于回溯和代码审查。

▸ 展开 SKILL.md 英文原文

MANDATORY skill that activates whenever the OpenSpec apply phase begins. Triggers: /opsx:apply runs, openspec-apply-change is referenced or active, `openspec instructions apply` is invoked, or the user asks to implement/apply/execute/build out an OpenSpec change. Wraps the vanilla apply step 6 implementation loop: commits each completed task and verifies commits when all tasks are done.

0
Stars
0
Forks
3
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/sh1ny/openspec-git-flow/main/skills/openspec-git-commit/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/sh1ny/openspec-git-flow/main/skills/openspec-git-commit/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# OpenSpec Git Commit

## Mission

Wrap the vanilla `openspec-apply-change` implementation loop with a one-commit-per-task discipline and an end-of-apply verification. The vanilla skill (verified source: `OpenSpec/src/core/templates/workflows/apply-change.ts`) owns:

- Change selection.
- `openspec status --change <name> --json` and `openspec instructions apply --change <name> --json`.
- Reading context files (`proposal.md`, `spec.md`/`specs/**`, `design.md`, `tasks.md`).
- Progress display.

This skill adds, around vanilla step 6 (the implementation loop):

- A single "planning artifacts" commit for any uncommitted `openspec/` files present at apply start.
- One commit per task, immediately
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有