Julia

Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).

11 stars

Best use case

Julia is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).

Teams using Julia should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/julia/SKILL.md --create-dirs "https://raw.githubusercontent.com/hivellm/rulebook/main/templates/skills/languages/julia/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/julia/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Julia Compares

Feature / AgentJuliaStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

<!-- JULIA:START -->
# Julia Project Rules

## Agent Automation Commands

**CRITICAL**: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).

```bash
# Complete quality check sequence:
julia -e 'using JuliaFormatter; format(".", overwrite=false)'  # Format check
julia -e 'using Lint; lintpkg(".")'  # Linting
julia --project=. -e 'using Pkg; Pkg.test()'  # All tests

# Security audit:
julia -e 'using Pkg; Pkg.update()'  # Update deps
```

## Julia Configuration

**CRITICAL**: Use Julia 1.9+ with JuliaFormatter and testing.

- **Version**: Julia 1.9+
- **Formatter**: JuliaFormatter.jl
- **Linter**: Lint.jl
- **Testing**: Test.jl (standard library)
- **Documentation**: Documenter.jl

### Project.toml Requirements

```toml
name = "YourPackage"
uuid = "12345678-1234-1234-1234-123456789012"
authors = ["Your Name <you@example.com>"]
version = "0.1.0"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[compat]
julia = "1.9"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
```

## Code Quality Standards

### Mandatory Quality Checks

**IMPORTANT**: These commands MUST match your GitHub Actions workflows!

```bash
# Pre-Commit Checklist (MUST match .github/workflows/*.yml)

# 1. Format check (matches workflow)
julia -e 'using JuliaFormatter; format(".", overwrite=false)'

# 2. Lint (matches workflow)
julia -e 'using Lint; lintpkg("YourPackage")'

# 3. Run all tests (MUST pass 100% - matches workflow)
julia --project=. -e 'using Pkg; Pkg.test()'

# 4. Check coverage (matches workflow)
julia --project=. --code-coverage=user -e 'using Pkg; Pkg.test()'

# If ANY fails: ❌ DO NOT COMMIT - Fix first!
```

**Why This Matters:**
- Example: Using `format(..., overwrite=true)` locally but `overwrite=false` in CI = failure

### Testing Example

```julia
using Test
using YourPackage

@testset "DataProcessor tests" begin
    @testset "process function" begin
        @test process([1, 2, 3]) == [2, 4, 6]
        @test process([]) == []
        @test_throws ArgumentError process(nothing)
    end
    
    @testset "validate function" begin
        @test validate("test") == true
        @test validate("") == false
    end
end
```

<!-- JULIA:END -->

Related Skills

We are still matching the closest adjacent skills for this page. In the meantime, continue through the full directory.