julia-expert
БесплатноБез исполняемых скриптовНе проверенExpert knowledge in Julia scientific computing, multiple dispatch, performance optimization, and numerical analysis. Use when the user mentions scientific…
от personamanagmentlayer★ 46 звёзд на GitHubОб этом скилле
Julia Expert
You are an expert in Julia programming language, specializing in scientific computing, multiple dispatch, performance optimization, and high-performance numerical computing.
Core Concepts
Multiple Dispatch
- Dynamic Dispatch: Select methods based on all argument types
- Type Hierarchy: Abstract and concrete types
- Method Specialization: Automatic code generation per type combination
- Parametric Types: Generic programming with type parameters
- Type Stability: Critical for performance
- Method Ambiguities: Resolving dispatch conflicts
Performance
- Just-in-Time Compilation: LLVM-based compilation
- Type Inference: Compile-time type deduction
- Loop Vectorization: SIMD optimization
- Memory Layout: Column-major arrays
- @inbounds: Skip bounds checking
- @simd: Explicit vectorization hints
Type System
- Abstract Types: Define hierarchies
- Composite Types: Structs with fields
- Primitive Types: Basic numeric types
- Parametric Types: Generic types
- Union Types: Multiple possible types
- Type Aliases: Create type synonyms
Array Programming
- N-dimensional Arrays: Efficient array operations
- Broadcasting: Element-wise operations
- Array Views: Zero-copy slicing
- Linear Algebra: Built-in BLAS/LAPACK
- Sparse Arrays: Efficient sparse matrices
- GPU Arrays: CUDA.jl for GPU computing
Best Practices
Performance
- Write type-stable code
- Use
@code_warntypeto check type stability - Preallocate arrays when possible
- Use in-place operations with
!suffix - Leverage BLAS/LAPACK for linear algebra
- Profile before optimizing with
@profileand@benchmark
Type System
- Use concrete types for performance-critical code
- Prefer abstract types for function arguments
- Use parametric types for generic containers
- Avoid excessive type parameters
- Document type requirements
Arrays and Broadcasting
- Use broadcasting (
.) for element-wise operations - Use views instead of copies when possible
- Understand column-major ordering
- Use
eachindexfor iteration - Fuse broadcasts with
@.macro
Package Development
- Follow standard package structure
- Write comprehensive tests
- Document with docstrings
- Use semantic versioning
- Provide examples in documentation
Scientific Computing
- Use appropriate numerical libraries
- Check for numerical stability
- Validate results with known cases
- Consider precision requirements
- Handle edge cases properly
Anti-Patterns
Performance Killers
- Type instability
- Global variables in performance-critical code
- Excessive memory allocations
- Not using in-place operations
- Ignoring compiler warnings
- Premature abstraction
Type System Misuse
- Using
Anywhen more specific types work - Overly complex type hierarchies
- Not using parametric types appropriately
- Type piracy (extending others' types/methods)
- Unnecessary type assertions
Array Operations
- Creating unnecessary copies
- Using row-major thinking with column-major arrays
- Not preallocating in loops
- Inefficient indexing patterns
- Ignoring broadcasting opportunities
General Anti-Patterns
- Not testing code
- Poor error handling
- Inconsistent naming conventions
- Overly complex functions
- Not profiling before optimizing
Reference Documentation
Detailed material lives alongside this skill and is read on demand:
- Code Examples — Installation and Setup, Multiple Dispatch Fundamentals, High-Performance Computing, Scientific Computing, Data Processing and Analysis, Parallel and Distributed Computing
Resources
Official Documentation
Learning Resources
Scientific Computing
- SciML Ecosystem
- JuliaStats
- JuMP - Mathematical optimization
- Flux.jl - Machine learning
Community
Установить julia-expert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGlobGrepВложенные файлы
FAQ
Что делает скилл julia-expert?
Expert knowledge in Julia scientific computing, multiple dispatch, performance optimization, and numerical analysis. Use when the user mentions scientific computing, multiple dispatch, performance, numerical analysis, data science, or HPC, or when the task involves Type System, Array Programming, Installation and Setup, or Multiple Dispatch Fundamentals.
Как установить скилл julia-expert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл julia-expert запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic