CLI commands Every Prism CLI subcommand, generated from the command table the binary is built from.
Every prism command, generated from the command table the binary is built
from. If a command appears here, it exists; if its options are listed here,
they are the options it accepts.
See Using the CLI for global options, exit codes, and how
--fail-on behaves in CI.
Identify languages, frameworks, domains and stack
prism dna --json | jq '.data.frameworks'
Overall health score and the factors behind it
Option Meaning --fail-on <band>Exit 1 when the risk is at or above this band: low, mid, high
prism health --fail-on high
Repository map: clusters, landmarks and layers
Option Meaning --zoom <level>Zoom level to render: repo, package, feature, file, symbol --limit <n>Maximum rows to print (default 50)
What a file or folder is for, and who owns it
Argument Meaning <path>File or folder to explain
Usages, ownership and similar code for a file or symbol
Argument Meaning <target>File path, or symbol with --symbol
Option Meaning --symbolTreat the argument as a symbol name rather than a file path --in <path>File to look in, when several symbols share a name --limit <n>Maximum rows to print (default 50)
prism explore src/index.ts
Detected stack signals, domains and personas
Inferred features and their confidence
Option Meaning --limit <n>Maximum rows to print (default 50)
prism features --limit 10
Entrypoints, package roots and feature anchors
Option Meaning --limit <n>Maximum rows to print (default 50)
Every package in the workspace and where it lives
Option Meaning --limit <n>Maximum rows to print (default 50)
What breaks if this file or symbol changes
Argument Meaning <target>File path, or symbol with --symbol
Option Meaning --symbolTreat the argument as a symbol name rather than a file path --in <path>File to look in, when several symbols share a name --deleteAssess a deletion rather than an edit --fail-on <band>Exit 1 when the risk is at or above this band: low, mid, high --limit <n>Maximum rows to print (default 50)
prism blast src/core/index.ts --fail-on high
Risk of the current changes, or of the paths you name
Argument Meaning [paths...]Files to review (default: the working-tree diff)
Option Meaning --base <rev>Diff against a git revision --fail-on <band>Exit 1 when the risk is at or above this band: low, mid, high --limit <n>Maximum rows to print (default 50)
prism review --base origin/main --fail-on high
Whether a file or symbol can be removed
Argument Meaning <target>File path, or symbol with --symbol
Option Meaning --symbolTreat the argument as a symbol name rather than a file path --in <path>File to look in, when several symbols share a name --limit <n>Maximum rows to print (default 50)
prism safe-delete src/legacy/old.ts
Every edit site a rename would touch
Argument Meaning <target>File path, or symbol with --symbol [newName]Proposed new name
Option Meaning --symbolTreat the argument as a symbol name rather than a file path --in <path>File to look in, when several symbols share a name --limit <n>Maximum rows to print (default 50)
prism rename src/util.ts src/helpers.ts
Tests that a change can reach
Argument Meaning <target>File path, or symbol with --symbol
Option Meaning --symbolTreat the argument as a symbol name rather than a file path --in <path>File to look in, when several symbols share a name --fail-on <count>Exit 1 at this many findings, or 'any' for one or more --limit <n>Maximum rows to print (default 50)
prism test-impact src/core/index.ts
Dependency graph size and its most connected nodes
Option Meaning --packagesAggregate files into packages --limit <n>Maximum rows to print (default 50)
Import and re-export cycles
Option Meaning --packagesAggregate files into packages --fail-on <count>Exit 1 at this many findings, or 'any' for one or more --limit <n>Maximum rows to print (default 50)
prism cycles --fail-on any
Find where a symbol is declared
Argument Meaning <name>Symbol name
Option Meaning --in <path>File to look in, when several symbols share a name --kind <kind>Filter by kind, e.g. function --limit <n>Maximum rows to print (default 50)
prism symbol createWorkspace
Find who references a symbol
Argument Meaning <name>Symbol name
Option Meaning --in <path>File to look in, when several symbols share a name --limit <n>Maximum rows to print (default 50)
How one file reaches another through dependencies
Argument Meaning <from>Starting file <to>Destination file
Option Meaning --alternatives <n>How many distinct routes to return
prism route src/cli.ts src/output.ts
Entropy, drift, debt, churn and hotspots
Option Meaning --fail-on <band>Exit 1 when the risk is at or above this band: low, mid, high --limit <n>Maximum rows to print (default 50)
prism engineering --fail-on high
Test structure and on-disk coverage
Option Meaning --fail-on <band>Exit 1 when the risk is at or above this band: low, mid, high --limit <n>Maximum rows to print (default 50)
Left-shift tooling and configuration checklist
Option Meaning --fail-on <band>Exit 1 when the risk is at or above this band: low, mid, high --limit <n>Maximum rows to print (default 50)
prism security --fail-on mid
Routes, data layer, env vars and background jobs
Option Meaning --limit <n>Maximum rows to print (default 50)
Bundle weight from an ingested stats artifact
Option Meaning --artifact <id>Ingested stats artifact id --limit <n>Maximum rows to print (default 50)
prism bundle --artifact < i d >
Check the environment, workspace and index
Build or refresh the repository index