TypeScript CLI functions for cxgrd
See the code![]() | CXGRD |
CXGRD maps blast radius across your codebase, so AI tools know what they will break - before they write a line
CXGRD scans your project, builds a dependency graph, and gives AI assistants the architectural context they need to make safer changes.
# 1. Install
npm install -g cxgrd
# 2. Authenticate
cxgrd auth login
# Required for Pro, Team, and Enterprise plans
# 3. Scan your project
cxgrd scan
# 4. Check blast radius before a change
cxgrd input "extract UserService into a separate module"
# 5. Generate an enriched prompt for your AI
cxgrd prompt "extract UserService into a separate module"
# 6. Validate the result
cxgrd check
cxgrd scan → writes .cg/ from scratch or diffs itcxgrd input → reads graph + architecture + history, writes to history.jsoncxgrd prompt → reads everything, sends a subgraph to your LLM, and returns an enriched promptcxgrd check → reads graph + compiler output, writes result to history.jsoncxgrd auth login → log in for Pro, Team, and Enterprise userscxgrd doctor → verifies toolchain readiness before strict checkscxgrd watch → monitors dependency changes in real timecxgrd init-hooks → installs pre-commit checks automaticallyFor more information, visit the official website or read the docs here.
149 commits
TypeScript
100.0%
TypeScript CLI functions for cxgrd
See the code![]() | CXGRD |
CXGRD maps blast radius across your codebase, so AI tools know what they will break - before they write a line
CXGRD scans your project, builds a dependency graph, and gives AI assistants the architectural context they need to make safer changes.
# 1. Install
npm install -g cxgrd
# 2. Authenticate
cxgrd auth login
# Required for Pro, Team, and Enterprise plans
# 3. Scan your project
cxgrd scan
# 4. Check blast radius before a change
cxgrd input "extract UserService into a separate module"
# 5. Generate an enriched prompt for your AI
cxgrd prompt "extract UserService into a separate module"
# 6. Validate the result
cxgrd check
cxgrd scan → writes .cg/ from scratch or diffs itcxgrd input → reads graph + architecture + history, writes to history.jsoncxgrd prompt → reads everything, sends a subgraph to your LLM, and returns an enriched promptcxgrd check → reads graph + compiler output, writes result to history.jsoncxgrd auth login → log in for Pro, Team, and Enterprise userscxgrd doctor → verifies toolchain readiness before strict checkscxgrd watch → monitors dependency changes in real timecxgrd init-hooks → installs pre-commit checks automaticallyFor more information, visit the official website or read the docs here.
149 commits
TypeScript
100.0%