EdgeOne Pages Development for Openclaw

A comprehensive development kit for building high-performance full-stack features including Edge Functions, Cloud Functions, and Middleware on the EdgeOne Pages platform.

edgeone-pages
v1.0.0
Apr 17, 2026
0
769
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install edgeone-pages-dev

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install edgeone-pages-dev using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is EdgeOne Pages Development?

The edgeone-pages-dev skill is a specialized toolkit designed for developers building modern, globally distributed applications. It provides the necessary logic and patterns to implement serverless architecture on EdgeOne Pages, supporting a diverse range of runtimes including V8-based Edge Functions and full-featured Cloud Functions in Node.js, Go, and Python. This Openclaw Skills asset ensures developers can seamlessly integrate backend logic, persistent KV storage, and request interception into their static sites.

By leveraging this skill, developers can move beyond simple static hosting to create complex, dynamic web applications. Whether you need ultra-low latency via edge computing or the robust ecosystem of npm, pip, or Go modules, this skill guides you through the correct architectural decisions and implementation patterns required for the EdgeOne ecosystem.

EdgeOne Pages Development Use Cases

  • Building lightweight, low-latency APIs using V8 Edge Functions.
  • Implementing global request interception, authentication guards, and A/B testing via Middleware.
  • Developing complex backends with database connectivity and npm/pip packages using Cloud Functions.
  • Creating real-time communication features with WebSocket support in Node.js.
  • Utilizing persistent edge-side data storage with integrated KV Storage.
  • Porting existing web frameworks like Express, FastAPI, or Gin to a serverless edge environment.

How EdgeOne Pages Development Works

  1. Runtime Selection: The skill analyzes the user requirement against a decision tree to choose between Edge Functions (latency-critical), Middleware (request-level), or Cloud Functions (resource-intensive).
  2. Environment Analysis: It identifies the target language (Node.js, Go, or Python) based on the project structure and intended functionality.
  3. Reference Loading: Based on the chosen path, the skill loads specific technical specifications for routing, handlers, and framework integrations.
  4. Implementation: It generates or modifies code following platform-specific rules, such as using Web Response objects or specific entry-point patterns for Python and Go.
  5. Local Validation: The skill guides the developer to use the edgeone pages dev CLI for integrated local testing of functions and static assets.

EdgeOne Pages Development Setup

To begin developing with this Openclaw Skills resource, initialize your project using the EdgeOne CLI:

# Initialize a new EdgeOne Pages project
edgeone pages init

# Link your local project to the EdgeOne console for KV and Env access
edgeone pages link

# Pull environment variables for local development
edgeone pages env pull

# Start the local development server (functions and static files)
edgeone pages dev

EdgeOne Pages Development Data Schema & Taxonomy

EdgeOne Pages organizes development assets based on functional roles and file extensions:

Component Directory / File Logic Type
Middleware /middleware.js V8 Edge Runtime (Interception)
Edge Functions /functions/**/*.js V8 Edge Runtime (API)
Cloud Functions /cloud-functions/ Node.js, Go, or Python
KV Storage Global context Key-Value Persistence
Static Assets Project Root / Configured Dist Frontend Files

Note: Cloud Functions are auto-detected by extension: .js/.ts for Node.js, .go for Go, and .py for Python.

EdgeOne Pages Development Advanced Features

  • Multi-Runtime Support: Seamlessly mix Node.js, Go, and Python functions within a single project.
  • Framework Mode: Support for running full frameworks like Express, Koa, Gin, and FastAPI using the [[default]] pattern.
  • WebSocket Integration: Native support for persistent connections within the Node.js Cloud Function runtime.
  • Global KV Storage: High-performance, edge-replicated data access directly within Edge Functions.
  • Unified Dev Workflow: Single CLI command to emulate the entire edge environment locally, including environment variable injection.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*