edgeone-makers-middleware SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

edgeone-makers-middleware from tencentedgeone/edgeone-makers-tools is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tencentedgeone/edgeone-makers-tools/edgeone-makers-middleware@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tencentedgeone/edgeone-makers-tools
Path
skills/edgeone-makers-tools/references/makers-middleware/SKILL.md
Versions recorded
2
Latest version
v1.0.0, committed Aug 13, 2026
First version recorded
Aug 11, 2026
Size
4,918 bytes
Repository stars
1,844
License
MIT

Edge middleware for EdgeOne Makers — request interception, redirects, rewrites, auth guards, A/B testing, and header injection at the edge (V8 runtime).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Middleware

Lightweight request interception running at the edge (V8 runtime). Use for redirects, rewrites, auth guards, A/B testing, and header injection.

> ⚠️ **Framework projects (Next.js, Nuxt, etc.)**: Do NOT use this platform middleware format. Use the framework's built-in middleware instead (e.g. Next.js `middleware.ts` with `NextRequest`/`NextResponse`). The patterns below are for non-framework or pure static projects only.

## Basic middleware

File: `middleware.js` (project root)

```javascript
export function middleware(context) {
  const { request, next, redirect, rewrite } = context;

  // Pass through — no modification
  return next();
}
```

## Context API

| Property | Type | Description |
|----------|------|-------------|
| `request` | `Request` | Current request object |
| `next(options?)` | `Function` | Continue to origin; optionally modify headers |
| `redirect(url, status?)` | `Function` | Redirect (default 307) |
| `rewrite(url)` | `Function` | Rewrite request path (transparent to client) |
| `geo` | `GeoProperties` | Client geolocation |
| `clientIp` | `string` | Client IP address |

## Route matching
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tencentedgeone/edgeone-makers-tools/edgeone-makers-middleware@sha256:983b61864d945da6

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4i6svkqyhd4wjpdk.svg)](https://markdownregistry.com/a/art_4i6svkqyhd4wjpdk)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Aug 11, 2026 and Aug 13, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-08-13 f7053d9 4,918 BA view · diff
v1.0.02026-08-11 9573765 4,626 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4918 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tencentedgeone/edgeone-makers-tools · 1,844 stars · license MIT · pushed 2026-10-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4i6svkqyhd4wjpdk
GET https://markdownregistry.com/api/v1/resolve?ref=tencentedgeone/edgeone-makers-tools/edgeone-makers-middleware
GET https://markdownregistry.com/api/v1/blob/983b61864d945da608a9041511d95e633d7c750a9268fe8a959b85b38f930ccd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tencentedgeone/edgeone-makers-tools

AGENTS.md AGENTS.md file
tencentedgeone/edgeone-makers-tools · AGENTS.md
git:20260904.2bcac62 · audit A · 1,844 stars
CLAUDE.md CLAUDE.md file
tencentedgeone/edgeone-makers-tools · CLAUDE.md
git:20260904.2bcac62 · audit A · 1,844 stars
edgeone-makers-tools SKILL.md skill
tencentedgeone/edgeone-makers-tools · SKILL.md · EdgeOne Makers 全栈开发技能包 —— 涵盖 AI Agent 开发(DeepAgents、LangGraph、 Claude SDK、OpenAI…
v1.0.0 · audit A · 1,844 stars
edgeone-makers-tools SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/SKILL.md · EdgeOne Makers platform development router — the single entry point for building, storing data, and deploying on…
v2.0.1 · audit A · 1,844 stars
edgeone-makers-agents SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-agents/SKILL.md · This skill guides building AI agent endpoints on EdgeOne Makers — five framework routes (DeepAgents, LangGraph, CrewAI…
v1.1.1 · audit C · 1,844 stars
edgeone-makers-cli SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-cli/SKILL.md · EdgeOne Makers CLI command reference. Use when running edgeone CLI commands for dev, build, deploy, env management.
v1.2.1 · audit A · 1,844 stars
edgeone-makers-cloud-functions SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-cloud-functions/SKILL.md · EdgeOne Makers Cloud Functions — Node.js, Go, and Python runtimes. Use when building server-side APIs, Express/Koa…
v1.0.0 · audit B · 1,844 stars
edgeone-makers-deploy SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-deploy/SKILL.md · This skill deploys frontend and full-stack projects to EdgeOne Makers (Tencent EdgeOne). Trigger this skill whenever…
v2.12.4 · audit B · 1,844 stars
edgeone-makers-edge-functions SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-edge-functions/SKILL.md · V8-based lightweight edge functions on EdgeOne Makers. Covers routing, KV storage access, request/response handling…
v1.0.0 · audit A · 1,844 stars
edgeone-makers-env-adaption SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-env-adaption/SKILL.md · Environment-specific adaptation rules for EdgeOne Makers Skills running in sandboxed or restricted AI coding…
v1.4.2 · audit B · 1,844 stars
edgeone-makers-frameworks SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-frameworks/SKILL.md · Web framework support matrix for EdgeOne Makers — which platform adapter each full-stack framework needs, where it…
v1.0.0 · audit A · 1,844 stars
edgeone-makers-migration SKILL.md skill
tencentedgeone/edgeone-makers-tools · skills/edgeone-makers-tools/references/makers-migration/SKILL.md · Migrate existing AI agent projects (LangChain, LangGraph, OpenAI Agents SDK, Claude Agent SDK, CrewAI) to EdgeOne…
v1.0.0 · audit B · 1,844 stars

Every file in tencentedgeone/edgeone-makers-tools

Other files named edgeone-makers-middleware

edgeone-makers-middleware SKILL.md skill
infometa/workbuddyskills · connectors/edgeone-pages/skills/references/makers-middleware/SKILL.md · Edge middleware for EdgeOne Makers — request interception, redirects, rewrites, auth guards, A/B testing, and header…
v1.0.0 · audit A · 368 stars

Browse by kind, by grade A, or by owner.