roc-language

Provide Roc language reference and context for reading, writing, debugging, and analyzing .roc files.

9|2|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/rickhull/roc-init --skill roc-language
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: roc-language
Source: https://github.com/rickhull/roc-init/tree/main
Command: npx skills add https://github.com/rickhull/roc-init --skill roc-language

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides an up-to-date, authoritative reference for the new Zig-based Roc compiler so Claude can accurately read, write, edit, debug, and analyze .roc files without relying on outdated online resources.

Core Features & Use Cases

  • Accurate Syntax & Semantics: Clarifies differences from the old Rust-based compiler and documents current builtin functions and error tags.
  • Local Reference Loading: Uses repository documentation to supply precise examples, language tutorial material, and builtin references for interactive coding assistance.
  • Developer Workflows: Helps diagnose compiler errors, suggest fixes, explain platform integration, and support test/debug patterns for Roc projects.

Quick Start

Fetch the repository docs and install or update the roc-language skill so Claude can use the local references by running the project's update-docs/install-skill workflow.

Frequently Asked Questions about roc-language

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix compiler errors in .roc files using the new Zig-based Roc compiler?

To fix compiler errors in .roc files, the skill loads local documentation and builtin references to diagnose issues, explain error tags, and recommend precise syntax fixes for the current Zig-based compiler.

What is the correct syntax for builtin functions in Roc?

Correct syntax for Roc builtin functions is provided by loading local Builtin.roc reference artifacts and tutorial sources, ensuring code assistance reflects current standard library APIs rather than outdated online resources.

How do I get accurate Roc language reference documentation for Claude?

You get accurate Roc language reference by running the project's update-docs install workflow, which fetches repository docs and serves local reference artifacts to ensure Claude uses current syntax examples and platform API documentation.

Can I use this skill to debug and analyze Roc platform integration code?

Yes, you can use this skill to debug and analyze Roc platform integration code, as it supports developer workflows by explaining platform APIs, standard library functions, and test and debug patterns for .roc file projects.

Why does my Roc code syntax not match the current compiler documentation?

Your Roc code syntax may not match current compiler documentation because the language transitioned from a Rust-based to a Zig-based compiler, and this skill clarifies those differences using local reference artifacts to prevent outdated syntax usage.