brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
query-navigationQuery and navigate existing Graphify graphs with CLI commands, work-memory lessons, edge-safe interpretation, and optional MCP serving.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user already has a Graphify graphify-out/graph.json (or gives another graph.json) and wants answers, paths, node explanations, blast-radius checks, architectural hub lists, query lessons, or an MCP service layer from that graph.
graphify query, graphify path, graphify explain, graphify affected, and graphify god-nodes.NODE and EDGE lines: source locations, relation names, EXTRACTED/INFERRED/AMBIGUOUS confidence, edge context, and stored edge direction.graphify save-result and refreshing lessons with graphify reflect.graphify-out/graph.json; use a user-provided graph only with --graph PATH. If the graph is missing, corrupt, too large for the configured cap, not a JSON graph, or stale for the user's question, route to graph-building instead of guessing from source files.graphify reflect --if-stale in the project root when graphify-out/memory/ may exist, then read graphify-out/reflections/LESSONS.md. Treat preferred/contested/dead-end lessons as orientation only; re-verify stale or contested claims against graph output.query for broad context, query --dfs for chain-shaped exploration, path for an explicit concept-to-concept route, explain for one node and direct neighbors, affected for reverse impact, and god-nodes for high-degree architectural hubs.NODE labels, EDGE relations, confidence tags, context tags, and source_file:source_location locations. If the graph lacks enough evidence, say that plainly and either narrow the query or route to graph-building/source inspection only after acknowledging the graph gap.path is directed by default; use --undirected only when the user asks whether two nodes are connected regardless of dependency/call direction.explain or MCP neighbor lookup reports multiple same-label nodes in different files, retry with the repo-relative source path or full node ID. Do not present one arbitrary file as fact.graphify save-result --outcome useful|dead_end|corrected, then run or schedule graphify reflect --if-stale so future sessions see the lesson overlay.# Broad graph context; BFS is default. Add --dfs for chain-oriented traversal.
graphify query "show the auth flow" --graph graphify-out/graph.json
graphify query "who calls ChargeCustomerService" --context call --budget 3000
# Explicit paths; directed by default, undirected only for connectivity questions.
graphify path "CallerService" "TargetWorker" --graph graphify-out/graph.json
graphify path "TargetWorker" "CallerService" --undirected --graph graphify-out/graph.json
# Focused node explanation and direct neighbors.
graphify explain "TargetWorker" --graph graphify-out/graph.json
# Reverse impact and hubs.
graphify affected "TargetWorker" --relation calls --depth 2 --graph graphify-out/graph.json
graphify god-nodes --top 10 --graph graphify-out/graph.json
# Work memory.
graphify save-result --question "Q" --answer "A" --nodes TargetWorker CallerService --outcome useful
graphify reflect --if-stale --graph graphify-out/graph.json
Use python -m graphify ... when the graphify console command is not on PATH but the Python package imports.
TargetWorker <--calls [EXTRACTED]-- CallerService means the undirected traversal walked from TargetWorker to CallerService, but the stored edge still says CallerService calls TargetWorker. Do not rewrite it as TargetWorker calls CallerService; use affected or a call-context query when the user needs callers.path follows stored direction by default. If the user asked for dependency flow, stop at the no-path result. If they asked for connectivity, retry with --undirected and explain that the result ignores direction.explain; never choose one same-label node from a different file without a disambiguating query.graphifyy[mcp], keep the default host 127.0.0.1 for local use, and require an API key before binding to 0.0.0.0 or ::. Prefer GRAPHIFY_API_KEY over inline secrets.From the graphify repo-skill root directory:
python sub-skills/query-navigation/scripts/query_tiny_graph.py
# If the package is installed in another interpreter:
python sub-skills/query-navigation/scripts/query_tiny_graph.py --python /path/to/python
The helper creates a temporary Graphify node-link graph, runs only local read commands plus the deterministic lesson loop, asserts stored edge direction and reverse-arrow rendering, and deletes the temporary directory unless --keep-temp is passed.