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

deploy

Cloudflare Pages and Workers deployment checklist for wrangler deploys, secret audits, D1 migrations, Worker-compatible SDK checks, and browser-auth verification. Use when shipping Cloudflare changes to production. NOT for general CI/CD architecture, non-Cloudflare deployments, or post-launch UX QA.

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

연동 도구StripeCloudflare
설치 방법 보기

포함된 파일(5)

  • SKILL.md4.6 KB
  • affordance-scorecard.json767 B
  • CHANGELOG.md929 B
  • diagrams/01_flowchart_decision-points.md603 B
  • diagrams/INDEX.md150 B

SKILL.md(원문)

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

Cloudflare Deploy Checklist

Run this checklist before every deployment. Each step catches a specific class of failure that has burned us before.

When to Use

  • Shipping a Cloudflare Pages or Workers change to a live environment
  • Verifying that secrets, D1 migrations, and Worker-compatible libraries are production-ready
  • Checking browser-authenticated flows that cannot be validated with raw HTTP alone
  • Doing a preflight review after infrastructure or environment-variable changes

NOT for

  • Designing a full CI/CD pipeline from scratch
  • Deploying to Vercel, AWS, Fly.io, or non-Cloudflare targets
  • Replacing browser-based QA for layout, copy, or interaction polish after release
  • Debugging unrelated runtime bugs that are not deployment-gating failures

The Checklist

  1. Type-check: npx tsc --noEmit — fix ALL type errors before proceeding
  2. Build locally: npm run build — confirm clean build with zero warnings
  3. Check env vars: Verify all required env vars/secrets are set in the Cloudflare dashboard (not just .env.local)
  4. D1 migrations: If using D1, run wrangler d1 migrations apply <DB> --remote — local-only migrations don't exist in production
  5. SDK check: If using Stripe, use raw fetch(), NOT the Stripe SDK (it hangs on Workers due to Node.js dependencies)
  6. Deploy: npx wrangler pages deploy or npm run pages:deploy
  7. Verify: Hit the live URL, confirm 200 response
  8. Auth test: Test authenticated flows in a browser, not curl — curl doesn't carry session cookies

Common Failures

FailureSymptomFix
Missing secretReferenceError: X is not defined in productionSet in Cloudflare dashboard > Settings > Variables
Local-only D1Queries fail with "table not found"wrangler d1 migrations apply DB --remote
Stripe SDK hangWorker times out on checkoutReplace new Stripe() with raw fetch('https://api.stripe.com/...')
Stale buildOld code deployedClear dist/ and rebuild: rm -rf dist && npm run build
CORS errorBrowser blocked by CORSCheck Access-Control-Allow-Origin header in Worker response

Decision Points

flowchart TD
  A[Incoming request for Cloudflare Deploy Checklist] --> B{Within this skill's scope?}
  B -->|No| C[Redirect using NOT-for boundaries]
  B -->|Yes| D[Assess inputs, constraints, and current state]
  D --> E{Which path fits best?}
  E -->|Plan or design| F[Choose the simplest viable pattern]
  E -->|Migration or change| G[Protect compatibility and rollout safety]
  E -->|Debug or evaluate| H[Localize the failing boundary first]
  F --> I[Apply the domain-specific guidance below]
  G --> I
  H --> I
  I --> J[Validate against the quality gates]

Use this as the first-pass routing model:

  • Confirm the request belongs in this skill before doing deeper work.
  • Separate planning, migration, and debugging paths before choosing a solution.
  • Prefer the simplest correct path that still survives the quality gates.

Failure Modes

  • Treating an out-of-scope request as if this skill owns it.
  • Choosing a pattern before checking the actual constraints and current state.
  • Returning an answer without validating it against the acceptance criteria for this skill.

Anti-Patterns

  • Assuming .env.local coverage means production secrets are configured in Cloudflare
  • Declaring a deploy safe without applying remote D1 migrations where relevant
  • Treating curl success as sufficient proof that browser-authenticated flows still work

Worked Examples

  • Minimal case: apply the simplest in-scope path to a small, low-risk request.
  • Migration case: preserve compatibility while changing one constraint at a time.
  • Failure-recovery case: show how to detect the wrong path and recover before final output.

Quality Gates

  • The recommendation stays inside the skill's stated boundaries.
  • The chosen path matches the user's actual constraints and current state.
  • The output is specific enough to act on, not just descriptive.
  • Any major trade-offs or failure conditions are called out explicitly.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

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

curiositech/windags-skills162026년 10월 19일 업데이트

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

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

curiositech/windags-skills162026년 10월 19일 업데이트

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

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

curiositech/windags-skills162026년 10월 19일 업데이트

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

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

curiositech/windags-skills162026년 10월 19일 업데이트

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

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

curiositech/windags-skills162026년 10월 19일 업데이트

Apply normative BDI reasoning to agents that must detect norms, choose which commitments to internalize, and resolve conflicts by comparing consequences. Use when obligations, prohibitions, or policies collide in autonomous systems. NOT for simple fixed-priority rules, pure constraint satisfaction, or domains where no real normative conflict exists.

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

curiositech/windags-skills162026년 10월 19일 업데이트

curiositech의 스킬 모두 보기

이 스킬의 문제 신고