openclaw-skills/gsd-graphify-brownfield-bootstrap/SKILL.md
Bootstrap GSD + graphify for an existing brownfield repo when the project needs a single canonical workflow for local runtime setup, graph refresh, and manually seeded .planning/ context without depending on interactive GSD init.
npx skillsauth add seaworld008/commonly-used-high-value-skills gsd-graphify-brownfield-bootstrapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when an existing repo needs one canonical brownfield bootstrap flow for:
.planning/ contextThis skill now replaces the older duplicate brownfield-gsd-graphify-bootstrap so the brownfield story stays single-track.
Use this skill when the user asks to:
gsd-sdk initDo not use this skill for greenfield repos or for upstream Hermes / graphify / GSD development.
A successful bootstrap usually leaves the repo with:
./.codex/scripts/graphify-sync.sh for cheap graph refreshgraphify-out/.planning/ brownfield baselineAGENTS.md, README.md, and docsPrefer the same baseline as the main Hermes + graphify + GSD workflow skills:
command -v hermes
hermes --version
# Baseline checked 2026-04-24: graphifyy 0.5.0.
PY_BIN="${PYTHON_BIN:-$HOME/.hermes/hermes-agent/venv/bin/python3}"
[ -x "$PY_BIN" ] || PY_BIN="$(command -v python3)"
if "$PY_BIN" -c 'import sys; print(int(sys.prefix != sys.base_prefix))' 2>/dev/null | grep -q '^1$'; then
"$PY_BIN" -m pip install -U "graphifyy>=0.5.0"
else
"$PY_BIN" -m pip install --user -U "graphifyy>=0.5.0"
fi
~/.local/bin/graphify install --platform hermes || graphify install --platform hermes
npx -y get-shit-done-cc@latest --codex --global --sdk
Why this is now the default:
Only prefer a source checkout of GSD when one of these is true:
Fallback example:
git clone https://github.com/gsd-build/get-shit-done /data/ai-coding/get-shit-done
node /data/ai-coding/get-shit-done/bin/install.js --codex --local
cd /data/ai-coding/get-shit-done/sdk
npm install
npm run build
npm install -g .
Keep this explicitly labeled as fallback so teammates are not forced into a heavier path.
From the target project root:
npx -y get-shit-done-cc@latest --codex --local
If that entrypoint is unavailable, use the source-install fallback above.
Verify:
find ./.codex -maxdepth 3 -type f | sort | sed -n '1,120p'
Required outputs are:
graphify-out/graph.jsongraphify-out/GRAPH_REPORT.mdImportant rule:
graphify-out/manifest.json.graphify_chunk_*.json files during Codex semantic extraction; do not clean those before collection finishesgraphifyy[video] or surface manual transcription guidance before expecting a complete semantic graphThe repo-local scripts/graphify-sync.sh should support:
statussmartforceserveRecommended smart behavior:
graphify update .graphify.watch._rebuild_code(Path('.'))Update or create:
AGENTS.mdREADME.mddocs/current-state.mddocs/index.mddocs/entrypoints.mddocs/gsd-graphify-workflow.mdConverge them around current facts:
.planning/ when interactive init is not trustworthyIf the repo is complex, credentials are missing, or the current architecture already has a mature analysis baseline, do not block on gsd-sdk init.
Create:
.planning/
PROJECT.md
REQUIREMENTS.md
task-board.json
ROADMAP.md
STATE.md
config.json
codebase/CODEBASE-MAP.md
research/ITERATION-LOOP.md
Source material should come from real repo facts:
graphify-out/GRAPH_REPORT.mdPractical config.json defaults:
mode: yolodiscuss_mode: assumptionsplanning.commit_docs: falseRecommended task-board.json role:
REQUIREMENTS.md, ROADMAP.md, and STATE.mdFor repos with multiple old entrypoints or migration leftovers:
This keeps the brownfield migration reversible while the new workflow settles in.
A good first brownfield phase is usually:
00-01 planning bootstrap00-02 docs/current-state alignment00-03 workflow verificationOnly after that should the repo move into larger cleanup or architecture-convergence phases.
Run and inspect these before claiming success:
find ./.codex -maxdepth 3 -type f | sort | sed -n '1,120p'
gsd-sdk --version
gsd-sdk --help
./scripts/graphify-sync.sh status
./scripts/graphify-sync.sh smart
find .planning -maxdepth 3 -type f | sort
Also verify:
graphify-out/GRAPH_REPORT.md existsgraphify-out/graph.json exists.planning/ROADMAP.md and .planning/STATE.md point at the same active phasemanifest.jsongsd-sdk init invent a roadmap for a complex repo with weak context.planning/ when needed./scripts/graphify-sync.sh smartgraphify-out/GRAPH_REPORT.md.planning/STATE.md and .planning/ROADMAP.md./scripts/graphify-sync.sh smartThis is the only brownfield bootstrap skill that should remain in the shared workflow set.
If you find references to brownfield-gsd-graphify-bootstrap, update them to this skill and remove the duplicate.
tools
飞书审批:查询和处理审批待办/已办/实例,搜索可发起审批定义、查看定义详情并发起原生审批实例。当用户要处理审批任务、查看审批实例、搜索或发起审批时使用。审批待办不是飞书任务;非审批类待办走 lark-task。不负责创建审批定义;三方审批定义不走原生提单。
development
Use when a user needs reproducible repository sizing, language composition, file counts, or code-versus-comment ratios with pygount; record exclusions and verify measurement scope before interpreting results.
development
Route a development task to the official Hermes Agent skill, Graphify Codex artifact set, Open GSD Core bundle, or optional GSD Pi bundle without duplicating their installers or state machines.
development
飞书 / Lark 通讯录:按姓名 / 邮箱解析成 open_id,或按 open_id 反查姓名 / 部门 / 邮箱 / 联系方式 / 个人状态 / 签名,以及按关键词搜索当前用户可见的机器人 / 智能体(agent)。当用户提到一个名字要下一步发消息 / 排日程,或拿到 open_id 想查具体信息时使用。不负责部门树遍历、按部门列员工、组织架构图,这类需求走原生 OpenAPI。