mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
chore: instruction copilot
This commit is contained in:
51
.github/copilot-instructions.md
vendored
Normal file
51
.github/copilot-instructions.md
vendored
Normal file
@ -0,0 +1,51 @@
|
||||
# Instructions Copilot - Projet N3WT-SCHOOL
|
||||
|
||||
## Objectif
|
||||
|
||||
Corriger ou améliorer le projet N3WT-SCHOOL de manière minimaliste et fonctionnelle, sans dépendances inutiles.
|
||||
|
||||
## Architecture du projet
|
||||
|
||||
### Structure
|
||||
|
||||
- **Backend** : Python Django (dossier `Back-End/`)
|
||||
- **Frontend** : NextJS (dossier `Front-End/`)
|
||||
- **Tests frontend** : `Front-End/src/test/`
|
||||
- **Code frontend** : `Front-End/src/`
|
||||
|
||||
## Gestion des tickets
|
||||
|
||||
### Règles générales
|
||||
|
||||
- Chaque **nouvelle fonctionnalité** ou **correction** nécessite un ticket Gitea
|
||||
- **Exemptions** : modifications documentaires, refactoring, chore, style
|
||||
|
||||
### Cycle de vie d'un ticket
|
||||
|
||||
1. **Création** → label `etat/En Pause`
|
||||
2. **Affectation** → label `etat/En Cours`
|
||||
3. **Développement terminé** → label `etat/Codé`
|
||||
4. **Tests validés** → label `etat/Testé`
|
||||
|
||||
### Gestion des branches
|
||||
|
||||
- **Base** : branche `develop`
|
||||
- **Nomenclature** : `<type>-<nom_ticket>-<numero>` (ex: `feat-ma_super_feat-1234`)
|
||||
- **Types** : feat, fix, docs, style, refactor, test, chore
|
||||
|
||||
## Exigences qualité
|
||||
|
||||
### Tests
|
||||
|
||||
- Tests unitaires obligatoires pour chaque nouvelle fonctionnalité
|
||||
- Localisation : `Front-End/src/test/`
|
||||
|
||||
### Documentation
|
||||
|
||||
- Documentation en français pour les nouvelles fonctionnalités (si applicable)
|
||||
- Référence : [documentation guidelines](./instructions/documentation.instruction.md)
|
||||
|
||||
## Références
|
||||
|
||||
- **Tickets** : [issues guidelines](./instructions/issues.instruction.md)
|
||||
- **Commits** : [commit guidelines](./instructions/general-commit.instruction.md)
|
||||
Reference in New Issue
Block a user