·near-smart-contracts
!

near-smart-contracts

near/agent-skills

NEAR Protocol smart contract development in Rust. Use when writing, reviewing, or deploying NEAR smart contracts. Covers contract structure, state management, cross-contract calls, testing, security, and optimization patterns.

18Installs·1Trend·@near

Installation

$npx skills add https://github.com/near/agent-skills --skill near-smart-contracts

SKILL.md

Comprehensive guide for developing secure and efficient smart contracts on NEAR Protocol using Rust and the NEAR SDK.

| 1 | Security & Safety | CRITICAL | security- | | 2 | Contract Structure | HIGH | structure- | | 3 | State Management | HIGH | state- | | 4 | Cross-Contract Calls | MEDIUM-HIGH | xcc- | | 5 | Gas Optimization | MEDIUM | gas- | | 6 | Testing | MEDIUM | testing- | | 7 | Best Practices | MEDIUM | best- |

Read individual rule files for detailed explanations and code examples:

NEAR Protocol smart contract development in Rust. Use when writing, reviewing, or deploying NEAR smart contracts. Covers contract structure, state management, cross-contract calls, testing, security, and optimization patterns. Source: near/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/near/agent-skills --skill near-smart-contracts
Category
!Security
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is near-smart-contracts?

NEAR Protocol smart contract development in Rust. Use when writing, reviewing, or deploying NEAR smart contracts. Covers contract structure, state management, cross-contract calls, testing, security, and optimization patterns. Source: near/agent-skills.

How do I install near-smart-contracts?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/near/agent-skills --skill near-smart-contracts Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/near/agent-skills