Skip to content

feat: add graphify enrich command and graphify-enrich Claude Code skill#1820

Open
mandar-gite wants to merge 7 commits into
Graphify-Labs:v8from
mandar-gite:feat/enrich-command
Open

feat: add graphify enrich command and graphify-enrich Claude Code skill#1820
mandar-gite wants to merge 7 commits into
Graphify-Labs:v8from
mandar-gite:feat/enrich-command

Conversation

@mandar-gite

Copy link
Copy Markdown

Summary

  • Adds graphify enrich <path> — enriches INDEX.md files in a corpus from an
    existing graph.json (folder summaries generated from file-level descriptions).
  • Adds graphify enrich-skill install — installs a /graphify-enrich skill for
    Claude Code (graphify/skill-enrich.md, packaged via pyproject.toml).
  • Wires both through v8's dispatch_command/dispatch_install_cli split in
    graphify/cli.py and graphify/install.py.

Test plan

  • uv run --frozen pytest tests/ -q — 3191 passed, 3 skipped, 0 failed
    (the single failure I saw locally, test_cache.py::test_semantic_prune_removes_orphan_entries,
    is pre-existing flakiness on v8 itself — reproduced 3/4 times on a clean v8
    checkout with none of this PR's changes applied, so it's unrelated to this PR).
  • uv run --frozen python -m tools.skillgen --check — passes (no generated
    skill files were hand-edited).
  • uv run --frozen graphify --help / graphify install — verified manually.

Adds graphify enrich command with 10 tasks implemented:
- _group_nodes_by_folder, _cross_folder_edges, _write_subfolder_index, _write_master_index
- enrich() orchestrator, _watch_and_enrich, CLI wiring
- Claude-generated summaries with graceful fallback
- _patch_index for patching existing stubs
- --index-dir flag for writing to a separate target directory

374 tests pass. Two code review passes completed.
Add skill-enrich.md to [tool.setuptools.package-data] in pyproject.toml
so it is included in the installed distribution. Add
tests/test_enrich_skill_install.py to verify the file is present at
runtime in the package directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant