·icp-cli
</>

icp-cli

指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。

16安装·5热度·@dfinity

安装

$npx skills add https://github.com/dfinity/icskills --skill icp-cli

如何安装 icp-cli

通过命令行快速安装 icp-cli AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dfinity/icskills --skill icp-cli
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dfinity/icskills。

SKILL.md

查看原文

The icp command-line tool builds and deploys applications on the Internet Computer. It replaces the legacy dfx tool with YAML configuration, a recipe system for reusable build templates, and an environment model that separates deployment targets from network connections. Never use dfx — always use icp.

Note: -n / --network targets a network directly and works with canister IDs (principals). Use -e / --environment when referencing canisters by name. For token and cycles operations, use -n since they don't reference project canisters.

For projects that need a .did file on disk (e.g., for @icp-sdk/bindgen), the recommended pattern is: generate the .did file once, commit it, and specify candid in the recipe config. To generate it manually:

指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。 来源:dfinity/icskills。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dfinity/icskills --skill icp-cli
分类
</>开发工具
认证
收录时间
2026-03-10
更新时间
2026-03-11

Browse more skills from dfinity/icskills

快速解答

什么是 icp-cli?

指导使用 icp 命令行工具构建和部署 Internet 计算机应用程序。涵盖项目配置 (icp.yaml)、配方、环境、容器生命周期和身份管理。在构建、部署或管理任何 IC 项目时使用。当用户提到 icp、dfx、容器部署、本地网络或项目设置时使用。请勿用于容器级编程模式,例如访问控制、容器间调用或稳定内存 - 而是使用特定于领域的技能。 来源:dfinity/icskills。

如何安装 icp-cli?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dfinity/icskills --skill icp-cli 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dfinity/icskills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-03-10