AgentSkillsCN

ori-syntax

Ori 语言语法参考。适用于编写 Ori 代码、检查语法、理解类型、模式,或熟悉预置函数。

SKILL.md
--- frontmatter
name: ori-syntax
description: Ori language syntax reference. Use when writing Ori code, checking syntax, understanding types, patterns, or prelude functions.

Ori Syntax Reference

Load and apply the Ori language syntax reference for the current task.

Action: Read .claude/rules/ori-syntax.md and use it to assist with:

  • Writing correct Ori syntax
  • Understanding types, traits, and patterns
  • Using prelude functions and methods
  • Following Ori formatting conventions

The reference covers: declarations, types, literals, operators, expressions, patterns, imports, FFI, capabilities, and the full prelude.

Remember: Ori is expression-based with NO return keyword. The last expression in a block IS its value.