julia
Skill266 starsChanged 10 months agoApache-2.0View on GitHub
Julia development guidelines covering multiple dispatch, type system, performance optimization, and scientific computing best practices.
In this repository264 other files it gives its agents.
- accessibility-a11ySkill
- alpine-jsSkill
- analytics-data-analysisSkill
- android-developmentSkill
- angular-developmentSkill
- angularSkill
- anime-jsSkill
- anthropic-claude-developmentSkill
- api-developmentSkill
- apollo-graphqlSkill
- aspnet-coreSkill
- astroSkill
- auth0-authenticationSkill
- autogen-developmentSkill
- automl-hyperparameter-optimizationSkill
- aws-developmentSkill
- azureSkill
- backend-developmentSkill
- bash-scriptingSkill
- beautifulsoup-parsingSkill
- bitbucket-workflowSkill
- blazorSkill
- blender-python-addonSkill
- blockchainSkill
- bootstrapSkill
- business-central-developmentSkill
- cheerio-parsingSkill
- chrome-extension-developmentSkill
- ci-cd-best-practicesSkill
- clean-architectureSkill
- clean-codeSkill
- clerk-authenticationSkill
- cloudflare-developmentSkill
- computer-vision-opencvSkill
- convexSkill
- cppSkill
- c-sharpSkill
- cssSkill
- cypressSkill
- data-analysis-jupyterSkill
- data-analystSkill
- data-jupyter-pythonSkill
- deep-learning-pythonSkill
- deep-learning-pytorchSkill
- deep-learningSkill
- deno-typescriptSkill
- design-systemsSkill
- devopsSkill
- django-pythonSkill
- django-rest-api-developmentSkill
- dockerSkill
- dotnetSkill
- drizzle-ormSkill
- drupal-developmentSkill
- elasticsearch-best-practicesSkill
- electron-developmentSkill
- elixirSkill
- embedded-stm32Skill
- esbuild-bundlerSkill
- ethereumSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 12 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Write concise, technical responses with accurate Julia examples
- Distinctive: line 14
Prefer immutable structs and functions over mutable state
- Distinctive: line 15
Use Julia's built-in features for parallelism and performance
- Distinctive: line 25
All functions require docstrings with signatures and return value descriptions:
- Very specific: line 40
Use @kwdef macro for keyword constructors
- Distinctive: line 43
Prefer immutable structs unless mutation is required
- Distinctive: line 47
Create custom exception types for domain-specific errors
- Distinctive: line 48
Use guard clauses for preconditions
- Distinctive: line 54
Use type annotations to prevent type instability
- Distinctive: line 55
Prefer statically sized arrays (SArray) for fixed collections
- Very specific: line 56
Use @views macro to avoid unnecessary copying
- Distinctive: line 59
Avoid global variables in performance-critical code
- Very specific: line 63
Use the Test module with one top-level @testset per file
- Distinctive: line 65
Test edge cases and type stability separately
- Very specific: line 66
Use @test_throws for expected errors
- Distinctive: line 71
Use abstract types with multiple dispatch for separation
- Very specific: line 74
Use include for organizing large modules
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Julia Development
You are an expert in Julia programming with deep knowledge of multiple dispatch, the type system, and high-performance computing.
Core Principles
- Write concise, technical responses with accurate Julia examples
- Leverage multiple dispatch and the type system for performant code
- Prefer immutable structs and functions over mutable state
- Use Julia's built-in features for parallelism and performance
Naming Conventions
- Functions/variables: snake_case (e.g.,
process_data,is_active) - Types: PascalCase for structs and abstract types
- Files/directories: lowercase with underscores (e.g.,
src/data_processing.jl)
Function Guidelines
All functions require docstrings with signatures and return value descriptions:
"""
process_data(data::Vector{Float64}, threshold::Float64) -> Vector{Float64}
Process input data by applying a threshold filter.
"""
function process_data(data::Vector{Float64}, threshold::Float64)
# implementation
endStruct Definitions
- Use
@kwdefmacro for keyword constructors - Include comprehensive docstrings for each field
- Implement custom
showmethods usingdump - Prefer immutable structs unless mutation is required
Error Handling
- Create custom exception types for domain-specific errors
- Use guard clauses for preconditions
- Example:
x <= 0 && throw(InvalidInputError("Input must be positive")) - Provide informative error messages
Performance Optimization
- Use type annotations to prevent type instability
- Prefer statically sized arrays (SArray) for fixed collections
- Use
@viewsmacro to avoid unnecessary copying - Leverage built-in parallelism with
@threadsand@distributed - Profile with BenchmarkTools.jl before optimizing
- Avoid global variables in performance-critical code
Testing Structure
- Use the
Testmodule with one top-level@testsetper file - Individual
@testcalls assess basic functionality - Test edge cases and type stability separately
- Use
@test_throwsfor expected errors
Code Organization
- Organize functionality through modules
- Use abstract types with multiple dispatch for separation
- Maintain consistent project structure (src/, test/, docs/)
- Export only public API functions
- Use
includefor organizing large modules
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

