Skip to content
Skill

roc-language

by rickhull

AI Summary

Authoritative reference for the Roc programming language that helps Claude read, write, debug, and analyze Roc code with current compiler accuracy. Essential for developers working with Roc who need reliable, up-to-date syntax and API guidance.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "roc-language" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory
mkdir -p .claude/skills/roc-init && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/roc-init/SKILL.md "https://raw.githubusercontent.com/rickhull/roc-init/master/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Authoritative Roc programming language reference. When Claude needs to read, write, edit, debug, or analyze any .roc file, or understand Roc syntax, types, or compiler errors. Provides current API reference and syntax patterns using Roc compiler source as ground truth.

Critical Notes

WARNING: Outdated Documentation Exists • Many online tutorials reference the old Rust-based Roc compiler • Current Roc uses different builtin functions than old docs show • Example: Num.to_str does NOT exist in current Roc; use Str.inspect instead

Eager Load

Always read in full: • Mini Tutorial: @references/mini-tutorial-new-compiler.md (~700 lines, 28KB) • Gotchas: @references/GOTCHAS.md (~200 lines, 8KB)

Lazy Load

Search or read as necessary: • Mini Tutorial Augments: references/MINI_TUTORIAL_AUGMENTS.md (~1100 lines, 28KB) • Builtin Reference: references/Builtin.roc (~1500 lines, 48KB) • Syntax Reference: references/all_syntax_test.roc (~400 lines, 12KB) • Language Reference Tutorial: references/ROC_LANGREF_TUTORIAL.md (~2200 lines, 44KB)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
5 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars5
Forks1
Issues1
Updated2mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code