Files
sdlc-orchestrator/coder
Daniel SamsonandClaude Opus 4.6 520fc8f81e
Publish Workspace Image / publish (push) Successful in 3m51s
Custom workspace image + fix slash command invocation
- Add coder/workspace.Dockerfile with Node.js 22, wrangler, claude-code,
  and Playwright deps pre-installed. Eliminates ~3 min of installs on
  every workspace startup.
- Add CI workflow to build and push to registry.samson.media/coder-workspace
- Fix slash command: -p mode doesn't support /commands, so read the .md
  file directly, strip frontmatter, substitute $ARGUMENTS, pass as prompt
- Switch workspace image from codercom/enterprise-base to custom image

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 14:15:17 +01:00
..

Coder Template: Cloudflare Worker

A lightweight Coder workspace template for Cloudflare Workers development with Claude Code automation.

Prerequisites

  • Coder running at coder.samson.media
  • coder CLI installed and authenticated

Push Template to Coder

cd coder/cloudflare-worker
coder templates push cloudflare-worker

Parameters

Parameter Description Default
cpu CPU cores 2
memory Memory (MB) 4096
disk_size Home directory size (GB) 10
issue_number Gitea issue number (for automation) empty
task_type Claude Code command to run (for automation) empty
repo_clone_url Git repo to clone empty
deploy_env Deploy environment (staging/production) empty

Automated Usage (via n8n)

When task_type is set, the workspace startup script will:

  1. Clone the repository from repo_clone_url
  2. Install dependencies
  3. Run Claude Code with the specified command
  4. The workspace can be destroyed after completion

Manual Usage

Create a workspace without task_type for interactive development:

coder create my-workspace --template cloudflare-worker