agents
Working and writing code: rules for coding agents, and one AGENTS.md at the repository root.
Selected when
Section titled “Selected when”Always.
Checks
Section titled “Checks”nested-files
Section titled “nested-files”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.
What to do
Section titled “What to do”Move the rules into the AGENTS.md at the root of the repository, and delete this file.
Example
Section titled “Example”A tracked packages/cli/AGENTS.md reports nested-agents-file. Move its rules into the root AGENTS.md, then delete it.
Turn it off
Section titled “Turn it off”gspot ignore agents/nested-files --paths "<path>" --reason "<why>"Rules for coding agents
Section titled “Rules for coding agents”| 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 |