feat(agent): configure graphify rule and workflow for Antigravity
- Add graphify always-on agent rule for query-first codebase inspection. - Add graphify workflow definition for navigable knowledge graph generation.
This commit is contained in:
1 parent
cd4b52cdce
commit
d01eef5861
2 files changed
+24
No files matched your search
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
trigger: always_on
|
||||||
|
description: Consult the graphify knowledge graph at graphify-out/ for codebase and architecture questions.
|
||||||
|
---
|
||||||
|
|
||||||
|
## graphify
|
||||||
|
|
||||||
|
This project has a graphify knowledge graph at graphify-out/.
|
||||||
|
|
||||||
|
Rules:
|
||||||
|
- For codebase or architecture questions, when `graphify-out/graph.json` exists, first run `graphify query "<question>"` (CLI) or `query_graph` (MCP). Use `graphify path "<A>" "<B>"` / `shortest_path` for relationships and `graphify explain "<concept>"` / `get_node` for focused concepts. These return a scoped subgraph, usually much smaller than `GRAPH_REPORT.md` or raw grep output.
|
||||||
|
- If graphify-out/wiki/index.md exists, navigate it instead of reading raw files
|
||||||
|
- Read graphify-out/GRAPH_REPORT.md only for broad architecture review or when query/path/explain do not surface enough context
|
||||||
|
- After modifying code files in this session, run `graphify update .` to keep the graph current (AST-only, no API cost)
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
name: graphify
|
||||||
|
description: Turn any folder of files into a navigable knowledge graph
|
||||||
|
---
|
||||||
|
|
||||||
|
# Workflow: graphify
|
||||||
|
|
||||||
|
Follow the graphify skill to run the full pipeline.
|
||||||
|
|
||||||
|
If no path argument is given, use `.` (current directory).
|
||||||
Reference in new issue
Block a user