api-create-worker
Create a new background worker in daily-api with full type safety, infrastructure config, and tests
npx skills add majiayu000/claude-skill-registry --skill api-create-worker --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Create a New daily-api Worker You are creating a new background worker for daily-api. Follow this skill step by step. ## Context Loading Before writing any code, read these files for code style rules and worker conventions: 1. `AGENTS.md` (project root) — code style, architecture, best practices 2. `src/workers/AGENTS.md` — worker-specific patterns, types, and conventions These are the source of truth for all code style decisions. Do not deviate from them. ## Step 0 — Gather Requirements Before writing any code, ask the user the following questions **in this order**: ### 1. Worker type > **TypedWorker** (standard) or **TypedNotificationWorker**? - `TypedWorker` — standard worker with `handler(message, con, logger)` returning `Promise<void>` - `TypedNotificationWorker` — notification worker with `handler(data, con, logger)` returning `NotificationHandlerReturn` This determines the handler signature, return type, registration target, and file template. ### 2. PubSub topic name > **What topic does this worker subscribe to?** This determines the subscription config and schema lookup. ### 3. Message type > **What is the message type?** One of: > > - **(a)** Existing Protobuf type from
- Context Loading
- Step 0 — Gather Requirements
- 1. Worker type
- 2. PubSub topic name
- 3. Message type
- 4. Business logic
- Step 1 — Define/Confirm Message Schema
- (a) Protobuf from @dailydotdev/schema
- (b) Already in PubSubSchema
- (c) New type
- Step 2 — Create the Worker File
- TypedWorker template
- TypedNotificationWorker template
- Step 3 — Register the Worker
What does the api-create-worker skill do?
Create a new background worker in daily-api with full type safety, infrastructure config, and tests
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill api-create-worker --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
