Skip to content

agents

Working and writing code: rules for coding agents, and one AGENTS.md at the repository root.

Always.

Reports each tracked AGENTS.md outside the repository root.

Runs at the commit stage.

An agent reads the root file, and a second file splits the rules so that one drifts from the other.

Move the rules into the AGENTS.md at the root of the repository, and delete this file.

A tracked packages/cli/AGENTS.md reports nested-agents-file. Move its rules into the root AGENTS.md, then delete it.

gspot ignore agents/nested-files --paths "<path>" --reason "<why>"
Rule file Installed when
.gspot/rules/ACCESSIBILITY.md The repository has filenames *.html, *.tsx, *.jsx, *.vue, *.svelte, *.astro, or *.swift.
.gspot/rules/CI.md The repository has filenames **/.github/workflows/*.{yml,yaml} or .gitlab-ci.yml.
.gspot/rules/CLI.md Always
.gspot/rules/COMMENTS.md Always
.gspot/rules/ERRORS.md Always
.gspot/rules/HTTP.md The repository has a dependency on express, fastify, hono, koa, @nestjs/core, next, @sveltejs/kit, fastapi, flask, django, starlette, aiohttp, or vapor.
.gspot/rules/LOGGING.md The repository has a dependency on pino, winston, bunyan, structlog, loguru, express, fastify, hono, koa, @nestjs/core, fastapi, flask, django, or vapor.
.gspot/rules/PLANNING.md Always
.gspot/rules/SETTINGS.md Always
.gspot/rules/TASKS.md Always
.gspot/rules/TESTING.md Always
.gspot/rules/WORKING.md Always