Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.97 KB

File metadata and controls

47 lines (37 loc) · 1.97 KB

AGENTS.md

General Instruction

  • Use tasks defined in Taskfile.yml as the source of truth and first choice for running project commands.
  • If a needed operation is not represented as a task, you may use direct commands that are appropriate for the repository.
  • Keep Taskfile focused on project workflows; routine shell/git commands (for example git, ls, rm) do not need Taskfile targets.

Prompt-Scoped Command Exception

  • If a command is explicitly documented in a prompt file under .github/prompts/, that command is allowed when running that specific prompt.
  • If both a Taskfile task and an explicit prompt command exist for the same operation, prefer the Taskfile task.
  • For recurring workflows, add/update a Taskfile task and then update the prompt to call the task so the workflow remains single-sourced.

Canonical Rule Source

  • Canonical coding policies live in .github/instructions/.
  • AGENTS.md files are cross-agent adapters and should reference canonical instruction files instead of duplicating their policy bodies.

Routing by Path

Precedence and Conflicts

  • The most specific AGENTS.md in scope applies first (for example, backend/AGENTS.md, frontend/AGENTS.md, or ios/AGENTS.md over this file for matching paths).
  • Avoid policy duplication across AGENTS.md and .github/instructions/*.instructions.md.