feat: add graphify enrich command and graphify-enrich Claude Code skill#1820
Open
mandar-gite wants to merge 7 commits into
Open
feat: add graphify enrich command and graphify-enrich Claude Code skill#1820mandar-gite wants to merge 7 commits into
mandar-gite wants to merge 7 commits into
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
graphify enrich <path>— enriches INDEX.md files in a corpus from anexisting graph.json (folder summaries generated from file-level descriptions).
graphify enrich-skill install— installs a/graphify-enrichskill forClaude Code (
graphify/skill-enrich.md, packaged via pyproject.toml).dispatch_command/dispatch_install_clisplit ingraphify/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 generatedskill files were hand-edited).
uv run --frozen graphify --help/graphify install— verified manually.