# Implementation

For each project, the implementation looks like this:

![](/files/Dp1lUbnS5Hfuu5EeLAJ3)

First, you define the quality standard for your project:

* With a *quality profile*, you define the set of rules to be applied during analysis.
* With a quality gate, you define a set of conditions that the code must meet.

Then, you define what is considered *new code* in your project, adapting your configuration to the nature of your project: versioned, continuous delivery, etc.

Finally, you ensure your code is analyzed frequently and at different stages of its journey, in your IDE and your DevOps platforms.

## Improving code quality as a developer <a href="#practicing-clean-as-you-code-as-developer" id="practicing-clean-as-you-code-as-developer"></a>

The configuration steps described above and in the following sections are handled by project administrators. As a developer, you improve code quality by reviewing and fixing the issues detected in new code, ensuring that the quality gate is always green and that only production-ready code is merged.

![](/files/OR3jtS9XLiTNX6ZZizzG)

To learn more about these topics, refer to the Issues, Quality gates, and Software qualities sections (see links below).

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Setting up new code](/sonarqube-server/10.8/project-administration/setting-up-clean-as-you-code.md)
* [Introduction](/sonarqube-server/10.8/user-guide/issues/introduction.md)
* [Quality gates](/sonarqube-server/10.8/instance-administration/analysis-functions/quality-gates.md)
* [Software qualities](/sonarqube-server/10.8/core-concepts/software-qualities.md)


---

# 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/implementation.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.
