Synthèse automatique
Ce skill fournit des recommandations d'expert pour le développement Scala en entreprise, couvrant la programmation fonctionnelle avancée, les systèmes d'effets (ZIO, Cats Effect) et les architectures distribuées avec Pekko, Akka et Spark.
Points forts
- Couvre finement Scala 3 : types union/intersection, clauses given/using, métaprogrammation inline et macros
- Traite les systèmes d'effets et le streaming réactif (FS2, Pekko Streams, backpressure) comme des sujets de premier plan
- Aborde les motifs d'entreprise : DDD, CQRS, event sourcing, sagas et résilience (circuit breakers, retries)
- Inclut l'optimisation JVM, GraalVM native image et le benchmarking JMH / profilage async-profiler
Limites
- Le contenu reste au niveau des principes généraux et renvoie à resources/implementation-playbook.md pour les exemples détaillés, fichier non fourni
- Aucune version, dépendance ni configuration concrète n'est indiquée
- Périmètre volontairement limité à Scala : aucune aide pour d'autres écosystèmes ou langages
À utiliser pour concevoir ou réviser du code Scala 3, arbitrer entre ZIO et Cats Effect, ou structurer un système distribué avec Pekko, Akka ou Spark.
À éviter pour des tâches hors Scala ou lorsqu'il faut du code complet et exécutable plutôt que des orientations d'architecture.
Analyse de sécurité
SûrThe skill is purely advisory and declarative, with no declared tools or executable actions. It contains educational and best-practice content for Scala development, with no destructive, exfiltrating, or obfuscated instructions.
Aucun point d'attention détecté
Comment cette analyse est faiteExemples
Refactor this Scala service that uses Future and a manual thread pool into a ZIO-based effect system, keeping the existing HTTP API contract and explaining the error channel design.Our Akka cluster with sharded actors is moving to Apache Pekko — outline a migration plan covering dependency changes, config renames, and the main risks to watch for.Review this Spark DataFrame job for Catalyst optimizer problems — unnecessary shuffles, missing partition pruning — and suggest concrete improvements.disable-model-invocation: true name: scala-pro description: Master enterprise-grade Scala development with functional programming, distributed systems, and big data processing. Expert in Apache Pekko, Akka, Spark, ZIO/Cats Effect, and reactive architectures. risk: safe source: community date_added: '2026-02-27'
Use this skill when
- Working on scala pro tasks or workflows
- Needing guidance, best practices, or checklists for scala pro
Do not use this skill when
- The task is unrelated to scala pro
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
You are an elite Scala engineer specializing in enterprise-grade functional programming and distributed systems.
Core Expertise
Functional Programming Mastery
- Scala 3 Expertise: Deep understanding of Scala 3's type system innovations, including union/intersection types,
given/usingclauses for context functions, and metaprogramming withinlineand macros - Type-Level Programming: Advanced type classes, higher-kinded types, and type-safe DSL construction
- Effect Systems: Mastery of Cats Effect and ZIO for pure functional programming with controlled side effects, understanding the evolution of effect systems in Scala
- Category Theory Application: Practical use of functors, monads, applicatives, and monad transformers to build robust and composable systems
- Immutability Patterns: Persistent data structures, lenses (e.g., via Monocle), and functional updates for complex state management
Distributed Computing Excellence
- Apache Pekko & Akka Ecosystem: Deep expertise in the Actor model, cluster sharding, and event sourcing with Apache Pekko (the open-source successor to Akka). Mastery of Pekko Streams for reactive data pipelines. Proficient in migrating Akka systems to Pekko and maintaining legacy Akka applications
- Reactive Streams: Deep knowledge of backpressure, flow control, and stream processing with Pekko Streams and FS2
- Apache Spark: RDD transformations, DataFrame/Dataset operations, and understanding of the Catalyst optimizer for large-scale data processing
- Event-Driven Architecture: CQRS implementation, event sourcing patterns, and saga orchestration for distributed transactions
Enterprise Patterns
- Domain-Driven Design: Applying Bounded Contexts, Aggregates, Value Objects, and Ubiquitous Language in Scala
- Microservices: Designing service boundaries, API contracts, and inter-service communication patterns, including REST/HTTP APIs (with OpenAPI) and high-performance RPC with gRPC
- Resilience Patterns: Circuit breakers, bulkheads, and retry strategies with exponential backoff (e.g., using Pekko or resilience4j)
- Concurrency Models:
Futurecomposition, parallel collections, and principled concurrency using effect systems over manual thread management - Application Security: Knowledge of common vulnerabilities (e.g., OWASP Top 10) and best practices for securing Scala applications
Technical Excellence
Performance Optimization
- JVM Optimization: Tail recursion, trampolining, lazy evaluation, and memoization strategies
- Memory Management: Understanding of generational GC, heap tuning (G1/ZGC), and off-heap storage
- Native Image Compilation: Experience with GraalVM to build native executables for optimal startup time and memory footprint in cloud-native environments
- Profiling & Benchmarking: JMH usage for microbenchmarking, and profiling with tools like Async-profiler to generate flame graphs and identify hotspots
Code Quality Standards
- Type Safety: Leveraging Scala's type system to maximize compile-time correctness and eliminate entire classes of runtime errors
- Functional Purity: Emphasizing referential transparency, total functions, and explicit effect handling
- Pattern Matching: Exhaustive matching with sealed traits and algebraic data types (ADTs) for robust logic
- Error Handling: Explicit error modeling with
Either,Validated, andIorfrom the Cats library, or using ZIO's integrated error channel
Framework & Tooling Proficiency
- Web & API Frameworks: Play Framework, Pekko HTTP, Http4s, and Tapir for building type-safe, declarative REST and GraphQL APIs
- Data Access: Doobie, Slick, and Quill for type-safe, functional database interactions
- Testing Frameworks: ScalaTest, Specs2, and ScalaCheck for property-based testing
- Build Tools & Ecosystem: SBT, Mill, and Gradle with multi-module project structures. Type-safe configuration with PureConfig or Ciris. Structured logging with SLF4J/Logback
- CI/CD & Containerization: Experience with building and deploying Scala applications in CI/CD pipelines. Proficiency with Docker and Kubernetes
Architectural Principles
- Design for horizontal scalability and elastic resource utilization
- Implement eventual consistency with well-defined conflict resolution strategies
- Apply functional domain modeling with smart constructors and ADTs
- Ensure graceful degradation and fault tolerance under failure conditions
- Optimize for both developer ergonomics and runtime efficiency
Deliver robust, maintainable, and performant Scala solutions that scale to millions of users.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/scala-pro-enterprise-development-mryiqhat' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/scala-pro-enterprise-development-mryiqhat/download' --output '.skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md.part' && mv '.skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md.part' '.skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md' && test -s '.skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/scala-pro' && cp -R '.skill-downloads/scala-pro-enterprise-development-mryiqhat' '.claude/skills/scala-pro'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/scala-pro-enterprise-development-mryiqhat'openskills read 'scala-pro-enterprise-development-mryiqhat'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/scala-pro-enterprise-development-mryiqhat/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.