DataQueueDataQueue

install-rules

Install DataQueue agent rules for AI coding clients.

Installs comprehensive DataQueue rule sets into your AI client's configuration. Rules give AI assistants detailed guidance for generating correct DataQueue code.

npx dataqueue-cli install-rules

Interactive Prompt

The command prompts you to select your AI client:

DataQueue Agent Rules Installer

Select your AI client:

  1) Cursor
  2) Claude Code
  3) AGENTS.md (Codex, Jules, OpenCode)
  4) GitHub Copilot
  5) Windsurf

Enter choice (1-5):

Rules Installed

Three rule files are installed, covering the full surface area of DataQueue:

Rule FileWhat It Covers
basic.mdCore API — initialization, adding jobs, processing, handlers
advanced.mdAdvanced features — waits, cron, tokens, cancellation, events
react-dashboard.mdReact SDK and Dashboard components

Install Locations

ClientInstalls To
Cursor.cursor/rules/dataqueue-basic.mdc, .cursor/rules/dataqueue-advanced.mdc, .cursor/rules/dataqueue-react-dashboard.mdc
Claude CodeCLAUDE.md (appended between markers)
AGENTS.mdAGENTS.md (appended between markers)
GitHub Copilot.github/copilot-instructions.md (appended between markers)
WindsurfCONVENTIONS.md (appended between markers)

For Cursor, each rule file is written separately. For all other clients, the rules are combined and appended to a single file between <!-- DATAQUEUE RULES START --> and <!-- DATAQUEUE RULES END --> markers. Re-running the command updates the content between the markers without duplicating it.