Back to skills
SKILL.md
Ldvh Onboarding
ASecurity把一个 Git 仓库接入 LDVH 管辖:检查候选仓库、登记并安装 Git Gate、初始化 Goal(按需登记首批 Intent)。用户要“接入 LDVH”“让这个项目受 LDVH 管辖”“初始化项目目标”时使用。
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added December 1, 2026
Security analysis
100/100npx -y skills add dingminhua/ld-vibe-harness --skill ldvh-onboarding --agent claude-codeAre you the author of Ldvh Onboarding?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dingminhua-ldvh-onboarding)---
name: ldvh-onboarding
description: 把一个 Git 仓库接入 LDVH 管辖:检查候选仓库、登记并安装 Git Gate、初始化 Goal(按需登记首批 Intent)。用户要“接入 LDVH”“让这个项目受 LDVH 管辖”“初始化项目目标”时使用。
---
# LDVH 项目接入
目标:让仓库进入 `governed` 状态,具备事实源(`ldvh-base/`)与 Git Gate 守卫,并留下可核对的项目目标。
## 步骤
1. **判断现状**:调用 `ldvh_resolve_governance_scope`。
- `governed`:已接入,直接跳到第 4 步检查目标是否存在。
- `unavailable`:登记载体不可读,先如实报告原因,不要当作未接入去覆盖。
- `not_governed`:继续。
2. **检查候选仓库**:确认目录是 Git 根目录(不是子目录、不是 bare 仓库)。可运行 `ldvh governed-project inspect --project <绝对路径>`,或在 LDVH 设置页(`/ldvh/settings`)点「检查候选仓库」。
3. **登记并安装 Git Gate**:这是 Human Gate 事项,必须由 Human 明确确认。
- 调用 `ldvh_register_governed_project`(宿主会弹出确认);或让 Human 在设置页点「登记并安装 Git Hook」;或使用 `ldvh governed-project install --project <路径> --id <项目ID> --human-confirmed`(仅在 Human 已明确同意时)。
- 完成后再次调用 `ldvh_resolve_governance_scope`,应为 `governed`。
4. **建立项目目标**:调用 `ldvh_goal_read`。
- 没有 Goal:与 Human 对话,把长期意图整理成一句话目标,再用 `ldvh_goal_write`(`action=create`)写入。目标的每次修订都需要 Human 确认。
- 有 Goal:展示给 Human 核对,不擅自改动。
5. **按需登记首批 Intent**:若有待跨行动推进的事项或待决方向线,用 `ldvh_intent_precheck_create` 预检并经 `ldvh_intent_write`(Human Gate 确认后)登记为 `Intent`。
6. **交付**:说明接入结果、Git Gate 状态与下一步,并提示可用 `ldvh_open_dashboard` 打开看板。
## 纪律
- 登记、取消管辖、Intent/Norm 的创建与终态由 Human 决定,不得替 Human 点头。
- 不手改 `ldvh-base/` 下的文件,一律走 `ldvh_*` 工具。
- 只陈述工具返回与实测验证过的结果。
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.