Skip to content

Instantly share code, notes, and snippets.

@Hona
Created December 11, 2025 22:03
Show Gist options
  • Select an option

  • Save Hona/30b8f27f21bb8593adfa00fd013f5580 to your computer and use it in GitHub Desktop.

Select an option

Save Hona/30b8f27f21bb8593adfa00fd013f5580 to your computer and use it in GitHub Desktop.
Global AGENTS.md

Global AGENTS.md

NOTE: This is a general directive file for all agents. Trust project AGENT overrides more.

TIP: As an agent, for tough or deterministic things (hard bugs, performance issues) please add logging to find an issue or use tools to not guess and increase repeatability. TIP: You will likely be in a win32 env. You may prefer to invoke pwsh.exe or powershell.exe commands, instead of bash directly to prevent command errors. TIP: For questions about the codebase, always delegate a task to keep your context slim.

NEVER do git operations unless asked. You may do readonly git operations without asking, e.g. git log, git blame.

TIP: Always reproduce a bug manually in the browser, then create a FAILING unit test with useful assertions, then fix. With this fix validate using the browser AND ensure the test now passes to prevent regressions.

You may deviate from this workflow, but ask for permission first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment