Skip to content

Quickstart

Set up gspot yourself, or give one prompt to your coding agent.

Run these commands in the root of your repository.

npm i -D -E @gspothq/cli
npx gspot init
npx gspot install
  1. The first command adds gspot to the project, pinned to one version.
  2. gspot init shows a plan. When you accept it, gspot writes gspot.toml, the tool files, AGENTS.md and the rules, the Git hooks, and the CI workflow, and deletes the tool files it replaces. Read the plan first.
  3. gspot install installs the pinned tools and turns on the hooks. From then on, every commit runs the checks.

gspot starts at level recommended. For stricter checks, run gspot set level all, then gspot install again. Levels says what each level checks.

Commit gspot.toml and the files that gspot wrote; Generated files lists them. Then commit as usual. The pre-commit hook checks the staged files and stops the commit when a check fails. Run gspot check to check every file, including work that you did not commit.