AI Compare Ninja AI Compare Ninja

Check prices, features and limits.

Pricing market
Automatic
Language
EN

Draft project rules for a coding agent

A short rules file (e.g. AGENTS.md) that records your project's commands, limits and conventions.

Type
Rules file
Level
Advanced
Time
about 20 min

Results depend on the tool, the model and what you enter.

Result preview

Example: written by our editors, not real AI output.

## Commands - Tests: python3 -m pytest - Build: python3 build.py ## Never - Do not read or print secrets, because they end up in logs. - No force push, because other people's commits get lost. ## Ask first - before adding dependencies …

Fill in

What you type stays in this browser window. We store and send nothing.

What does the project do?
Languages, frameworks, versions
How do tests run?
How is it built?
What is off limits?

Your prompt

Draft a rules file for an AI coding agent in my project.
Project: [Project]
Stack: [Stack]
Commands: tests with [Test command], build with [Build command].
Hard limits: [Limits]

Outline: 1. Project overview in three sentences. 2. Commands. 3. Code style and conventions. 4. What the agent must never do. 5. When it must ask first.
No more than 60 lines, in Markdown, concrete rules instead of general advice.

Improve your own prompt

Matching tools

Tools from our catalog that this prompt works well with.

How to use it

  1. Fill in the fields with your project's real commands.
  2. Generate the draft and delete anything that is wrong or too generic.
  3. Save the file under the name your agent reads; the tool's documentation tells you which.
  4. After a few tasks, check which rule is missing or ignored and add it.

Works in these tools

Prompts work in many chat and generator tools. This selection comes from our catalog; prices as shown on the tool page.

Why does this work?

Agents work more reliably with a few checkable rules than with long prose. Commands and limits up front prevent the most common mistakes.

Tips

  • Write rules as an instruction with a reason: “Never X, because Y.” That helps the agent with edge cases.
  • Link to existing documents instead of copying them into the rules file.

Also a good fit

You may use our prompts freely, including at work. Please do not republish them as your own collection. We give no warranty for AI results; check them yourself. Terms of use