compact-core:language-reference

Community

Compact language reference for Midnight

Authoraaronbassett
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a complete, centralized reference for the Compact smart contract language used on Midnight Network, enabling developers to quickly look up types, syntax, and module patterns without hunting through scattered sources.

Core Features & Use Cases

  • Comprehensive type reference covering primitives (Field, Boolean, Uint<N>), composite types (struct, enum, Vector, Bytes), and special types (Opaque).
  • Circuit and witness syntax with practical examples, plus guidance on control flow, modules, and common best practices for writing robust contracts.
  • Quick lookup and learning support for engineers, educators, and new contributors needing authoritative language guidance.

Quick Start

Look up a specific type or syntax in the Compact language reference to accelerate contract development.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: compact-core:language-reference
Download link: https://github.com/aaronbassett/midnight-knowledgebase/archive/main.zip#compact-core-language-reference

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.