·near-smart-contracts
!

near-smart-contracts

near/agent-skills

使用 Rust 開發 NEAR 協議智能合約。在編寫、審查或部署 NEAR 智能合約時使用。涵蓋合約結構、狀態管理、跨合約調用、測試、安全和優化模式。

18安裝·1熱度·@near

安裝

$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:

使用 Rust 開發 NEAR 協議智能合約。在編寫、審查或部署 NEAR 智能合約時使用。涵蓋合約結構、狀態管理、跨合約調用、測試、安全和優化模式。 來源:near/agent-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/near/agent-skills --skill near-smart-contracts
分類
!安全工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 near-smart-contracts?

使用 Rust 開發 NEAR 協議智能合約。在編寫、審查或部署 NEAR 智能合約時使用。涵蓋合約結構、狀態管理、跨合約調用、測試、安全和優化模式。 來源:near/agent-skills。

如何安裝 near-smart-contracts?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/near/agent-skills --skill near-smart-contracts 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

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

詳情

分類
!安全工具
來源
skills.sh
收錄時間
2026-02-01