cd /news/ai-agents/show-hn-gspot-a-tool-to-lint-gstack-… · home › topics › ai-agents › article
[ARTICLE · art-152536] src=generativespotting.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Gspot, a tool to lint gstack code

A command-line tool called gspot, published as @gspothq/cli on npm, lints code written by AI coding agents and installs rule files so those agents know what will pass. gspot wraps eight existing linters — ESLint, Prettier, Ruff, Stylelint, ShellCheck, Semgrep, Knip and Trivy — into pre-commit, pre-push and CI checks that block bugs, type errors, unused code, leaked passwords and API keys, and packages with known vulnerabilities or disallowed licenses. Setup runs through `npx gspot init` and `npx gspot install`, and gspot writes an AGENTS.md plus a per-language rule file while pinning every tool to one version so local, agent and CI runs match.

read2 min views1 publishedOct 18, 2026
Show HN: Gspot, a tool to lint gstack code
Image: source

gspot is a command-line tool that lints AI-generated code and installs rules for AI coding agents.

$ npm i -D -E @gspothq/cli$ npx gspot init$ npx gspot install

Set up gspot in a repository. Run curl -fsSL https://

Read the docs →

Works with these tools

  • ESLint
  • Prettier
  • Ruff
  • Stylelint
  • ShellCheck
  • Semgrep
  • Knip
  • Trivy

gspot stops the commit and names each problem #

An agent added a checkout function to a TypeScript project and made three mistakes. The pre-commit hook found all three.

What gspot does #

Run gspot init once. It looks at your repository and turns on the checks it needs. Then quick checks run every time you commit, slower ones before you push, and CI runs them again on every push.

  • Blocks bad codeBugs, type errors, unsafe code, and code that nothing uses cannot be committed or pushed. gspot shows the file, the line, and how to fix it.

  • Formats every fileCode, settings, and docs all get the same formatting. gspot check --fix does it for you.

  • Stops leaked passwords and keysIf a commit holds a password, an API key, or a token, gspot stops it before the commit exists.

  • Checks the packages you installgspot warns you about packages with known security holes or a license you do not allow, and checks that brand-new releases wait a few days before they install.

  • Tells your agent the rulesgspot writes AGENTS.md and a rule file for each language, so your agent knows how to write code that passes.

  • Works the same everywhereEvery tool is locked to one version, so you, your agent, and CI get the same result.

── more in #ai-agents 4 stories · sorted by recency
── more on @gspot 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-gspot-a-tool…] indexed:0 read:2min 2026-10-18 · —