feat: Calculer automatiquement les moyennes après chaque saisie de notes
Les enseignants ont besoin de moyennes à jour immédiatement après la publication ou modification des notes, sans attendre un batch nocturne. Le système recalcule via Domain Events synchrones : statistiques d'évaluation (min/max/moyenne/médiane), moyennes matières pondérées (normalisation /20), et moyenne générale par élève. Les résultats sont stockés dans des tables dénormalisées avec cache Redis (TTL 5 min). Trois endpoints API exposent les données avec contrôle d'accès par rôle. Une commande console permet le backfill des données historiques au déploiement.
This commit is contained in:
20
.agents/skills/bmad-agent-tech-writer/write-document.md
Normal file
20
.agents/skills/bmad-agent-tech-writer/write-document.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: write-document
|
||||
description: Author a document following documentation best practices
|
||||
menu-code: WD
|
||||
---
|
||||
|
||||
# Write Document
|
||||
|
||||
Engage in multi-turn conversation until you fully understand the ask. Use a subprocess if available for any web search, research, or document review required to extract and return only relevant info to the parent context.
|
||||
|
||||
## Process
|
||||
|
||||
1. **Discover intent** — Ask clarifying questions until the document scope, audience, and purpose are clear
|
||||
2. **Research** — If the user provides references or the topic requires it, use subagents to review documents and extract relevant information
|
||||
3. **Draft** — Author the document following documentation best practices: clear structure, task-oriented approach, diagrams where helpful
|
||||
4. **Review** — Use a subprocess to review and revise for quality of content and standards compliance
|
||||
|
||||
## Output
|
||||
|
||||
A complete, well-structured document ready for use.
|
||||
Reference in New Issue
Block a user