·near-smart-contracts
!

near-smart-contracts

near/agent-skills

使用 Rust 开发 NEAR 协议智能合约。在编写、审查或部署 NEAR 智能合约时使用。涵盖合约结构、状态管理、跨合约调用、测试、安全和优化模式。

18安装·2热度·@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