panurus

AI Agents Best Practices

Panurus project leverages AI agents to streamline development, maintenance, and testing. To ensure consistent and high-quality results when using AI agents, please follow the guidelines below.

Agent Context (AGENTS.md)

The AGENTS.md file in the root directory is the primary source of truth for AI agents. It provides a comprehensive overview of the project’s architecture, key components, building instructions, and development conventions.

When starting a session with an AI agent, ensure it has read this file to understand the project’s specific context.

Best Practices for AI-Assisted Development

1. Research and Strategy Before Execution

Before asking an agent to implement a feature or fix a bug, ensure it performs a research phase.

2. Empirical Bug Reproduction

Never apply a fix based on an observation alone.

3. Idiomatic and Consistent Code

The agent must adhere to the project’s Go coding standards.

4. Comprehensive Testing and Validation

Validation is the only path to finality.

5. Surgical and Atomic Changes

Keep changes focused and minimal.

Common Agent Workflows

Feedback and Iteration

If an agent provides suboptimal results, provide specific feedback based on the project’s conventions. Update AGENTS.md if there are persistent misunderstandings about the project’s architecture or standards.