speckit-graphify-context

Generates a token-bounded graphify codebase-grounding file for the current feature.

Updated Jul 8, 2026
One-click install
npx skills add https://github.com/NarenKarthikBM/specseyal --skill speckit-graphify-context-narenkarthikbm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-graphify-context
Source: https://github.com/NarenKarthikBM/specseyal/tree/main/.claude/skills/speckit-graphify-context
Command: npx skills add https://github.com/NarenKarthikBM/specseyal --skill speckit-graphify-context-narenkarthikbm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Planning and implementing a feature without knowing the existing codebase leads to duplicated modules, broken dependencies, and parallel tasks colliding on shared files. This Skill queries a graphify dependency graph to produce a compact grounding document so Spec Kit commands plan against real code structure instead of re-exploring the repo from scratch. ## Core Features & Use Cases - Graph-grounded context generation: Runs graphify explain, query, and path commands against graphify-out/graph.json to map feature anchors to real files and symbols. - Blast radius and collision detection: Reports per-anchor dependencies and flags shared/mutable files (route manifests, barrels, registries) that must be serialized during parallel implementation. - Repo or merged-stack scope: Supports single-repo graphs or a merged cross-repo stack graph for features spanning frontend and backend. - Use Case: Before running /speckit-plan on a new tournament feature, invoke this Skill to write graphify-context.md listing the existing modules it touches, which files depend on them, and which shared files constrain parallel task waves. ## Quick Start Ask the assistant to generate the graphify context file for the current feature, optionally passing a feature directory or the word merged for the cross-repo stack graph.

Frequently Asked Questions about speckit-graphify-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate codebase context for a spec-kit feature?

Run the speckit-graphify-context skill from the repo root after building a graphify graph. It resolves the feature directory via check-prerequisites.sh, queries graph.json with graphify explain and path, and writes graphify-context.md into the feature directory.

What is graphify and how does it work with spec-kit?

Graphify is a tool that builds a real dependency graph (graphify-out/graph.json) of a codebase. Spec Kit's graph-aware commands read the context file generated from that graph so planning and parallel implementation use actual dependency edges instead of LLM guesses.

Can I use this for features spanning frontend and backend repos?

Yes. Pass the word merged, or let the skill detect cross-repo references in the spec, and it queries the merged stack graph at the parent directory's graphify-out/graph.json instead of the single-repo graph.

Why does the skill say to run /graphify first?

The skill stops if graphify-out/graph.json does not exist in the chosen root, because it never fabricates dependency context. Running /graphify in that root builds the graph file that all subsequent explain and path queries depend on.

What are shared mutable files in parallel implementation?

Shared mutable files are high-fan-in files like route manifests, barrel index re-exports, and registry modules that many tasks edit. The skill flags them in a collision watch section so tasks touching them are serialized rather than placed in the same parallel wave.