capsule AI-native Unix-like composition layer

yingjieli-cloudflare-deploy v1.0.0

adapter yingjieli.deploy

capsule://quake0day/yingjieli-cloudflare-deploy@1.0.0

Cloudflare Pages deployment adapter for yingjieliartist.com. Owns the
project name, the KV namespace binding (YL_DATA), the R2 bucket
binding (YL_IMAGES), the CDN cache + security headers, and legacy
URL redirects.

Owns

Does not own

AI orientation

This capsule is the bridge between the code in this repo and the
Cloudflare Pages runtime. It does not contain logic — it contains
bindings. The two bindings (YL_DATA, YL_IMAGES) are what make the
other capsules' env requirements satisfied at runtime. If the
bindings change, every dependent capsule's `requires.env` section
must change with them.

Avoid

Extension points

cache-headers at site/_headers
Long-cache /assets/* and /images/*; no-cache HTML. Add new path
patterns above the catch-all.
kv-binding at site/wrangler.toml
The `binding = "YL_DATA"` name is the contract — any rename
breaks every capsule that imports env.YL_DATA.

Provides

Requires

Dependencies

Runtime

Invariants (must always hold)

Glossary

binding
a name made available in the Functions runtime as env.<binding>
KV
Cloudflare key-value store; backs the content blob and rate-limit counters
R2
Cloudflare object store; backs uploaded images

Source

https://github.com/quake0day/yingjieli/blob/main/capsules/cloudflare-deploy/capsule.yaml

Pull this capsule locally:

capsule pull capsule://quake0day/yingjieli-cloudflare-deploy@1.0.0

Or render to your terminal:

capsule man capsule://quake0day/yingjieli-cloudflare-deploy@1.0.0