원클릭으로
worker-fullstack
Implements changes spanning both repos (widget, CI/CD, documentation, dependency cleanup)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Implements changes spanning both repos (widget, CI/CD, documentation, dependency cleanup)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Implements Rust CLI changes (MCP tools, transports, auth commands, tests)
Implements widget behavior changes (config, error handling, visual indicators) and syncs all widget copies
Implements Cloudflare Worker backend changes (security, validation, auth, Stripe, rate limiting, API keys, metered billing)
| name | worker-fullstack |
| description | Implements changes spanning both repos (widget, CI/CD, documentation, dependency cleanup) |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
Features that touch documentation, site content, npm packages, or span both repos. This includes:
Read the feature description thoroughly. Understand what's being changed and in which repo(s).
For widget changes:
./widget/spikes.js (the source of truth)widget/spikes.jssite/spikes.js (CDN copy) if it existsgzip -c widget/spikes.js | wc -c — must stay under 15KBcd cli && cargo run -- serve --port 3847, open browser, verify behaviorFor CI/CD changes:
.github/workflows/ (both repos)For documentation:
./docs/spikes <cmd> --helpwidget/spikes.jsFor dependency cleanup:
cli/Cargo.toml to remove cratesmod.rs and main.rscd cli && cargo build — must succeed with no errors or warningscd cli && cargo test — all existing tests must still passFor test infrastructure:
vitest.config.ts in ../spikes-hosted/worker/tsconfig.json in ../spikes-hosted/worker/../spikes-hosted/worker/test/package.jsoncd ../spikes-hosted/worker && npx vitest run passesCommit changes in appropriate repo(s).
{
"salientSummary": "Set up Vitest + Miniflare test infrastructure for spikes-hosted worker. Created vitest.config.ts, tsconfig.json, test helpers for D1 migration and R2 seeding. Added 3 smoke tests (health endpoint, spike creation, share creation) that pass. Installed vitest ~3.2.0, @cloudflare/vitest-pool-workers, typescript, and wrangler as dev dependencies.",
"whatWasImplemented": "Test infrastructure in ../spikes-hosted/worker/: vitest.config.ts with defineWorkersConfig, tsconfig.json with strict mode and workers types, test/setup.ts for D1 migrations, test/helpers.ts for common test utilities. Three smoke tests demonstrating the pattern. package.json updated with test script and dev dependencies.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{ "command": "cd ../spikes-hosted/worker && npx vitest run", "exitCode": 0, "observation": "3 tests pass: GET /health returns 200, POST /spikes creates spike, POST /shares creates share" },
{ "command": "cd ../spikes-hosted/worker && npx tsc --noEmit", "exitCode": 0, "observation": "No type errors" },
{ "command": "gzip -c widget/spikes.js | wc -c", "exitCode": 0, "observation": "5832 bytes (under 15KB limit)" }
],
"interactiveChecks": [
{ "action": "Opened http://localhost:3847/ in agent-browser, clicked widget button", "observed": "Widget opens spike mode, crosshair cursor appears, elements highlight on hover" }
]
},
"tests": {
"added": [
{
"file": "../spikes-hosted/worker/test/smoke.test.ts",
"cases": [
{ "name": "GET /health returns 200", "verifies": "basic worker functionality" },
{ "name": "POST /spikes creates spike", "verifies": "spike creation with D1" },
{ "name": "POST /shares creates share", "verifies": "share creation with R2" }
]
}
]
},
"discoveredIssues": []
}