HtmlGraph is developed using HtmlGraph itself (dogfooding). .htmlgraph/ contains real work items.
main only. All changes go directly to main via pull request.
git clone https://github.com/shakestzd/htmlgraph.git
cd htmlgraph
# First build (bootstraps from source)
go build -o htmlgraph ./cmd/htmlgraph/
# All subsequent rebuilds
htmlgraph build
# equivalent: plugin/build.sh
# outputs to: plugin/hooks/bin/htmlgraph| Path | Role |
|---|---|
cmd/htmlgraph/ |
CLI entry points |
internal/ |
Business logic |
plugin/ |
Agents, skills, hooks, commands — single source of truth |
.htmlgraph/ |
Work items and session data (generated, not edited directly) |
Never edit .claude/ — it is auto-synced from plugin/ and changes are lost.
htmlgraph claude --dev # loads plugin from plugin/ via --plugin-dirUninstalls the marketplace plugin, clears cache, and launches Claude Code with --plugin-dir plugin/. Reinstalls on exit.
Run before every commit:
go build ./... && go vet ./... && go test ./...All three must pass. No exceptions — fix pre-existing errors too.
- Create a work item:
htmlgraph feature create "title" --track <trk-id> --description "..." - Start it:
htmlgraph feature start <feat-id> - Make changes and run quality gates
- Complete:
htmlgraph feature complete <feat-id> - Push and open a PR to
main
Version lives in plugin/.claude-plugin/plugin.json.
./scripts/deploy-all.sh X.Y.Z --no-confirmThe deploy script updates both the CLI binary and the plugin. Never update one without the other.
htmlgraph help --compact— CLI reference- Issues: https://github.com/shakestzd/htmlgraph/issues
MIT. Contributions are licensed under the same terms.