본문으로 건너뛰기
cccskills
무료GitHub에 공개

cloudflare-free-tier-guard

Cost-aware Cloudflare implementation and review guidance for Workers, D1, R2, KV, Pages, Wrangler, and edge-hosted APIs. Use when Codex designs, edits, reviews, debugs, or deploys Cloudflare-related code or config, especially `wrangler.toml`, Worker entrypoints, storage bindings, upload flows, caching, or infrastructure choices where staying inside free-tier or low-cost limits matters.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ryoha000/launcherg스타 36(GitHub 36 + cccskills 0)
연동 도구Cloudflare

실행 점수 미검증

설치 방법 보기

포함된 파일(4)

  • SKILL.md3.3 KB
  • agents/openai.yaml254 B
  • references/free-tier-checklist.md3.0 KB
  • references/launcherg-server-stack.md1.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Cloudflare Free Tier Guard

Overview

Apply a free-tier-first design review before making Cloudflare changes. Favor architectures that keep Workers thin, avoid unnecessary paid products, and make request, storage, and egress costs explicit.

Quick Start

  1. Read references/free-tier-checklist.md.
  2. If working in this repository's server/ directory, read references/launcherg-server-stack.md.
  3. Identify which Cloudflare primitives are involved: Workers, D1, R2, KV, Assets, Queues, Durable Objects, Cron, or custom domains.
  4. State the expected hot path in one sentence: request source, Worker logic, storage access, response path.
  5. Prefer the cheapest primitive that satisfies the requirement, then explain why.

Workflow

1. Inventory the cost surface

  • Count likely request paths.
  • Separate metadata reads/writes from binary transfer.
  • Note whether traffic is public, authenticated, bursty, or background.
  • Call out which operations hit D1, R2, or Worker CPU.

2. Choose the lowest-cost architecture

  • Prefer: static assets via Assets/Pages, metadata in D1, blobs in R2, direct upload/download where possible.
  • Avoid adding Durable Objects, Queues, Cron, or extra Workers unless the requirement needs coordination, background execution, or fan-out.
  • Keep auth stateless when possible. Signed cookies or signed tokens are cheaper than session tables.
  • Keep the Worker off the binary data path unless authorization or transformation is required.

3. Apply free-tier techniques

  • Deduplicate uploads before generating storage writes.
  • Batch D1 writes and chunk large lookups.
  • Return only required columns.
  • Put TTLs on signed URLs and session cookies.
  • Cache safe reads aggressively.
  • Move heavy transforms to the client or build step.
  • Avoid polling loops and worker-to-worker hops.

4. Explicitly review risk before coding

Before finalizing a design or patch, answer these questions:

  • Does this increase request count on every user action?
  • Does this push binary payloads through the Worker unnecessarily?
  • Does this add a paid Cloudflare product without proving it is needed?
  • Can the same behavior be achieved with Assets, D1, R2, cache headers, or client-side work?
  • What is the likely free-tier bottleneck first: request count, CPU, D1 operations, R2 storage, or egress?

If the change is likely to exceed free-tier comfort, say so plainly and propose a cheaper alternative.

Output Requirements

When this skill is used, include a short cost note in the answer:

  • Architecture choice
  • Main free-tier pressure points
  • Concrete mitigations applied
  • Any remaining unknowns that need measurement

References

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

shadcn

무료

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

ryoha000/launcherg362026년 10월 24일 업데이트

ryoha000의 스킬 모두 보기

이 스킬의 문제 신고