claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Builds or updates the code knowledge graph via tree-sitter AST and SQLite. Use when setting up the graph before search or blast-radius analysis.
$ npx -y skills add athola/claude-night-market --skill graph-build --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/graph-buildContext preview
The summary Claude sees to decide when to auto-load this skill.
Builds or updates the code knowledge graph via tree-sitter AST and SQLite. Use when setting up the graph before search or blast-radius analysis.
name: graph-build description: Builds or updates the code knowledge graph via tree-sitter AST and SQLite. Use when setting up the graph before search or blast-radius analysis. model_hint: standard
Build or update the `.gauntlet/graph.db` knowledge graph for the current codebase.
1. **Detect target**: Use the current working directory or a user-specified path.
2. **Check for existing graph**: If `.gauntlet/graph.db` exists, run an incremental update. Otherwise, run a full build.
3. **Run the build script**:
For full build:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/graph_build.py <dir>For incremental update:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/graph_build.py <dir> --incremental4. **Report results**: Show the JSON output including files parsed, nodes created, edges created, and duration.
5. **Suggest next steps**: Recommend searching the graph or running blast radius analysis.
The graph extracts nodes (File, Class, Function, Type, Test) and edges (CALLS, IMPORTS_FROM, INHERITS, CONTAINS, IMPLEMENTS, TESTED_BY) from 20+ languages including Python, JavaScript, TypeScript, Go, Rust, Java, C/C++, Ruby, and PHP.
unchanged files
the skill completes; `.gauntlet/.gitignore` exists to prevent the database from being committed
`nodes_created`, `edges_created`, `duration`; values are non-zero for non-empty codebases
exists (script invoked with `--incremental`); full build only on first run
or run blast-radius analysis
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.