| name | Julia |
| description | Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow). |
| version | 1.0.0 |
| category | languages |
| author | Rulebook |
| tags | ["languages","language"] |
| dependencies | [] |
| conflicts | [] |
Julia Project Rules
Agent Automation Commands
CRITICAL: Execute these commands after EVERY implementation (see AGENT_AUTOMATION module for full workflow).
julia -e 'using JuliaFormatter; format(".", overwrite=false)'
julia -e 'using Lint; lintpkg(".")'
julia --project=. -e 'using Pkg; Pkg.test()'
julia -e 'using Pkg; Pkg.update()'
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
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!
julia -e 'using JuliaFormatter; format(".", overwrite=false)'
julia -e 'using Lint; lintpkg("YourPackage")'
julia --project=. -e 'using Pkg; Pkg.test()'
julia --project=. --code-coverage=user -e 'using Pkg; Pkg.test()'
Why This Matters:
- Example: Using
format(..., overwrite=true) locally but overwrite=false in CI = failure
Testing Example
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