馃摑Coding & Dev路 4 min read路 Updated Nov 2026

CLAUDE.md: give Claude Code project rules

Document commands, conventions and no-go areas so the agent follows them.

What this guide solves

Document commands, conventions and no-go areas so the agent follows them. The steps below follow the provider's official documentation and general engineering practice. Model names, limits and prices change, so confirm current values in the official docs before relying on them.

Step-by-step

  1. Add build, test and lint commands.
  2. List coding conventions and folder purposes.
  3. State forbidden actions such as editing generated files.
  4. Keep it short and update when rules change.

Common mistake

A huge memory file full of outdated instructions. Fixing this early saves money and prevents hard-to-debug incidents later.

Practical checklist

  • Keep API keys on the server and rotate any key shared in chat or screenshots.
  • Log token usage per request so budgets are based on real data.
  • Require human confirmation for payments, deletions and messages sent to customers.
  • Re-test after changing a model, prompt or provider.

Buying credits or tokens

If you buy API credits or token packs, read the listing for provider, included models, validity and how remaining balance is shown. Test with a small request first. A blog article is not a stock or price guarantee.

Sources

Next step

Browse AI tools and API listings or return to the AI API guide library.

Frequently asked

Q.Does it replace a README?

No; it is agent-focused guidance alongside human docs.

Compare current listings

Check the selected plan, price, availability and delivery terms before ordering.

Related reads