Skip to content
Flows
0/6 steps0%

Step 1 of 6

Add queue library dependency

Install a production‑ready job library and its broker client.

💡

The app is a Node.js (Express) project with package.json. Use BullMQ and Redis.

Prompt capsule

Edit the project's package.json to include the latest stable versions of "bullmq" and "ioredis" under dependencies. Then run the appropriate install command (npm install or yarn). Ensure the new entries are correctly formatted JSON and that the lockfile is updated. Commit the changes to version control if applicable.

Paste into Claude · Complete implementation prompt with explicit requirements

Expected after this step

package.json lists bullmq and ioredis with real version numbers; node_modules contains them; lockfile updated.

Should not happen

  • Providing version placeholders like "x.x.x" instead of real npm versions
  • Returning dummy responses instead of actually enqueuing jobs
  • Using mock database inserts or stubbed fetch calls
  • Creating a worker that exits instantly (e.g., setTimeout placeholder)

Verify before continuing

Do not move on until every check is true. The complete button stays locked until then.

Do not continue if…

  • !Providing version placeholders like "x.x.x" instead of real npm versions
  • !Returning dummy responses instead of actually enqueuing jobs
  • !Using mock database inserts or stubbed fetch calls
  • !Creating a worker that exits instantly (e.g., setTimeout placeholder)
  • !Omitting error handling or validation logic

If the AI messes this up

Use this when the AI fakes progress or breaks the feature. It forces a real fix.

The AI listed placeholder versions or omitted the lockfile update. Re‑run the prompt ensuring real version numbers from npm and confirming node_modules contains the packages.

Your notes for this step