← Help Center

Team coding rules

Teach AI Code All how your team writes code. Your rules are added to every generation, update and fix for everyone in your organization, and they stay private to you.

1Write your rules
2AI Code All follows them for your whole team
3It learns more from failed runs

Good rules to start with

  • Prefix every public module, class and database table with acme_ or Acme.
  • Read secrets and connection strings from environment variables, never from code.
  • Use our acme_logging.get_logger() instead of print or the root logger.
  • Every new table needs created_at and updated_at columns.
  • Use our apiClient wrapper for HTTP calls in JavaScript, never axios.

Short, specific rules work best. Up to 300 rules per organization.

Three ways to add rules

1. Type them in AI Code All

Open Organization → Team coding rules, add a rule and pick what it applies to (all languages, or one language such as Python, Java or SQL). Owners and admins can edit; everyone on the team can see the list.

2. Keep a rules file in your GitHub repository

Add a file named aicodeall-rules.md to the root of your repository. Edit it in your editor like any other file and commit it. On the Team coding rules page, pick the repository (it must be linked on the Organization page). AI Code All reads the file again at least every 10 minutes, or straight away with Sync now.

3. Import a file from your computer

Upload a .md or .txt file. You can add its rules to your list or replace rules imported before, and download your current rules as a file at any time.

Rules file format

One rule per line, starting with - . Headings set what the rules under them apply to. Anything else is ignored, so you can add notes.

# AI Code All team rules

## All languages
- Prefix every public module, class and database table with acme_ or Acme.
- Read secrets and connection strings from environment variables, never from code.

## Python
- Use our internal acme_logging.get_logger() instead of print or the root logger.

## JavaScript
- Use fetch with our apiClient wrapper, never axios.

## SQL
- Every new table needs created_at and updated_at timestamp columns.

Recognized headings: All languages (or Everything) and the name of any supported language, such as HTML, XML, JavaScript, CSS, PHP, SQL, Python, Java and so on. Download an example file.

Learning from failed runs

When a generation for your team fails, AI reviews the error. If it reveals something about your project, such as a naming rule or a library the code has to use, it can add a private rule for your team. You'll see these marked Learned from a failure, with the error they came from. Edit or turn off any of them, or switch learning off.

Privacy

  • Your team's rules are only used for members of your organization.
  • Rules learned from your errors that name your own modules, classes or tables stay in your private list. Only general lessons with no names of yours, like "a Go test file must end in _test.go", improve AI Code All for everyone.

Team coding rules are part of the Business and Team plans. Questions? Contact us.

Before you go, try one generation free

Pick a language, describe a function, class or script, and get complete files with tests back. New accounts get 25 free tokens and no credit card is needed.

Want more? AI Code All Pro is $9.99/month when you subscribe by December 31, 2026, and that price stays locked in.

Sign up free Get a demo for my team