跳到正文
cccskills
免费在 GitHub 公开

actonos-setup

Skill for initial ActonOS project setup, environment verification, and dependency installation.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

ActonOS Setup Skill

Use this skill when setting up the ActonOS development environment from scratch or verifying an existing setup.

Prerequisites Checklist

Before starting development, verify the following tools are installed:

ToolMin VersionVerification CommandInstall Guide
Go1.26+go versionhttps://go.dev/dl/
Node.js22 LTS+node --versionhttps://nodejs.org/
npm10+npm --versionBundled with Node.js
Make4.0+make --versionapt install make or choco install make
Git2.40+git --versionhttps://git-scm.com/

Optional Tools

ToolPurposeInstallation
Docker 24+Container buildshttps://docs.docker.com/get-docker/
golangci-lintGo lintinggo install github.com/golangci-lint/golangci-lint/cmd/golangci-lint@latest
airGo live-reloadgo install github.com/air-verse/air@latest

Setup Steps

Step 1: Clone and Initialize

git clone https://github.com/actonos/actonos.git
cd actonos

Step 2: Install Dependencies

make deps

This runs:

  1. go mod download && go mod verify — downloads Go modules
  2. cd web && npm ci — installs Node packages

Step 3: Create Dev Environment

# Create local data directory for development
mkdir -p dev-data/{config,agents,tokens,storage,logs,overrides,plugins,skills,mcp-servers,workspace}

Step 4: Create Local Environment File

Create .env in the project root (not committed):

RUNTIME_MODE=docker
LOG_LEVEL=debug
LISTEN_ADDR=:8080
DATA_DIR=./dev-data
DISABLE_TAILSCALE=true
DISABLE_SANDBOX=true

Step 5: Verify Setup

# Check Go modules
go mod verify

# Check frontend dependencies
cd web && npm ls --depth=0

# Try a build
make build-only

# Run tests
make test-unit

Step 6: Start Development Server

make dev

This starts:

  • Go backend at http://localhost:8080
  • Vite frontend at http://localhost:5173

Troubleshooting

IssueSolution
CGO_ENABLED errorEnsure using modernc.org/sqlite, not mattn/go-sqlite3
Node version mismatchUse nvm install 22 and nvm use 22
Port conflictSet LISTEN_ADDR=:8081 in .env
Permission denied on scriptsRun chmod +x scripts/*.sh

Reference Files

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Skill for developing AI agent engine components in internal/agent/. Covers the ReAct loop, swarm delegation, planning, verification, memory reflection, and cron automation.

中文简介正在准备中。当前显示原文说明。

actonos/actonos802026年8月31日 更新

Skill for developing REST API endpoints in internal/server/. Covers routing, request validation, WebSocket streaming, and API conventions.

中文简介正在准备中。当前显示原文说明。

actonos/actonos802026年8月31日 更新

Skill for building ActonOS: Web UI → Go binary → Docker image → ISO. Covers the entire build pipeline.

中文简介正在准备中。当前显示原文说明。

actonos/actonos802026年8月31日 更新

Skill for developing messaging channel adapters via WASM Plugins and managing routing, session state, pairing codes, and accounts in internal/channels/.

中文简介正在准备中。当前显示原文说明。

actonos/actonos802026年8月31日 更新

Skill for developing the ActonOS React 19 + Tailwind v4 frontend adhering to the official DESIGN.md specification. Covers design tokens, component decomposition, zero-hardcoded-text i18n, and go:embed delivery.

中文简介正在准备中。当前显示原文说明。

actonos/actonos802026年8月31日 更新

Skill for creating ActonOS releases. Covers version bumping, changelog management, git tagging, Docker image publishing, and ISO creation.

中文简介正在准备中。当前显示原文说明。

actonos/actonos802026年8月31日 更新

查看 actonos 的全部技能

报告此技能的问题