Vcsdd Git 集成
- 作者仓库星标 24
- 作者仓库 vcsdd-claude-code
VCSDD Git Integration
When to Activate
- Running /vcsdd-commit command
- Creating phase-completion commits
- Tagging pipeline milestones
Commit Message Format
vcsdd(<phase>): <feature-name> - <phase-description>
Phase: <phase-id>
Feature: <feature-name>
Sprint: <N>
Gate: <PASS|FAIL|SKIP>
Beads: <bead-ids-affected>
Iteration: <N>
Artifacts:
- specs/behavioral-spec.md [modified]
- evidence/sprint-1-red-phase.log [added]
Traceability:
- REQ-001 -> TEST-001 -> IMPL-001 [green]
- REQ-002 -> TEST-002 [red, pending implementation]
Git Tag Format
vcsdd/<feature>/phase-1a # Spec crystallization complete
vcsdd/<feature>/phase-1c # Spec gate passed
vcsdd/<feature>/phase-2a # Red phase complete
vcsdd/<feature>/phase-2b # Green phase complete
vcsdd/<feature>/phase-3-i1 # Adversary review iteration 1
vcsdd/<feature>/phase-6 # Convergence achieved
Atomic Staging
Stage all VCSDD artifacts atomically:
git add -- .vcsdd/index.json .vcsdd/history.jsonl .vcsdd/active-feature.txt .vcsdd/features/<name>/ [phase-scoped source/test/spec files]
git commit -m "vcsdd(2b): my-feature - implementation (green phase)"
git tag vcsdd/my-feature/phase-2b
Only stage files that belong to the active feature and current phase. If unrelated dirty files exist, stop and require a manual review instead of widening the stage set.
Auto-Commit Safety Rules
Auto-commit (VCSDD_AUTO_COMMIT=true) refuses to commit if:
- Unrelated dirty files exist in worktree
- Phase transition is invalid
- No phase change detected since last commit
- 流狐分类
- 工程开发
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @sc30gsw · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Running /vcsdd-commit command Creating phase-completion commits Tagging pipeline milestones
Commit Message Format
Git Tag Format
Stage all VCSDD artifacts atomically: Only stage files that belong to the active feature and current phase. If unrelated dirty files exist, stop and require a manual review instead of widening the stage set.
Auto-commit (VCSDDAUTOCOMMIT=true) refuses to commit if: Unrelated dirty files exist in worktree Phase transition is invalid
# VCSDD Git Integration
## When to Activate
- Running /vcsdd-commit command
- Creating phase-completion commits
- Tagging pipeline milestones
## Commit Message Format
```
vcsdd(<phase>): <feature-name> - <phase-description>
Phase: <phase-id>
Feature: <feature-name>
Sprint: <N>
Gate: <PASS|FAIL|SKIP>
Beads: <bead-ids-affected>
Iteration: <N>
Artifacts:
- specs/behavioral-spec.md [modified]
- evidence/sprint-1-red-phase.log [added]
Traceability:
- REQ-001 -> TEST-001 -> IMPL-001 [green]
- REQ-002 -> TEST-002 [red, pending implementation]
```
## Git Tag Format
```
vcsdd/<feature>/phase-1a # Spec crystallization complete
vcsdd/<feature>/phase-1c # Spec gate passed
vcsdd/<feature>/phase-2a # Red phase complete
vcsdd/<feature>/phase-2b # Green phase complete
vcsdd/<feature>/phase-3-i1 # Adversary review iteration 1
vcsdd/<feature>/phase-6 # Convergence achieved
```
## Atomic Staging
Stage all VCSDD artifacts atomically:
```bash
git add -- .vcsdd/index.json .vcsdd/history.jsonl .vcsdd/active-feature.txt .vcsdd/features/<name>/ [phase-scoped source/test/spec files]
git commit -m "vcsdd(2b): my-feature - implementation (green phase)"
git tag vcsdd/my-feature/phase-2b
```
Only stage files that belong to the active feature and current phase. If unrelated dirty files exist, stop and require a manual review instead of widening the stage set.
## Auto-Commit Safety Rules
Auto-commit (VCSDD_AUTO_COMMIT=true) refuses to commit if:
- Unrelated dirty files exist in worktree
- Phase transition is invalid
- No phase change detected since last commit 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to Activate → Commit Message Format → Git Tag Format → Atomic Staging → Auto-Commit Safety Rules
要点 -> Only stage files that belong to the active feature and current phase.
文件/命令 -> specs/behavioral-spec.md · evidence/sprint-1-red-phase.log · .vcsdd/index.json · .vcsdd/history.jsonl · .vcsdd/active-feature.txt · .vcsdd/features · source/test/spec · vcsdd/my-feature/phase-2b
内容 SHA-256 -> 29536c12eebf
原文结构
适用与边界
原文中的明确线索
specs/behavioral-spec.md、evidence/sprint-1-red-phase.log、.vcsdd/index.json、.vcsdd/history.jsonl、.vcsdd/active-feature.txt、.vcsdd/features、source/test/spec、vcsdd/my-feature/phase-2b