# About quality standards

In the Sonar solution, each of your projects has a set quality standard, made up of a quality profile and a quality gate:

* A quality profile determines the set of [Overview](/sonarqube-server/10.8/user-guide/rules/overview.md) that apply during analysis.
* A quality gate consists of a set of conditions against which the code is measured during analysis. Depending on the result, the code will pass or fail the quality gate, giving developers indications on whether to fix issues or merge the code.

### Quality profile <a href="#quality-profile" id="quality-profile"></a>

We recommend using the built-in quality profile, called Sonar way. For details, see the [Quality profiles](/sonarqube-server/10.8/instance-administration/analysis-functions/quality-profiles.md) page.

### Quality gate <a href="#quality-gate" id="quality-gate"></a>

By default, SonarQube Server and SonarQube Cloud implement a recommended quality gate called the Sonar way. For details, see the [Quality gates](/sonarqube-server/10.8/instance-administration/analysis-functions/quality-gates.md) page.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/10.8/core-concepts/clean-as-you-code/about-quality-standards.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
