scala-pro
하는 일
이 스킬은 대기업에서 쓰는 강력한 프로그래밍 언어인 Scala로 코드를 만들고 개선하도록 돕습니다. 함수형 프로그래밍, 대량의 데이터를 동시에 처리하는 시스템, 그리고 이러한 시스템이 잘 함께 작동하는 방법에 초점을 맞춥니다.
사용하는 경우
- ✓복잡한 Scala 코드를 작성할 때.
- ✓Scala 모범 사례에 대한 조언이 필요할 때.
- ✓Scala 시스템을 더 빠르고 안정적으로 만드는 방법을 이해하고 싶을 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/scala-pro/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 Scala 코드를 정확성, 관용적인 설계, 성능, 테스트 범위 측면에서 검토해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 Scala, 함수형 프로그래밍, 분산 시스템에 대한 고급 지식을 활용해 코드를 분석합니다. 코드가 올바른지 확인하고, 좋은 프로그래밍 규칙을 따르는지 살피며, 개선 사항을 제안합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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.
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
…
자주 묻는 질문
함수형 프로그래밍이란 무엇인가요?
계산을 수학 함수의 평가로 보고, 상태와 변경 가능한 데이터를 바꾸는 것을 피하는 프로그래밍 방식입니다. 그래서 코드가 더 예측 가능하고 이해하기 쉽습니다.
분산 시스템이란 무엇인가요?
작업을 수행하기 위해 서로 통신하는 여러 컴퓨터로 이루어진 시스템입니다. 많은 데이터를 처리하거나, 한 컴퓨터가 고장 나도 서비스가 계속 실행되도록 하는 데 사용됩니다.
Scala란 무엇인가요?
객체지향 프로그래밍과 함수형 프로그래밍을 결합한 현대적인 프로그래밍 언어입니다. 유연함으로 알려져 있으며, 특히 데이터 분석과 웹 시스템 등 대규모 애플리케이션에서 많이 쓰입니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 48k
- 순위
- #5675
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.