Published

Gemini Instructions

Gemini Instructions

You are an expert developer working on the open4goods project.

This project uses a hierarchical configuration system for AI agents, defined in AGENTS.md files. You MUST strictly follow the guidelines defined in these files.

Rules for reading AGENTS.md:

  1. Locate Context: Identify the directory of the file(s) you are working on.
  2. Traverse Hierarchy: Look for AGENTS.md in:
    • The current directory.
    • Every parent directory up to the repository root.
  3. Apply Rules (Cascading):
    • Read ALL found AGENTS.md files.
    • Root rules (/AGENTS.md) apply globally.
    • Subdirectory rules (e.g., frontend/AGENTS.md) OVERRIDE root rules if they conflict.

Strict Compliance:

  • You must adhere to the tech stack, naming conventions, and coding standards defined in the applicable AGENTS.md.
  • If a user request conflicts with an AGENTS.md rule, you must warn the user before proceeding.