# Clean Code

## Règles essentielles pour écrire du code lisible et maintenable

Le clean code n'est pas une liste figée de règles, mais une philosophie : écrire du code que nous (et nos collègues) pourrons relire dans 6 mois sans souffrir.

Voici les grands principes, organisés en thèmes, avec des exemples concrets :

* [Clean Code en TypeScript](/ressources/developper/principes-de-developpement/clean-code/clean-code-typescript.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://dnum-ministeres-sociaux.gitbook.io/ressources/developper/principes-de-developpement/clean-code.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.
