Skip to content

Adding Your First Standard

Last updated 2026-03-10

What Is a Standard?

A standard in CodeContext is a piece of knowledge that describes how your team writes code. It could be a naming convention, an architectural pattern, an error handling guideline, or anything else your team has agreed on. Standards are the building blocks of your knowledge base.

Create a New Standard

To create your first standard, navigate to the Standards page in your dashboard and click "New Standard." You will need to fill in a few fields:

  • Title — A short, descriptive name like "React Component Naming" or "Error Handling Policy."
  • Content — The actual guideline or convention. Be as specific as you can.
  • Tags — Add tags to help organize and find your standard later.
  • Space — Choose which space this standard belongs to, or leave it in the default space.

Writing Good Content

The best standards are clear, concise, and include examples. Here are some tips:

  1. Start with a brief explanation of why the standard exists.
  2. Include do and don't examples so there is no ambiguity.
  3. Keep it focused — one standard per topic works better than a long document covering everything.
  4. Use code snippets to illustrate the right approach.

Preview & Publish

Before saving, use the preview feature to see how your standard will look. Once you are happy with it, click "Save" to publish it. Your standard is now part of your knowledge base and will be available to your AI tools through the MCP integration.

You can always come back and edit your standards later. CodeContext keeps track of changes so you can see how your conventions evolve over time.

Still need help?

Our support team is happy to help with any questions you may have.

support@codecontext.app