AGENTS.md

This site contain some of my project repositories with code I've wrote over the last years.


AGENTS.md

This file is the operational contract for AI coding agents in this repository.

Scope

  • Applies to the entire repository unless a deeper AGENTS.md overrides local details.
  • Keep this file compact (target: 60–100 lines, hard cap: 120).
  • Put detailed guidance in docs/agents/.
  • Put agent-specific assets in .agents/.

Required Structure

  • AGENTS.md (this file): concise rules, commands, boundaries.
  • docs/agents/: detailed workflows, architecture notes, extended examples.
  • .agents/: agent-specific assets only.

Forbidden Root Directories

Do not add tool-specific agent dirs at repository root: .claude/.codex/.cursor/.windsurf/.aider/.roo/.continue/.cody/.gemini and agents/.

Graphify Baseline

  • Keep graphify-out/ in .gitignore.
  • Do not commit generated graphify artifacts.

Working Rules

Do

  • Reuse existing patterns before introducing new ones.
  • Keep changes minimal, explicit, and reversible.
  • Update docs when behavior or contracts change.

Don’t

  • Don’t add speculative abstractions.
  • Don’t introduce breaking behavior without explicit request.
  • Don’t store secrets or credentials in repository files.

Commands

  • Check:
  • Lint:
  • Test (targeted):
  • Test (full):
  • Security scan:

Verification Policy

  • Behavior-preserving changes: run static checks/lint/type checks for changed scope.
  • Behavior changes: run targeted tests covering changed behavior and direct callers.

Security Baseline

  • Keep a SECURITY.md with reporting and disclosure instructions.
  • Keep incident handling guidance at docs/security/incident-response.md.

Documentation Routing

  • docs/agents/workflows.md
  • docs/agents/architecture.md
  • docs/agents/commands.md
  • docs/agents/testing.md
  • docs/agents/troubleshooting.md