Best Practices

What Is the best_practices.md File?

The best_practices.md file helps your team stay aligned by documenting and sharing coding guidelines directly within your project.

Qodo IDE plugin reads this file and uses it as a reference to guide its suggestions and decisions, keeping everyone on the same page.

Why It Matters

The best practices file gives your AI assistant a shared understanding of your team's standards.

Whether you're reviewing code, generating tests, or writing new features, Qodo will use your documented practices to offer more accurate, consistent, and context-aware help.


How to Create It

Qodo includes a built-in workflow that generates a suggested best_practices.md file for your project. You can customize this file at any time by editing or replacing its contents with your own team’s standards.

Once created, place the file at the root of your project directory so Qodo can read it automatically.

What It Can Include

The best_practices.md file is flexible. It can include guidelines on:

  • Code style and naming conventions

  • Documentation standards

  • Python and scripting best practices

  • YAML and configuration structures

  • GitHub Actions setup

  • Testing strategies

  • Chat command usage

  • CSS or front-end rules

  • Any other practices specific to your team

Use Cases

  • Better Suggestions: When Qodo writes or reviews code, it follows your documented rules.

  • Team Alignment: Everyone uses the same standards, even across different projects or services.

  • Faster Onboarding: New developers quickly understand your practices.

  • Less Back-and-Forth: Review cycles improve when everyone codes the same way.

Technical Details

  • File must be named: best_practices.md

  • Must be placed in the root of the project directory

  • Up to 1,500 lines will be processed

If the file exceeds 1,500 lines, Qodo will read only the first portion.

Tip: Keep It Living

You can continue refining the file over time. Ask Qodo to help add, rewrite, or clean up sections as your project evolves.


Example

Last updated