Commonly-used-high-value-skills gsd-graphify-brownfield-bootstrap
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.
git clone https://github.com/seaworld008/Commonly-used-high-value-skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/seaworld008/Commonly-used-high-value-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/engineering-workflow-automation/gsd-graphify-brownfield-bootstrap" ~/.claude/skills/seaworld008-commonly-used-high-value-skills-gsd-graphify-brownfield-bootstrap-1ac3f8 && rm -rf "$T"
skills/engineering-workflow-automation/gsd-graphify-brownfield-bootstrap/SKILL.mdGSD + graphify Brownfield Bootstrap
Use this skill when an existing repo needs one canonical brownfield bootstrap flow for:
- local GSD runtime wiring
- graphify context + smart refresh
- manually seeded
context.planning/ - current-state / docs / entrypoint convergence
This skill now replaces the older duplicate
brownfield-gsd-graphify-bootstrap so the brownfield story stays single-track.
When to Use
Use this skill when the user asks to:
- add GSD + graphify to an existing repo
- bootstrap brownfield planning without trusting
gsd-sdk init - standardize one reusable brownfield onboarding flow for teammates
- converge README / docs / AGENTS around the repo's current architecture before major refactors
Do not use this skill for greenfield repos or for upstream Hermes / graphify / GSD development.
Outcome
A successful bootstrap usually leaves the repo with:
- local Codex runtime files in
./.codex/
for cheap graph refreshscripts/graphify-sync.sh- graphify outputs in
graphify-out/ - manually seeded
brownfield baseline.planning/ - workflow guidance in
,AGENTS.md
, and docsREADME.md - an initial current-state / entrypoint / roadmap baseline that future agents can extend
Standard Install Story
Prefer the same baseline as the main Hermes + graphify + GSD workflow skills:
command -v hermes hermes --version 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 else "$PY_BIN" -m pip install --user -U graphifyy 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:
- it matches the teammate-shareable non-intrusive workflow
- it reduces drift between brownfield bootstrap and project-integration skills
- it avoids forcing every user to clone and build GSD from source just to get started
Source Install Is a Fallback, Not the Default
Only prefer a source checkout of GSD when one of these is true:
- you are debugging or contributing to GSD itself
- the upstream package entrypoint is temporarily broken
- you need to inspect installer behavior before trusting it in a sensitive environment
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.
Brownfield Bootstrap Steps
1. Install local Codex runtime in the target repo
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'
2. Confirm graphify outputs and add smart refresh
Required outputs are:
graphify-out/graph.jsongraphify-out/GRAPH_REPORT.md
Important rule:
- do not require
graphify-out/manifest.json - newer graphify versions may not emit it
- treat manifest as optional diagnostic output only
The repo-local
scripts/graphify-sync.sh should support:
statussmartforceserve
Recommended
smart behavior:
- if graph outputs are missing, run
graphify update . - if code files changed, run code-only rebuild via
graphify.watch._rebuild_code(Path('.')) - if only docs/media changed, skip automatic rebuild and print manual full-refresh guidance
3. Add or verify repo docs and workflow contract
Update or create:
AGENTS.mdREADME.mddocs/current-state.mddocs/index.mddocs/entrypoints.md- optional
docs/gsd-graphify-workflow.md
Converge them around current facts:
- authoritative frontend and backend entrypoints
- current mainline architecture path
- what is legacy / experimental / archived
- the standard GSD + graphify operating loop
4. Manually seed .planning/
when interactive init is not trustworthy
.planning/If 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.md- current README / docs / AGENTS
- codebase inspection results
- current architectural conclusions
Practical
config.json defaults:
mode: yolodiscuss_mode: assumptionsplanning.commit_docs: false- keep destructive / external-service confirmations enabled
Recommended
task-board.json role:
- act as the machine-readable task selector for autonomous continuation
- map each major brownfield step to explicit task ids, dependencies, priorities, and acceptance notes
- stay aligned with
,REQUIREMENTS.md
, andROADMAP.mdSTATE.md
5. Optional cleanup of legacy entrypoints
For repos with multiple old entrypoints or migration leftovers:
- document authoritative entrypoints first
- archive low-risk legacy entrypoints before deleting anything
- do not start by deleting the most ambiguous historical mainline files
This keeps the brownfield migration reversible while the new workflow settles in.
Recommended Phase 0
A good first brownfield phase is usually:
planning bootstrap00-01
docs/current-state alignment00-02
workflow verification00-03
Only after that should the repo move into larger cleanup or architecture-convergence phases.
Verification Checklist
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:
existsgraphify-out/GRAPH_REPORT.md
existsgraphify-out/graph.json- README / docs / AGENTS agree on current facts
and.planning/ROADMAP.md
point at the same active phase.planning/STATE.md- if legacy entrypoints were archived, their replacements are clearly documented
Common Pitfalls
- Treating source-install as the default teammate path
- prefer the standard upstream entrypoints first
- Requiring
manifest.json
- manifest is optional in current graphify versions
- Letting
invent a roadmap for a complex repo with weak contextgsd-sdk init
- manually seed
when needed.planning/
- Updating scripts but not README / docs / AGENTS
- brownfield repos need documentation convergence, not only tool installation
- Deleting historical entrypoints before documenting the current mainline
- convergence first, destructive cleanup second
Standard Operating Loop After Bootstrap
./scripts/graphify-sync.sh smart- Read
graphify-out/GRAPH_REPORT.md - Read
and.planning/STATE.md.planning/ROADMAP.md - Use GSD phase / plan / execute workflow
- Implement or clean up
- Re-run
./scripts/graphify-sync.sh smart - Update planning/docs if the phase meaning changed
Canonical Skill Note
This 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.