Imported from noor-ulhassan/AtoZ-Traders-POS-App (
AGENTS.md). Install upstream withnpx skills add noor-ulhassan/AtoZ-Traders-POS-App. Copyright stays with the author.
graphify
This project has a graphify knowledge graph at .graphify/.
Rules:
- For codebase or architecture questions, when
.graphify/graph.jsonexists, first rungraphify query "<question>"(orgraphify path "<A>" "<B>"/graphify explain "<concept>"); these return a scoped subgraph, usually much smaller thanGRAPH_REPORT.mdor raw grep output - If .graphify/wiki/index.md exists, navigate it instead of reading raw files
- If .graphify/graph.json is missing but graphify-out/graph.json exists, run
graphify migrate-state --dry-runfirst; if tracked legacy artifacts are reported, ask before using the recommendedgit mv -f graphify-out .graphifyand commit message - If .graphify/needs_update exists or .graphify/branch.json has stale=true, warn before relying on semantic results and run /graphify . --update when appropriate
- Before proposing or committing .graphify artifacts, run
graphify portable-check .graphify; commit-safe graph artifacts must use repo-relative paths, and never commit .graphify/branch.json, .graphify/worktree.json, .graphify/needs_update, or .graphify/cache/. If a repo already tracks any of them, first add them to .gitignore, then proposegit rm --cached .graphify/branch.json .graphify/worktree.json .graphify/needs_updateandgit rm -r --cached .graphify/cache; never mutate git state without asking - Before deep graph traversal, prefer
graphify summary --graph .graphify/graph.jsonfor compact first-hop orientation - For review impact on changed files, use
graphify review-delta --graph .graphify/graph.jsoninstead of generic traversal - Read
.graphify/GRAPH_REPORT.mdonly for broad architecture review or whenquery/path/explaindo not surface enough context - After modifying code files in this session, run
graphify update . --all --forcefrom D:\POS to keep the graph current. Do NOT usegraphify hook-rebuildor a baregraphify updatein this repo: they resolve scope toauto->committed, which sees only the 34 files in the single existing commit, builds an 18-node graph, and is then refused as a regression.--allwalks the whole tree; exclusions come from.graphifyignore, not from git. .graphify/,AGENTS.md,.graphifyignore,.gitattributes,graph.html,graph-watch.cmdandrefresh-graph.cmdare gitignored on purpose - graphify must never reach GitHub. Ignore the "add to version control" / "commit-safe artifacts" advice above; nothing graphify-related gets committed.D:\POS\graph.htmlis the visual studio (self-contained, double-click to open). Regenerate graph + viewer together withsh .git/hooks/graphify-refresh.shfrom D:\POS - that is what the git hooks run.graphify watchrefreshes graph.json only, NOT graph.html.