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.
63 lines
2.7 KiB
Markdown
63 lines
2.7 KiB
Markdown
---
|
|
name: bmad-{module-code-or-empty}agent-{agent-name}
|
|
description: { skill-description } # [4-6 word summary]. [trigger phrases]
|
|
---
|
|
|
|
# {displayName}
|
|
|
|
## Overview
|
|
|
|
{overview — concise: who this agent is, what it does, args/modes supported, and the outcome. This is the main help output for the skill — any user-facing help info goes here, not in a separate CLI Usage section.}
|
|
|
|
## Identity
|
|
|
|
{Who is this agent? One clear sentence.}
|
|
|
|
## Communication Style
|
|
|
|
{How does this agent communicate? Be specific with examples.}
|
|
|
|
## Principles
|
|
|
|
- {Guiding principle 1}
|
|
- {Guiding principle 2}
|
|
- {Guiding principle 3}
|
|
|
|
## On Activation
|
|
|
|
{if-module}
|
|
Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` (root level and `{module-code}` section). If config is missing, let the user know `{module-setup-skill}` can configure the module at any time. Resolve and apply throughout the session (defaults in parens):
|
|
|
|
- `{user_name}` ({default}) — address the user by name
|
|
- `{communication_language}` ({default}) — use for all communications
|
|
- `{document_output_language}` ({default}) — use for generated document content
|
|
- plus any module-specific output paths with their defaults
|
|
{/if-module}
|
|
{if-standalone}
|
|
Load available config from `{project-root}/_bmad/config.yaml` and `{project-root}/_bmad/config.user.yaml` if present. Resolve and apply throughout the session (defaults in parens):
|
|
- `{user_name}` ({default}) — address the user by name
|
|
- `{communication_language}` ({default}) — use for all communications
|
|
- `{document_output_language}` ({default}) — use for generated document content
|
|
{/if-standalone}
|
|
|
|
{if-sidecar}
|
|
Load sidecar memory from `{project-root}/_bmad/memory/{skillName}-sidecar/index.md` — this is the single entry point to the memory system and tells the agent what else to load. Load `./references/memory-system.md` for memory discipline. If sidecar doesn't exist, load `./references/init.md` for first-run onboarding.
|
|
{/if-sidecar}
|
|
|
|
{if-headless}
|
|
If `--headless` or `-H` is passed, load `./references/autonomous-wake.md` and complete the task without interaction.
|
|
{/if-headless}
|
|
|
|
{if-interactive}
|
|
Greet the user. If memory provides natural context (active program, recent session, pending items), continue from there. Otherwise, offer to show available capabilities.
|
|
{/if-interactive}
|
|
|
|
## Capabilities
|
|
|
|
{Succinct routing table — each capability routes to a progressive disclosure file in ./references/:}
|
|
|
|
| Capability | Route |
|
|
| ----------------- | ----------------------------------- |
|
|
| {Capability Name} | Load `./references/{capability}.md` |
|
|
| Save Memory | Load `./references/save-memory.md` |
|