
Optimization of queries, bundles, and execution time. Use when improving application speed or reducing resource usage.
Provides core project knowledge, development commands, and hard rules for the statFootV3 repository. Always consult this skill when starting a new task to understand the environment and standards.
Helps with React, Next.js, TypeScript, and CSS development. Use when building components, pages, or handling frontend/backend logic integration.
Écrire des migrations PostgreSQL sûres. Utiliser quand on modifie le schéma DB — CREATE, ALTER ou DROP une table.
Gérer les conteneurs Docker du projet. Utiliser quand on build, debug ou optimise les services docker-compose.
Créer des graphiques et visualisations. Utiliser quand on implémente Recharts ou D3 dans le frontend.
Valider les formulaires React côté client. Utiliser quand on crée un formulaire avec retour d'erreur utilisateur.
Gérer l'état avec React Context API. Utiliser quand on crée ou consomme un Context dans frontend/src/context/.
Coordonner backend et frontend. Utiliser quand une feature touche simultanément l'API et l'interface.
Concevoir des modèles ML pour prédire les matchs. Utiliser quand on travaille dans ml-service/ ou les features de prédiction.
Prévenir les attaques XSS. Utiliser quand on affiche du contenu dynamique ou sanitize des entrées utilisateur.
Tester l'intégration entre services. Utiliser quand on vérifie l'interaction contrôleur/service avec Supertest + Vitest.
Améliorer l'accessibilité et l'UX. Utiliser quand on améliore les focus states, aria-labels ou la navigation clavier.
Définir et documenter les API. Utiliser quand on met à jour backend-swagger.yaml ou conçoit un contrat API.
Concevoir une architecture modulaire. Utiliser quand on planifie une nouvelle feature ou refactorise une couche.
Sécuriser l'accès aux ressources. Utiliser quand on protège des routes, implémente JWT, sessions ou contrôle de rôles.
Node.js API development, business logic, and services. Use when creating or modifying routes, controllers, or services in backend/src/.
Appliquer des stratégies de cache. Utiliser quand on optimise avec node-cache (backend) ou React.memo (frontend).
Configurer un pipeline CI avec GitHub Actions. Utiliser quand on crée ou modifie les workflows .github/.
Helps with code review, linting, refactoring, and best practices. Use when improving code structure, fixing lint errors, or ensuring compliance with standards.
PostgreSQL schema management and optimized queries. Use when creating or modifying migrations, schemas, or complex SQL queries.
Écrire des tests end-to-end Playwright. Utiliser quand on teste l'application complète du point de vue utilisateur.
Helps with UI, UX, design-system, and accessibility. Use when designing new interfaces, maintaining the design system, or ensuring visual excellence.
Helps with deployment, Docker, docker-compose, and CI/CD. Use when building images, managing infrastructure, or troubleshooting deployment pipelines.
Tester les composants React avec Vitest + Testing Library. Utiliser quand on teste le rendu ou les interactions.
Valider les entrées avec Zod. Utiliser quand on crée ou modifie un schéma Zod dans backend/src/schemas/.
Predictive models and data science for football stats. Use when working with match prediction, xG models, or player performance analytics.
Normaliser un schéma relationnel. Utiliser quand on conçoit un nouveau modèle de données pour le projet.
Concevoir des endpoints REST cohérents. Utiliser quand on crée ou modifie une route dans backend/src/routes/.
Prévenir les injections SQL. Utiliser quand on vérifie qu'une requête utilise db.all(sql, [params]) correctement.
Helps with documentation, README, changelogs, and API docs. Use when documenting features, updating project guides, or generating API references.
Specialized skill for analyzing, normalizing, and processing football match data (JSON/CSV) and xG (Expected Goals) statistics. Use this when working with data in Scrapbyvideo/, xGData/, or ScreenData/.
Helps with workflows, automation, git, and multi-agent collaboration. Use when optimizing development processes or coordinating between different agents (Claude, OpenAI, etc.).
Security audits and vulnerability remediation. Use when auditing code for SQL injection, XSS, or handling sensitive data.
Helps with testing, Vitest, Playwright, and E2E automation. Use when writing unit tests, integration tests, or performing QA validation.
Optimiser les performances backend. Utiliser quand les temps de réponse sont dégradés ou pour ajouter node-cache.
Centraliser la gestion des erreurs Express. Utiliser quand on implémente un middleware d'erreur ou des codes HTTP.
Optimiser les requêtes SQL avec des index. Utiliser quand une requête est lente ou lors de la création d'un schéma.
Produire des diagrammes C4. Utiliser quand on documente l'architecture du projet avec des diagrammes.
Conteneuriser avec Docker. Utiliser quand on écrit ou modifie un Dockerfile pour le projet.
Déployer l'application. Utiliser quand on déploie en staging ou production via Docker Compose.
Documenter les API dans backend-swagger.yaml. Utiliser quand on ajoute ou modifie un endpoint.
Structurer un README utile. Utiliser quand on rédige ou met à jour la documentation du projet.
Create premium React components and pages for statFootV3 using the Design System V3. Use when building UI components, pages, dashboards, or styling/beautifying any view in the frontend. Generates distinctive code using ds-* classes, CSS tokens, and the Visual Manifesto aesthetic — never generic AI aesthetics.
Structurer les composants React. Utiliser quand on organise des composants dans frontend/src/components/v3/.
Intégrer des appels API dans le frontend. Utiliser quand on ajoute une méthode dans frontend/src/services/api.js.
Recueillir les besoins d'une feature. Utiliser quand on démarre une nouvelle feature et collecte les exigences.
Définir la roadmap produit. Utiliser quand on priorise le backlog ou planifie les prochaines versions.
Run the full QA test battery for statFootV3 features — Unit Tests, API Contract Tests, and Non-Regression checks. Use when a feature is complete and needs validation, or when asked to write tests, run tests, check coverage, or validate API contracts against Zod schemas.
Appliquer les bonnes pratiques d'auth. Utiliser quand on sécurise des endpoints ou conçoit une politique d'accès.
Tester les performances sous charge. Utiliser quand on mesure la capacité du système ou optimise les temps de réponse.
Rédiger le TSD d'une feature. Utiliser avant tout développement pour documenter le contrat API, le schéma DB et le blueprint UI.
Écrire des tests unitaires Node.js. Utiliser quand on teste une fonction isolée avec Vitest dans backend/test/.