一键导入
julia-style
Julia coding style and import rules for Mycelia package
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Julia coding style and import rules for Mycelia package
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | julia-style |
| description | Julia coding style and import rules for Mycelia package |
When working in the Mycelia repository, follow these strict coding rules.
using - always use importMycelia.Rhizomorph, DataFrames.DataFrame(), etc.R = Mycelia.Rhizomorph; use full qualified namessrc/Mycelia.jl and available in all source filesExample:
# WRONG
using DataFrames
df = DataFrame()
# WRONG
import DataFrames: DataFrame
df = DataFrame()
# CORRECT
import DataFrames
df = DataFrames.DataFrame()
Rhizomorph, KmerAnalysis)process_sequences, kmer_count)MAX_KMER_SIZE)Always use proper BioSequences types:
BioSequences.LongDNA{4} for DNABioSequences.LongRNA{4} for RNABioSequences.LongAA for amino acidsExtract from FASTQ:
FASTX.sequence(BioSequences.LongDNA{4}, record)
Avoid string conversions in k-mer graphs, qualmer graphs, and assembly algorithms. Use string() only for external tool interfaces or final output.
"""signature..."""joinpath for file paths (portability)Default formatter: JuliaFormatter.jl with SciMLStyle or BlueStyle, unless repo indicates Runic.jl.
.jl files in src/ are auto-included via Mycelia.jlRules for test isolation — preventing global state leakage from @eval monkeypatching
Mycelia-specific test coverage expansion workflow
Staged test organization and testing guidelines for Mycelia
Diagnose and fix Lustre scratch "disk full" errors on /global/scratch when filesystem space appears available. Use for failed downloads/writes in scratch, TMPDIR issues, OST/MDT saturation, quota checks, and re-striping temp paths to healthy pools.
External tool integration and citation requirements for Mycelia
SLURM and HPC guidance for Mycelia benchmarks and large-scale analysis