/ironforge:graph-initfrom ironforge
Initialize Graphify on an existing project. Builds the code knowledge graph, configures the Claude Code integration, installs git hooks for incremental rebuild, and adds graphify-out/ to .gitignore. Only useful for existing projects — greenfield projects have no ROI.
Ships in ironforge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Initialize Graphify on the current project. This creates a persistent code knowledge graph
that BMAD agents can query via the graph-explore subagent.
ls graphify-out/ 2>/dev/null
If graphify-out/ exists, ask the user:
A Graphify graph already exists. Choose an option:
- Rebuild from scratch (
graphify update .— overwrites existing graph)- Cancel
Wait for the user's response. If cancel, stop.
graphify --version 2>/dev/null || pip install graphifyy
If pip install fails, tell the user to run it manually and wait for confirmation before
continuing.
graphify install
This configures Graphify for Claude Code:
.mcp.jsonPreToolUse hook in settings.jsonDo not modify these files manually — Graphify owns them.
Ask the user:
How do you want to build the graph?
- Full pipeline (
/graphify .) — semantic extraction via LLM, community detection, HTML viz, Obsidian vault, GRAPH_REPORT.md. Costs tokens, takes a few minutes. Recommended for the first run.- Quick build (
graphify update .) — AST-only, no LLM, fast. No semantic edges, no community labels, no Obsidian vault.
Wait for the user's response.
If option 1: invoke the /graphify skill with the current directory as path (. or
the project root). The skill handles the full pipeline autonomously — do not duplicate its
steps here. Resume at Step 5 once it completes.
If option 2:
graphify update .
Output lands in graphify-out/:
graph.json — queryable graphgraph.html — visual explorer (open in browser)GRAPH_REPORT.md — top nodes and structural surprisesNote: Obsidian vault and semantic community labels are only generated by the full pipeline.
Run /graphify . --obsidian later to add them.
graphify claude install
Adds a ## graphify section to the local CLAUDE.md that instructs Claude to check
the graph before answering codebase questions and rebuild it after code changes.
graphify hook install
Installs post-commit and post-checkout hooks in .git/hooks/. These rebuild the graph
incrementally after every commit and branch switch, keeping the graph in sync without
manual intervention.
Check if graphify-out/ is already ignored:
grep -s "graphify-out" .gitignore
If not found, ask the user:
Add
graphify-out/to.gitignore? The graph is a local artefact — it should not be committed. (y/n)
If confirmed, append the line to .gitignore (create the file if it does not exist):
graphify-out/
Print the final status:
## Graphify — Initialized
✓ Graphify installed
✓ Claude Code integration configured (graphify install)
✓ Graph built (graphify-out/)
✓ Always-on CLAUDE.md integration (graphify claude install)
✓ Git hooks installed (post-commit, post-checkout)
✓ graphify-out/ ignored (.gitignore updated)
→ Open graphify-out/graph.html in a browser to explore the graph visually.
Open graphify-out/obsidian/ as a vault in Obsidian for graph view + canvas.
Run `/graphify . --obsidian` to regenerate with Obsidian vault if you used quick build.
BMAD agents will query the graph via the graph-explore subagent.
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/bmad-analyzeRuns the BMAD analysis phases to produce structured project artefacts: brief, PRD, and architecture. Activates the appropriate BMAD agent for each phase. Each phase requires explicit user validation before the next begins. Produces files consumed by /ironforge:bmad-to-sudocode.
/bmad-to-sudocodeConverts existing BMAD artefacts (brief, PRD, architecture) into Sudocode specs and issues. Invocable standalone on projects that already have BMAD docs. Checks which files exist, maps each to Sudocode, and generates a dependency graph between issues.
/full-workflowIronforge full pipeline orchestrator. Chains all skills in order for a new project or feature: start → bmad-analyze → bmad-to-sudocode → implement → review. Use this for projects with no existing artefacts. For projects with partial artefacts, invoke individual skills directly.
/graph-exploreSubagent that queries the Graphify knowledge graph and returns a ≤300-token structured summary. Called by BMAD agents (bmad-analyze, implement, full-workflow) before each phase. Never call MCP graph tools directly in the main session — always go through this subagent.
/implementImplements Sudocode issues one by one in dependency order using strict TDD (RED → GREEN → REFACTOR → COMMIT). Activates Context7 for library documentation and leverages LSP diagnostics when available. Updates issue status in Sudocode after each commit.
/reviewReviews implemented code via agency-agents before merge. Runs @engineering-code-reviewer on the diff, then @testing-reality-checker for QA sign-off. Blocks on critical findings and loops back to /ironforge:implement for fixes.
npx claudepluginhub romaindecoster/ironforge --plugin ironforgeOther plugins' skills for the same job