← Back to list

cloudflare-worker-typegen
by ldsgroups225
⭐ 0🍴 0📅 Jan 24, 2026
SKILL.md
name: cloudflare-worker-typegen description: Use this when Cloudflare bindings/env vars change and worker type definitions need regeneration (cf-typegen / worker-configuration.d.ts).
Cloudflare Worker bindings + type generation
Use this skill when the user modifies wrangler.jsonc, adds/removes bindings, changes environment variables, or sees type errors related to worker bindings.
Binding access pattern
- Use
import { env } from "cloudflare:workers"to access bindings globally.
Generate worker types
- For the user application:
pnpm run --filter user-application cf-typegen
This updates worker-configuration.d.ts based on apps/user-application/wrangler.jsonc.
- For the data service:
pnpm run --filter data-service cf-typegen
This updates worker-configuration.d.ts based on apps/data-service/wrangler.jsonc.
Notes
- Local secrets belong in
apps/user-application/.dev.vars. - If bindings change in other workers (e.g.,
apps/data-service), ensure their corresponding typegen workflow is run (if configured) andworker-configuration.d.tsstays in sync.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon