|
Publish Image / publish (push) Successful in 23s
Details
When a review requests changes on a docs/ branch (architect PR), trigger the rework-spec task type instead of rework-pr. This re-runs the architect persona to fix the design docs based on review feedback. - Add rework-spec to Coder template task_type options and lightweight stages - Detect architect PRs via docs/ branch prefix in pr-rework handler Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cloudflare-worker | ||
| README.md | ||
| workspace.Dockerfile | ||
README.md
Coder Template: Cloudflare Worker
A lightweight Coder workspace template for Cloudflare Workers development with Claude Code automation.
Prerequisites
- Coder running at
coder.samson.media coderCLI 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:
- Clone the repository from
repo_clone_url - Install dependencies
- Run Claude Code with the specified command
- 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