anchor-core

Official

Secure Anchor patterns for robust Solana programs

Authorfaremeter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Core Anchor programming patterns for building secure Solana programs, including program structure, account types, constraints, space calculation, and error handling. It is designed to be loaded whenever you write or review Anchor code to ensure consistency and safety.

Core Features & Use Cases

  • Program structure and organization patterns for modular, readable Solana programs.
  • Common account types, constraints, and error-handling templates that reduce boilerplate.
  • Space calculation guidance with examples to prevent account overflows and ensure safe initialization.
  • Safety checks and best practices to prevent common security pitfalls in Anchor programs.

Quick Start

Load this skill when starting a new Anchor project to follow standard program structure, account types, and error handling patterns.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: anchor-core
Download link: https://github.com/faremeter/flex/archive/main.zip#anchor-core

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 471,000+ vetted skills library on demand.