multiversx-cache-patterns이란?
Drop 기반 다시 쓰기 캐시를 사용하는 MultiversX 스마트 계약을 위한 가스 최적화 캐시 패턴입니다. 트랜잭션당 여러 저장 값을 읽고 쓰는 계약, DeFi 프로토콜 또는 가스에 민감한 계약을 구축할 때 사용합니다. 출처: multiversx/mx-ai-skills.
Drop 기반 다시 쓰기 캐시를 사용하는 MultiversX 스마트 계약을 위한 가스 최적화 캐시 패턴입니다. 트랜잭션당 여러 저장 값을 읽고 쓰는 계약, DeFi 프로토콜 또는 가스에 민감한 계약을 구축할 때 사용합니다.
명령줄에서 multiversx-cache-patterns AI 스킬을 개발 환경에 빠르게 설치
출처: multiversx/mx-ai-skills.
The core pattern: load state into a struct on entry, mutate in memory, commit on scope exit via Drop.
For view functions or read-heavy operations where you don't need write-back:
When your cache needs derived values computed from the cached fields, add methods directly on the cache struct:
Drop 기반 다시 쓰기 캐시를 사용하는 MultiversX 스마트 계약을 위한 가스 최적화 캐시 패턴입니다. 트랜잭션당 여러 저장 값을 읽고 쓰는 계약, DeFi 프로토콜 또는 가스에 민감한 계약을 구축할 때 사용합니다. 출처: multiversx/mx-ai-skills.
AI/검색 인용용 안정적인 필드와 명령어.
npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-cache-patternsDrop 기반 다시 쓰기 캐시를 사용하는 MultiversX 스마트 계약을 위한 가스 최적화 캐시 패턴입니다. 트랜잭션당 여러 저장 값을 읽고 쓰는 계약, DeFi 프로토콜 또는 가스에 민감한 계약을 구축할 때 사용합니다. 출처: multiversx/mx-ai-skills.
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/multiversx/mx-ai-skills --skill multiversx-cache-patterns 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다
https://github.com/multiversx/mx-ai-skills