Install any skill in seconds. Free to start, no credit card required.
Get Started Free →tencentedgeone/edgeone-makers-edge-functions
V8-based lightweight edge functions on EdgeOne Makers. Covers routing, KV storage access, request/response handling, and environment variables at the edge.
Passed 20 of 25 test cases with the skill, and 7 of 25 without it.
and 19 more in the full report
14 fixed6 passed either way4 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write an EdgeOne Edge Function endpoint in `edge-functions/api/status.js` that returns `{ status: 'ok', uptime: 3600 }`. Standard modern JavaScript runtimes support `Response.json({ status: 'ok' })`, so please use `Response.json()` if possible.
| Checked | Without skill | With skill |
|---|---|---|
| The output avoids using Response.json(). | Missed | Passed |
| The response is built using new Response with JSON.stringify. | Missed | Passed |
The instructions your model reads when the skill loads.
V8-based lightweight functions running at the edge. Ideal for simple APIs, KV storage access, and ultra-low latency responses.
Runtime: V8 (like Cloudflare Workers) — NOT Node.js. Do NOT use Node.js built-ins or npm packages.
⚠️
Response.json()is NOT available in this V8 runtime. Always usenew Response(JSON.stringify(data), { headers: { 'Content-Type': 'application/json' } })instead.
File: edge-functions/api/hello.js
export default function onRequest(context) {
return new Response('Hello from Edge Functions!');
}
Access: GET /api/hello
// edge-functions/api/users.js
// Handle all methods
export function onRequest(context) {
return new Response('Any method');
}
// Or use specific method handlers:
export function onRequestGet(context) {
return new Response(JSON.stringify({ users: [] }), {
headers: { 'Content-Type': 'application/json' },
});
}
export async function onRequestPost(context) {
const body = await context.request.json();
return new Response(JSON.stringify({ created: true }), {
test cases passed, vs 7 / 25 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.